axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Ahokas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-753) Setting SOAP Version URI to type 1.2 creates invalid Content-Type that fails during parsing
Date Fri, 19 May 2006 18:35:31 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-753?page=all ]

Timo Ahokas updated AXIS2-753:
------------------------------

    Attachment: TestCode2.zip

Test client for reproducing the issue.
It will fail the call - comment out the line with sets the SOAP version and no exception will
be thrown.

> 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
>  Attachments: TestCode2.zip
>
> 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:26C55753A5E981E64A11479668765602@apache.org>";
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message