Does you service is provided from CXF ?
There are some unit test in the camel-cxf module that you can take a look.

On 8/24/11 10:11 AM, xiangqiuzhao wrote:
I set the keys at runtime, but can't find the service in the server.

Exchange exchange = endpoint.createExchange();
exchange.getIn().setHeader("operationName", "helloService");
exchange.getIn().setHeader("operationNamespace",
"http://www.wstest.sunyard.com/IWSTestService/";);
exchange.getIn().setBody(in);
producer.process(exchange);

the CxfPayLoad body is the helloServiceRequest Element, content like:

<helloServiceRequest>
     <name>fldsjaflkjdsa</name>
</helloServiceRequest>

but service server exception with org.apache.cxf.binding.soap.SoapFault:
Parameter helloServiceRequest does not exist!

i want to send message like this. but what i need to do set others info
about the service request?


--
View this message in context: 
http://camel.465427.n5.nabble.com/i-use-wsdl-file-and-payload-dataFormat-but-IllegalArgumentException-tp4719896p4728933.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Reply via email to