Setting SOAP Version URI to type 1.2 creates invalid Content-Type that fails
during parsing
-------------------------------------------------------------------------------------------
Key: AXIS2-753
URL: http://issues.apache.org/jira/browse/AXIS2-753
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: client-api
Versions: 1.0
Environment: Windows XP, Tomcat 5.5, Eclipse + Sysdeo plugin
Reporter: Timo Ahokas
When setting SOAP version is set to 1.2 on the client (via
options.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI)), the
action parameter is empty and is encoded in the following way:
Content-Type: multipart/related;
boundary=MIMEBoundaryurn_uuid_26C55753A5E981E64A11479668765601;
type="application/xop+xml";
start="<0.urn:uuid:[EMAIL PROTECTED]>";
start-info="application/soap+xml"; charset=UTF-8;action="""";
This action part is invalid due to the multiple quotes and the server fails to
parse it in
javax.mail.internet.ParameterList constructor, resulting in a "SOAPEnvelope
must contain a body element which is either first or second child element of
the SOAPEnvelope" which masks the OMException with a
"Invalid Content Type Field in the Mime Message" message.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]