You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2010/12/13 08:27:02 UTC

[jira] Resolved: (SMXCOMP-796) by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"

     [ https://issues.apache.org/jira/browse/SMXCOMP-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SMXCOMP-796.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: servicemix-http-2010.02
         Assignee: Jean-Baptiste Onofré

Already fixed and it will be included in next 2010.02 servicemix-http release.

> by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-796
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-796
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>         Environment: win
>            Reporter: Yuri
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.02
>
>
> Description:
> I have a http provider endpoint which is defined as below:
> <http:endpoint endpoint="cxfEndpointHttpProvider" 
>     				locationURI="http://localhost:8888/soap/ReservationServiceProvider/" 
>     				role="provider" 
>     				service="serviceNamespace:ReservationServiceProvider" 
>     				soap="true" 
>                                 soapVersion="1.2"/>
> soapVersion can be 1.1 or 1.2
> Consumer calls provider.
> Expectation: 
> In the Header I expect Content-Type = "application/soap+xml" in case soapVersion="1.2"
> In the Header I expect Content-Type = "text/xml" in case soapVersion="1.1"
> Actual result:
> Using TCP/IP monitor I see what Content-Type always equals to "text/xml":
> request:
> POST /soap/ReservationServiceProvider/ HTTP/1.1
> Content-Type: text/xml;charset=UTF-8
> response:
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Resolved: (SMXCOMP-796) by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
AFAIR, I fixed kind of issue on new HTTP endpoints. I will take a deeper 
look on the SMXCOMP-796.
Unfortunately, I don't think that there is workaround on the HTTP component.

However, you can try to use the servicemix-cxf-bc component in place of 
the HTTP one, or refactore to use Camel.

Regards
JB

On 08/24/2011 04:21 PM, rvasisht wrote:
> Much appreciated Jean-Baptiste! Hoping you can turn it around today
>
> Have any of you out there found a clever work-around for this?
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/jira-Resolved-SMXCOMP-796-by-sending-SOAP-1-2-message-servicemix-http-uses-content-type-text-xml-ins-tp3302744p4730615.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: [jira] Resolved: (SMXCOMP-796) by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"

Posted by rvasisht <ra...@gmail.com>.
Much appreciated Jean-Baptiste! Hoping you can turn it around today 

Have any of you out there found a clever work-around for this? 

--
View this message in context: http://servicemix.396122.n5.nabble.com/jira-Resolved-SMXCOMP-796-by-sending-SOAP-1-2-message-servicemix-http-uses-content-type-text-xml-ins-tp3302744p4730615.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: [jira] Resolved: (SMXCOMP-796) by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

thanks for the reminder, I try to take a look on that today.

Regards
JB

On 08/24/2011 06:32 AM, rvasisht wrote:
> This still seems to be an issue.
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/jira-Resolved-SMXCOMP-796-by-sending-SOAP-1-2-message-servicemix-http-uses-content-type-text-xml-ins-tp3302744p4729204.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: [jira] Resolved: (SMXCOMP-796) by sending SOAP 1.2 message servicemix-http uses content type "text/xml" instead of "application/soap+xml"

Posted by rvasisht <ra...@gmail.com>.
This still seems to be an issue. 

--
View this message in context: http://servicemix.396122.n5.nabble.com/jira-Resolved-SMXCOMP-796-by-sending-SOAP-1-2-message-servicemix-http-uses-content-type-text-xml-ins-tp3302744p4729204.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.