This content has been marked as final.
Show 2 replies
-
1. Re: Send SOAP Payload To Web Service In camel-context.xml Without Java
njiang Mar 11, 2011 8:04 AM (in response to chris@moodyworks.com)If you already has the soap body, the easiest way is to use xslt[1] to wrap a right soap envelop for your message body.
http://camel.apache.org/xslt.html
Willem
-
2. Re: Send SOAP Payload To Web Service In camel-context.xml Without Java
mlabrot Mar 11, 2011 11:16 AM (in response to chris@moodyworks.com)Chris,
Here is example XML that will use the camel-cxf component to call an external web service without coding any Java.
<camel:to uri="cxf://http://your.remote.host.here:8080/HelloWorld?portName=HelloWorldImplPort&serviceName=HelloWorldImplService&wsdlURL=file:examples/cxf-ws-rm/src/main/resources/HelloWorld.wsdl&dataFormat=PAYLOAD&loggingFeatureEnabled=true" />
</camel:route>
</camel:camelContext>
</beans>
Cheers,
Michael