You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Paul Piper (JIRA)" <ji...@apache.org> on 2013/06/28 14:20:20 UTC

[jira] [Comment Edited] (OFBIZ-5248) OFBiz soap based webservice response exception: "org.apache.axis2.databinding.ADBException: Unexpected subelement {http://ofbiz.apache.org/service/}map-Map"

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

Paul Piper edited comment on OFBIZ-5248 at 6/28/13 12:19 PM:
-------------------------------------------------------------

Whenever you submit xml or html as part of a string you have to wrap it in 

{code}<![CDATA[ ... ]]>{code}


otherwise it will be falsely parsed as long with the original data and throw an error...
                
      was (Author: madppiper):
    Whenever you submit xml or html as part of a string you have to wrap it in 

{code}<![CDATA[ ... ]]>{code}


otherwise it will be falsely parsed as long with the original error and throw an error...
                  
> OFBiz soap based webservice response exception: "org.apache.axis2.databinding.ADBException: Unexpected subelement {http://ofbiz.apache.org/service/}map-Map"
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5248
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5248
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release 10.04
>         Environment: Window 7
>            Reporter: Brajesh Patel
>            Assignee: Jacques Le Roux
>            Priority: Blocker
>         Attachments: exportCustomerFeedSOAP.wsdl
>
>
> We have created an service that return(return string field) an xml document as a string,
> when we are trying this service as a SOAP based webservice in ofbiz, and invoke from AXIS2 client getting following exception: 
> <code>
> "org.apache.axis2.databinding.ADBException: Unexpected subelement {http://ofbiz.apache.org/service/}map-Map"
> </code>
> Following steps:
> 1) Prepare an service with engine="soap" and export="true"
> 2) Generate wsdl file
> 3) Create an AXIS2 Client to invoke webservice
> Getting above error that I have mention.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira