I think you are using Camel 1.3 and CXF 2.0.5.
You can try the latest sample[1][2] in the svn repository. It is much same with your case.

[1] wiki http://cwiki.apache.org/CAMEL/cxf-example.html (WebServiceProviderAPI) [2] https://svn.apache.org/repos/asf/activemq/camel/trunk/examples/camel-example-cxf

Willem
Micky Santomax wrote:
I use the Camel 1.3 and CXF 1.2 version

What test I must to execute ?


willem.jiang wrote:
Hi Micky,

Can you send a test case with it? So I can trace down the error.
BTW, which version of Camel and CXF are you using?

Willem
Micky Santomax wrote:
Hi Willem,

now I'm able to create a @WebServiceProvider cxf endpoint, but when I
send
soap request it parse the message and throw following exception :

"INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Message part
{http://test.ws.com/}booking
was not recognized."

Message is :

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
  <soapenv:Header>
    <agv:test xmlns:agv="http://test.ws.com/";>test</agv:test>
  </soapenv:Header>
  <soapenv:Body>
    <agv:booking xmlns:agv="http://test.ws.com/";>
        <agv:from>New York</agv:from>
        <agv:to>Dallas</agv:to>
    </agv:booking>
  </soapenv:Body>
</soapenv:Envelope>



Reply via email to