samedi 4 avril 2015

Apache Camel WebService consumer

I have created a route



cxf:cxfEndpoint id="testEndpoint" address="http://localhost:9003/ws"
serviceClass="pl.test.ws.testImpl"
wsdlURL="/META-INF/wsdl/test.wsdl"
endpointName="s:testSoap"
serviceName="s:testService"
xmlns:s = "https://test.pl/wsdl"/>
<camelContext id="camel" xmlns="http://ift.tt/TZ5qsO">
<route>
<from uri="direct:sendToTest" />
<to uri="cxf:bean:testEndpoint" />
</route>
</camelContext>


How can i call this webservice by putting object in the direct:sendToTest route?


I would like to be able to make a soap request some criteria will be met however I do not knew how can I put from java class message on the route.


can anyone give me a hint?


Aucun commentaire:

Enregistrer un commentaire