[
https://issues.apache.org/activemq/browse/SM-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47107#action_47107
]
Freeman Fang commented on SM-1573:
----------------------------------
add useSOAPEnvelope flag, the default value is true for backward compability
If useJBIWrapper is true then ignore useSOAPEnvelope. If useJBIWrapper is false
and useSOAPEnvelope is true, than same behavior as before(complete soap
message), if useJBIWrapper is false and useSOAPEnvelope is false, then only
soap body is put in the NMR.
Same rule apply to the cxf se
> Use of useJBIWrapper flag in smx-cxf-bc consumer and smx-http soap-consumer
> endpoints is inconsistent
> -----------------------------------------------------------------------------------------------------
>
> Key: SM-1573
> URL: https://issues.apache.org/activemq/browse/SM-1573
> Project: ServiceMix
> Issue Type: Improvement
> Components: servicemix-cxf-bc, servicemix-http
> Affects Versions: 3.2.2
> Reporter: Ron Gavlin
> Assignee: Freeman Fang
> Fix For: 3.3.1, 3.4, 3.2.4
>
>
> The smx-cxf-bc consumer and smx-http soap-consumer endpoints both support the
> useJBIWrapper boolean flag. However, smx-cxf-bc consumer interprets this flag
> to mean forward the message with the soap envelope instead of the jbi
> wrapper. OTOH, the smx-http soap-consumer interprets it to mean forward the
> message with just the soap body and neither the soap envelope nor the jbi
> wrapper.
> I think the smx-http soapConsumer behavior is much more intuitive.
> In SMX 3.3, would it be possible to add a useSOAPEnvelope boolean flag to
> smx-cxf-bc? The default value for this flag would be false. In addition, it
> would be an error to set both flags to true.
> When useSOAPEnvelope=true, one would get the same behavior as the current
> useJBIWrapper=false.
> When useJBIWrapper=false (and useSOAPEnvelope=false), neither envelope would
> be used, which would result in the same behavior as smx-http consumer
> useJBIWrapper=false.
> What do you think? I recognize that this is a breaking change. However, I
> think it is a significant improvement over the current behavior.
> Also, I think adding the useSOAPEnvelope=true boolean flag to the smx-http
> soapConsumer might be a worthwhile enhancement as well.
> - Ron
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.