In a SOAP attachment message, the Content-Type header's boundary parameter 
value must be quoted
-----------------------------------------------------------------------------------------------

                 Key: AXIS2-4556
                 URL: https://issues.apache.org/jira/browse/AXIS2-4556
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Wendy Raschke
            Priority: Minor


If SOAP Messages with Attachments (SwA) or SOAP Message Transmission 
Optimization Mechanism (MTOM) is used to send attachments, the Axis2 runtime 
will send a Content-Type header with a boundary parameter whose value is not 
quoted. Here is an example:

Content-Type: multipart/related; 
boundary=MIMEBoundaryurn_uuid_9152FA64BB334CBE261257799614016; 
type="application/xop xml"; 
start="<0.urn:uuid:9152fa64bb334cbe261257799614...@apache.org>";
start-info="application/soap xml"; 
action="http://xmlsoap.org/EchoStringArrayAsBinaryArray";

In order to be WS-I-compliant, the boundary value should be quoted. In this 
case, the boundary parameter should appear as

boundary="MIMEBoundaryurn_uuid_9152FA64BB334CBE261257799614016";

The WS-I Basic Profile 2.0 Specification, Rule R1109 states,  "Parameters on 
the Content-Type MIME header field-value in a request MESSAGE MUST be a quoted 
string."



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