You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Harsh Marwaha (JIRA)" <ji...@apache.org> on 2009/08/12 23:31:35 UTC
[jira] Created: (SMXCOMP-615) Servicemix http binding component
does not set the content-type header correctly for soap 1.2 to
application/soap+xml
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.
[jira] Resolved: (SMXCOMP-615) Servicemix http binding component
does not set the content-type header correctly for soap 1.2 to
application/soap+xml
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved SMXCOMP-615.
------------------------------------------
Resolution: Fixed
Fix Version/s: servicemix-http-2009.02
Assignee: Jean-Baptiste Onofré
Fix on the servicemix-http trunk (2009.02-SNAPSHOT).
> 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
> Assignee: Jean-Baptiste Onofré
> Fix For: servicemix-http-2009.02
>
>
> 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.
[jira] Commented: (SMXCOMP-615) Servicemix http binding component
does not set the content-type header correctly for soap 1.2 to
application/soap+xml
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53720#action_53720 ]
Jean-Baptiste Onofré commented on SMXCOMP-615:
----------------------------------------------
Could you give some additional information please ?
Is it using the new HTTP endpoints (http:consumer or http:soap-consumer) ?
Is it using the consumer or provider mode (or both) ?
Could you provide a test case (at least a xbean.xml) ?
I think that the issue is on the HttpSoapConsumerMarshaler that doesn't override the content type in the sendOut message but I would like to be sure.
Thanks
Regards
JB
> 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.
[jira] Commented: (SMXCOMP-615) Servicemix http binding component
does not set the content-type header correctly for soap 1.2 to
application/soap+xml
Posted by "Matthew Sowders (JIRA)" <ji...@apache.org>.
[ 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.