camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ext2 (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CAMEL-3810) At payload model, set soap body element to header uncorrectly
Date Sun, 27 Mar 2011 06:13:05 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011742#comment-13011742
] 

ext2 edited comment on CAMEL-3810 at 3/27/11 6:12 AM:
------------------------------------------------------

Here is SOAP Message show how Camel CXF mix-up the body with header

Following is soap sent by the original client to camel
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in0</v></inE></soap:Header><soap:Body><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in1</v></inE></soap:Body></soap:Envelope>

Following is the soap routed by camel to service(which mixed up)
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in0</v></inE><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in1</v></inE></soap:Header><soap:Body
/></soap:Envelope>


      was (Author: ext2xhb):
    Here is SOAP Message show how Camel CXF mix-up the body with header

Following is soap sent by the original client
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in0</v></inE></soap:Header><soap:Body><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in1</v></inE></soap:Body></soap:Envelope>

Following is the soap sent by camel cxf(which mixed up)
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in0</v></inE><inE
xmlns="http://adapter.ti.tongtech.com/ws/types"><v>in1</v></inE></soap:Header><soap:Body
/></soap:Envelope>

  
> At payload model, set soap body element to header uncorrectly
> -------------------------------------------------------------
>
>                 Key: CAMEL-3810
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3810
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.4.0
>            Reporter: ext2
>         Attachments: CXFMultiPartTest.java, MultiPartInvokeImpl.java, MultiPartTest.wsdl,
MultiPartTest.xml
>
>
> if wsdl's operatin's has multi parts and the parts use same xml-element. Camel CXF Payload
model, will mixup the xml element in body with header

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message