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

Jacques Le Roux commented on OFBIZ-5248:
----------------------------------------

Actually, and that's logical a simple request like
{code}
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:ns0="http://ofbiz.apache.org/service/";>
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <ns0:exportCustomerFeedSOAP
            SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
        </ns0:exportCustomerFeedSOAP>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{code}

works as well, chapter closed
                
> 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: CustomerFeed.patch, exportCustomerFeedSOAP.wsdl, 
> 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

Reply via email to