[ 
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.

Reply via email to