camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhushand <bhushan_bde...@yahoo.co.in>
Subject Re: getting error while calling external web service from camel route
Date Mon, 14 May 2012 13:33:59 GMT
I am finally able to do it with below configuration

<cxf:cxfEndpoint id="printPersonNameServiceEndpoint"
address="http://localhost:9080/SampleWebService/PrintPersonNameService"
     		wsdlURL="com/test/service/echo/PrintPersonNameService.wsdl"
     		endpointName="s:PrintPersonNamePort"
     		serviceName="s:PrintPersonNameService"
     	xmlns:s="http://echo.service.test.com/">

     		    <cxf:properties>
			<entry key="dataFormat" value="PAYLOAD"/>
			<entry key="setDefaultBus" value="true"/>
		</cxf:properties>
</cxf:cxfEndpoint>

where .. xmlns:cxf="http://camel.apache.org/schema/cxf"

And then creating routes as below

<camel:route>
       <camel:from uri="direct:startPrintPerson"></camel:from>
       <to uri="cxf:bean:printPersonNameServiceEndpoint" />
</camel:route>

Thanks for the help

--
View this message in context: http://camel.465427.n5.nabble.com/getting-error-while-calling-external-web-service-from-camel-route-tp5603573p5709023.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message