You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/04/01 10:53:05 UTC

[jira] [Commented] (CAMEL-3810) At payload model, set soap body element to header uncorrectly

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

Willem Jiang commented on CAMEL-3810:
-------------------------------------

Applied patch with thanks to ext2.

In the CXF SoapBindingFactory.createBindingInfo method, you will see the message parts of the soap body will be store in the BindingOperationInfo's input and output message. The patch shows a way to help us tell which message part is below to message body.

BTW, the change of DefaultCxfBinding.getResponsePayloadList should be
{code}
DefaultCxfBinding.getResponsePayloadList(...) {
...
-- for (MessagePartInfo partInfo : boi.getOperationInfo().getOutput().getMessageParts()) {

++ for (MessagePartInfo partInfo : boi.getOutput().getMessageParts()) { 
...
{code}

> 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
>            Assignee: Willem Jiang
>         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