Hi, You do need to create a client to invoke on the CXF endpoint and send a SOAP payload that can be used to call your method described in WSDL.
If you do not want to write a client you could use a tool like SoapUI to do this for you (since you already have the WSDL). Cheers, Ashwin... usha K. wrote: > > 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)? > ----- --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/ -- View this message in context: http://old.nabble.com/How-to-invoke-specific-operation-with-params-for-cxf-webservice-endpoint-through-configuration-tp28023138p28023141.html Sent from the Camel - Users mailing list archive at Nabble.com.
