camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tatar <martatarc...@gmail.com>
Subject The problem with the client to an external WebService CXF
Date Wed, 10 Oct 2012 14:07:30 GMT
Hello
I use Apache Camel and CXF 2.6.2 2.10.0
Sharing their services with Camel CXF works excellent, but ...
I think that CXF component can be used both to make your own WebService and
to connect to the existing WS.
I need to connect to an existing external service. Communication using POJO.

Providing service, you can do something like this - and how to make the
client to the WS??
<CXF: cxfEndpoint id = "serviceExternalEndpoint"
address = "http://localhost:7001/integration/ExternalService"
serviceClass = "com.integration.external.ws.Person">
<cxf:outInterceptors>
<ref bean="loggingOutInterceptor"/>
</ CXF: outInterceptors>
<cxf:properties>
<entry key="dataFormat" value="POJO"/>
</ CXF: properties>
</ CXF: cxfEndpoint>

I ask for suggestions



--
View this message in context: http://camel.465427.n5.nabble.com/The-problem-with-the-client-to-an-external-WebService-CXF-tp5720848.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message