I have the following cxfEndpoint configuration in the camel-context.xml
which is a webservice end point, pointing to a 3rd party web service.

 I am wondering how I can specify (in this configuration) an operation with
parameters to be passed to the webservice? As an example, I need to invoke
the operation sayHello() in that webservice, passing two parameters
(firstName, lastName).

 Can I do that in the cxfEndPoint itself? If so, how? Also, how can I pass
the values itself?

<cxf:cxfEndpoint id="myEndpoint" 
address="http://localhost:8080/someService/";
wsdlURL="../sr-binding/src/main/resources/META-INF/wsdl/someservice.wsdl" 
endpointName="s:myEndpointName"
serviceName="s:myService"
xmlns:s="urn:some:company:some:service:wsdl" >
<cxfroperties>
<entry key="dataFormat" value="MESSAGE"/>
</cxfroperties>
</cxf:cxfEndpoint>

OR do I have to write a client code on my side (where this end point points
to)?
-- 
View this message in context: 
http://old.nabble.com/How-to-invoke-specific-operation-with-params-for-cxf-webservice-endpoint-through-configuration-tp28023138p28023138.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to