axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namrata Jaiswal (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5255) AxisMessage does not allow more than one message part.
Date Thu, 01 Mar 2012 13:49:59 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220028#comment-13220028
] 

Namrata Jaiswal commented on AXIS2-5255:
----------------------------------------

Hi,

Thanks for quick response.

When I try to create/deploy AxisService  from any thirdparty WSDL that have
more than one wsdl:part( using
org.apache.axis2.description.WSDL11ToAxisServiceBuilder ), then the
axiservice gets created and deployed. But the deployed WSDL shows only one
wsdl:part .

>From the axis source code it looks like WSDL supplier (
org.apache.axis2.description.AxisService2WSDL11) uses the information in
Axisservice to create generate WSDL (using wsdl4j) but
org.apache.axis2.description.AxisMessage has declared one messagePartName.



        In the WSDL fragment below, the name of the part bound to the
        mime:content is the value appended to the content-id value.

        <wsdl:message name="fooMsg">
          <wsdl:part name="body" type="ns1:Claim"/>
          <wsdl:part name="fooPart" type="xs:base64binary"/>
        </wsdl:message>
        ...
        <wsdl:binding
            ...
            <mime:multipartRelated>
              <mime:part>
                <soapbind:body parts="body" use="literal"/>
              </mime:part>
              <mime:part>
                <mime:content part="fooPart"
        type="application/octet-stream"/>
              </mime:part>
            </mime:multipartRelated>
            ...
        </wsdl:binding>
  Thanks,
  Namrata



From:	"Sagara Gunathunga  (Commented) (JIRA)" <jira@apache.org>
To:	Namrata Jaiswal/India/IBM@IBMIN
Date:	03/01/2012 04:00 PM
Subject:	[jira] [Commented] (AXIS2-5255) AxisMessage does not allow more
            than one message part.




    [
https://issues.apache.org/jira/browse/AXIS2-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219953#comment-13219953
 ]

Sagara Gunathunga  commented on AXIS2-5255:
-------------------------------------------

Axis2 support both SwA and MTOM very well . Do you have any sample related
above observation ?

This creates promblem in case of soap with attachments. According to the
WS-I attachment profile and WSDL 1.1 specification, in order to support
multipart related with soap 1.1 binding, the first message part should be
considered as root part of mutipart related message(soap message) and the
rest should be attachments

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira






                
> AxisMessage does not allow more than one message part.
> ------------------------------------------------------
>
>                 Key: AXIS2-5255
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5255
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.6.1
>         Environment: All eviroments
>            Reporter: Namrata Jaiswal
>            Priority: Critical
>
> AxisMessage does not allow more than one message part in the Axismessage. This creates
promblem in case of soap with attachments. According to the WS-I attachment profile and WSDL
1.1 specification, in order to support multipart related with soap 1.1 binding, the first
message part should be considered as root part of mutipart related message(soap message) and
the rest should be attachments

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message