OMOutputFormat should surround the start value with <>
------------------------------------------------------
Key: WSCOMMONS-242
URL: https://issues.apache.org/jira/browse/WSCOMMONS-242
Project: WS-Commons
Issue Type: Bug
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
This quick fix is from Nick Gallardo.
The start parameter of the content-id should be surrounded with <>.
Example:
public String getContentTypeForMTOM(String SOAPContentType) {
StringBuffer sb = new StringBuffer();
sb.append("multipart/related");
sb.append("; ");
sb.append("boundary=");
sb.append(getMimeBoundary());
sb.append("; ");
sb.append("type=\"" + MTOMConstants.MTOM_TYPE + "\"");
sb.append("; ");
sb.append("start=\"<").append(getRootContentId()).append(">\""); //
<-------------
sb.append("; ");
sb.append("start-info=\"").append(SOAPContentType).append("\"");
return sb.toString();
}
I am running tests and will commit the change later today.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]