camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiangqiuzhao <xiangqiuz...@gmail.com>
Subject Re: i use wsdl file and payload dataFormat, but IllegalArgumentException
Date Wed, 24 Aug 2011 02:11:22 GMT
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.

Mime
View raw message