You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Bert Lamb (JIRA)" <ji...@apache.org> on 2007/11/01 13:45:50 UTC
[jira] Updated: (MUSE-275) MiniServlet uses incorrect SOAP 1.1
content type
[ https://issues.apache.org/jira/browse/MUSE-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bert Lamb updated MUSE-275:
---------------------------
Attachment: content-type-fix.patch
Patch to change content type set for responses in MiniServlet from "text/xml" to "application/soap+xml" to be compliant with SOAP 1.2
> MiniServlet uses incorrect SOAP 1.1 content type
> ------------------------------------------------
>
> Key: MUSE-275
> URL: https://issues.apache.org/jira/browse/MUSE-275
> Project: Muse
> Issue Type: Bug
> Affects Versions: 2.2.0
> Environment: Windows XP, OSGi
> Reporter: Bert Lamb
> Assignee: Dan Jemiolo
> Fix For: 2.3.0
>
> Attachments: content-type-fix.patch
>
>
> I have been working through creating client for a service I am exposing using the Muse mini platform. My client complained about "Transport level information does not match with SOAP Message namespace URI" when parsing the responses from Muse. I used TCPMon and sure enough Muse was setting the content type of the responses to "text/xml; charset=Cp1252" while the SOAP Envelope namespace was being set as xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
> This is a mismatch, SOAP 1.2 requires the content type to be "application/soap+xml"
> http://hadleynet.org/marc/whatsnew.html#S3.7.1
> It looks like my client library (using axis2) also requires the content encoding to be UTF-8. So the Content-Type header on the responses from Muse should be:
> Content-Type: application/soap+xml; charset=UTF-8
> Looking at org.apache.muse.core.platform.mini.MiniServlet it looks like responses are currently hard coded to be "text/xml" which does not appear to be correct.
> I'm not sure if it is the best long term fix, but I will attach a patch that fixes this line to hard code to application/soap+xml instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org