You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2006/10/06 12:10:20 UTC

[jira] Assigned: (WSCOMMONS-107) MTOMBuilder cannot handle mixed content

     [ http://issues.apache.org/jira/browse/WSCOMMONS-107?page=all ]

Thilina Gunarathne reassigned WSCOMMONS-107:
--------------------------------------------

    Assignee: Thilina Gunarathne

> MTOMBuilder cannot handle mixed content
> ---------------------------------------
>
>                 Key: WSCOMMONS-107
>                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-107
>             Project: WS-Commons
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>         Assigned To: Thilina Gunarathne
>            Priority: Blocker
>
> Creating the Jira according to  Syam's mail... 
> http://marc.theaimsgroup.com/?l=axis-dev&m=116012901721094&w=2
> Quoting Syam...
> What I mean MTOMStAXSOAPModelBuilder builds soap message incorrectly
> means....
> I have soap message built in the following way.
> <parent>
>  <child>
>    Attachment text
>    <grandchild1>sometext</grandchild1>
>    <grandchild2>someothertext</grandchild2>
>  </child>
> </parent>
> Note: child element has mixed text i.e. plain text and element text.
> I make attachment text from simple string and make it as MTOM attachment.
> When I receive this message on the server side in the service class, this
> message is being transformed in to
> <parent>
>  <child>Attachment text</child>
>  <grandchild1>sometext</grandchild1>
>  <grandchild2>someothertext</grandchild2>
> </parent>
> I think what you said is right. The MTOMStAXSOAPModelBuilder builder
> Is looking at <xop:Include/> and replacing with OMText's and also appending
> the end tag that is causing me the problem.
> I am getting my attachment text correctly. But when I ask child for
> grandchild1 and grandchild2 it is throwing exception because now the
> grandchild1 and grandchild2 are sub elements of parent.
> By the way the other builder i.e. StAXSOAPModelBuilder is giving me the
> soap message as I expected.

-- 
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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org