camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <ch0...@gmail.com>
Subject Re: Camel + CXF error (org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"name"). Expected elements are (none) )
Date Fri, 11 Jan 2013 15:08:11 GMT
Saved my issue by using in SOAPUI the SOAP message created by CXF Client

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns2:getCustomerByName xmlns:ns2="http://training.fusesource.com/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
                               xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">Fuse
        </ns2:getCustomerByName>
    </soap:Body>
</soap:Envelope>

Thx


On Fri, Jan 11, 2013 at 3:55 PM, Charles Moulliard <ch007m@gmail.com> wrote:

> Client used is SOAPUI
>
> With this enveloppe
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:tra="http://training.fusesource.com/">
> <soapenv:Body>
> <tra:getCustomerByName>
> <tra:name>Fuse</tra:name>
> </tra:getCustomerByName>
> </soapenv:Body>
> </soapenv:Envelope>
>
> I get this error now
>
> Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"
> http://training.fusesource.com/", local:"name"). Expected elements are
> (none)
>
> On Fri, Jan 11, 2013 at 3:30 PM, Willem jiang <willem.jiang@gmail.com>wrote:
>
>> <soapenv:Body>
>>
>> <tra:getCustomerByName>
>>
>> <!--Optional:-->
>>
>> <tra:name>Fuse</tra:name>
>>
>> </tra:getCustomerByName>
>>
>> </soapenv:Body>
>>
>
>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>


-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message