Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-675

HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • servicemix-http-2009.02
    • 2010.02
    • servicemix-http
    • None

    Description

      Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:

      response.setContentType("application/soap+xml");

      The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.

      So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

      Attachments

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            jb@nanthrax.net Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: