[
http://jira.jboss.com/jira/browse/JBWS-2088?page=all ]
Thomas Diesler updated JBWS-2088:
---------------------------------
Fix Version/s: jbossws-native-2.0.5
Assignee: Thomas Diesler
Relax matching requirements in decodeMultipartRelatedMessage()
--------------------------------------------------------------
Key: JBWS-2088
URL:
http://jira.jboss.com/jira/browse/JBWS-2088
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-2.0.4
Reporter: David Boeren
Assigned To: Thomas Diesler
Fix For: jbossws-native-2.0.5
Apache Axis sends a slightly non-standard value in the Content-Type which many WS
implementations accept but JBossWS does not, and this is interfering with multipart
related service calls.
The "start" tag in the Content-Type has an incorrect format. It is this:
start="0.urn:uuid:278C3ADFCFF3AF170A1206560191992@apache.org";
but it should be this:
start="<0.urn:uuid:278C3ADFCFF3AF170A1206560191992@apache.org>";
To work around that problem, change this method:
org.jboss.ws.core.soap.attachment.MultipartRelatedDecoder.decodeMultipartRelatedMessage
Change this:
public void decodeMultipartRelatedMessage(InputStream stream) throws IOException,
MessagingException
{
String boundaryParameter = contentType.getParameter("boundary");
String start = contentType.getParameter("start");
to this:
public void decodeMultipartRelatedMessage(InputStream stream) throws IOException,
MessagingException
{
String boundaryParameter = contentType.getParameter("boundary");
String start = null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira