내 낙타 경로 나는 같은 것을 할 싶습니다 : I는 무엇 <jaxws:client
>에 <jaxws:endpoint
>에서 낙타 경로를 구성하는 방법을 이해하지잭스 - WS 및 ServiceMix에
<jaxws:endpoint id="AbcEsbHTTPEndpoint"
implementor="com.abc.esb.ABCWSServiceImpl"
address="/ABCWSServiceService"
wsdlLocation="wsdl/ABCWSService.wsdl"
endpointName="e:ABCWSService"
serviceName="s:ABCWSServiceService"
xmlns:e="http://com.abc.esb/abcesb/services/ABCWSService"
xmlns:s="http://com.abc.esb/abcesb/services/ABCWSService">
</jaxws:endpoint>
<camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="cxf:bean://ABCWSServiceService"/>
<to uri="cxf:bean:decodeClient"/>
</route>
</camelContext>
<jaxws:client id="decodeClient"
address="http://ESB-DEV1:9081/abcesb/services/Decoder"
wsdlLocation="http://ESB-DEV1:9081/abcesb/services/Decoder?wsdl"
serviceClass="com.abc.esb.ABCServiceInterface"
abstract="true" >
</jaxws:client>
사용할 구문? <cxf:cxfEndpoint
>을 사용할 수 있지만 사용하지 않으려는 경우 사용하고 싶지 않습니다.
나는 이것을 JBI와 함께 수행하는 방법을 알고 있지만 JBI가 아닌 OSGI 번들을 사용하여 이것을 servicemix에 배포하려고합니다.
응답 해 주셔서 감사합니다. 그래, 나는 그걸 꽤 많이 봤어. 나는 예제 (camel-example-cxf-proxy)가 정확한 사용 사례라고 생각한다. 이 예제를 바탕으로 "cxf : cxfEndpoint"구성된 종점에서 낙타 경로를 사용할 수 있습니다. "jaxws : endpoint"종점에서 낙타 경로를 사용할 수 있는지 궁금했습니다. jaxws : endpoint를 참조하는 낙타 경로의 구문을 알지 못했습니다. 도움 주셔서 감사합니다. – guido
Guido, 나는 camel-example-cxf-proxy를 serviceMix 4.3.0에 설치하려고합니다. 설치가 잘되었습니다 (install -s wrap : file :/c :/... jar). 그러나 예제가 작동하지 않는 것처럼 보입니다. SOAPUI를 사용하여 테스트 할 때 WSDL에 액세스 할 수 없습니다. ServiceMix에서 작동하게하는 방법을 알려주십시오. – David
Claus ... 당신이 낙타를 발명했기 때문에 당신이 훌륭하다는 것을 압니다. 그러나 실제 코드를 볼 수 있습니까? jax-ws 끝점에서 /로 라우팅하는 실제 예제를 찾고 있었지만 찾지 못했습니다. 당신은 낙타의 일류 창조주가되는데 가장 좋은 사람이 될 것입니다 (또는 심지어 링크, 뭔가?). 당신이 예제를 게시하면이 대답의 내 downvote를 제거합니다. 건배. – Jack