[
https://issues.apache.org/activemq/browse/SM-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved SM-1249.
------------------------------
Resolution: Duplicate
> CXF BC provider doesn't manage Soap 1.2 responses
> -------------------------------------------------
>
> Key: SM-1249
> URL: https://issues.apache.org/activemq/browse/SM-1249
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-cxf-bc
> Affects Versions: 3.2.1
> Reporter: Gianfranco Boccalon
> Assignee: Freeman Fang
> Attachments: CxfBcProviderMessageObserver.patch
>
>
> The problem was in the class CxfBcProviderMessageObserver. This class doesn't
> manage Soap 1.2 responses because it uses only the JbiInWsdl1Interceptor, but
> it's the ReadHeadersInterceptor that changes the SoapMessage version
> attribute according to the content of the soap response.
> In the current code the SoapMessage is created, and the default constructor
> set Soap 1.1 version.
> This causes that the getBodyElement method of the class
> JbiInWsdl1Interceptor, doesn't work because it tries to retrieve the wrong
> body from the message.
> I changed the CxfBcProviderMessageObserver adding some of the interceptors
> used in the CxfBcConsumer and changing the creation of the XML stream used to
> read the content of the response, and now it works correctly.
> I also replicated this patch made on the provider itself:
> https://issues.apache.org/activemq/browse/SM-1225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.