[
https://issues.apache.org/activemq/browse/SMXCOMP-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54318#action_54318
]
Matthew Sowders commented on SMXCOMP-615:
-----------------------------------------
I am also getting this issue. I am running sm 3.3.1
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:x="http://www.x.com/esb"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/http/1.0
http://servicemix.apache.org/schema/servicemix-http-3.2.3.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<http:endpoint service="x:SimpleCommandServiceHttpBind"
endpoint="soap"
role="consumer"
locationURI="http://0.0.0.0:8192/SimpleCommandService/"
targetService="x:SimpleCommandService"
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
soap="true"
soapVersion="1.2"/>
</beans>
an example http header return value from a call to this service is
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
X-Transfer-Encoding: chunked
Server: Jetty(6.1.14)
Content-length: 314
> Servicemix http binding component does not set the content-type header
> correctly for soap 1.2 to application/soap+xml
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: SMXCOMP-615
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-615
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http
> Affects Versions: servicemix-http-2008.01
> Reporter: Harsh Marwaha
>
> The content type header is not set correctly for Soap 1.2. The header needs
> to be application/soap+xml
> Axis 2 (not sure about others) generated clients verify this header with the
> SOAP URI in the envelope and therefore do not work with the http BC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.