[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2419) MTOM/XOP message use always "text/xml" for start-info regardless of 'type' parameter of root part!

Franz Willer (JIRA) jira-events at lists.jboss.org
Fri Dec 12 07:05:36 EST 2008


    [ https://jira.jboss.org/jira/browse/JBWS-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442302#action_12442302 ] 

Franz Willer commented on JBWS-2419:
------------------------------------

Sorry, I have overseen that the type parameter of the root part is also set to text/xml!
But in this case the 'The "start-info" parameter of the package's media type MUST contain the content type associated with the content's XML serialization' is broken when SOAP 1.2 will be used!


> MTOM/XOP message use always "text/xml" for start-info regardless of 'type' parameter of root part!
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-2419
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2419
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>            Reporter: Franz Willer
>
> MultipartRelatedXOPEncoder use MimeConstants.START_INFO_XOP ("text/xml" = TYPE_SOAP11) to set 'start-info' parameter.
> But in "XML-binary Optimized Packaging" (http://www.w3.org/TR/xop10) "4.1 MIME Multipart/Related XOP Packages" is stated that start-info must contain the value of 'type' parameter from root part:
> 4.1 MIME Multipart/Related XOP Packages
> ..
>  The root MIME part is the root part of the XOP package, MUST be a serialization of the XOP Infoset using any W3C recommendation-level version of XML (e.g., [Extensible Markup Language (XML) 1.0 (Third Edition)], [Extensible Markup Language (XML) 1.1]), and MUST be identified with a media type of "application/xop+xml" (as defined below). The "start-info" parameter of the package's media type MUST contain the content type associated with the content's XML serialization. (i.e. it will contain the same value as the "type" parameter of the root part).
> ..
> One effect of this is, that AXIS2 clients will throw an exception because they check if the SOAP Envelope namespace (SOAP11 or SOAP12) is conform to the transport Content-Type (text/xml or application/soap+xml).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list