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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

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

Ha something I forgot though, I used this request:
{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/">
            <map-Map>
                <ns0:map-Entry>
                    <ns0:map-Key>
                        <ns0:std-String value="login.username"/>
                    </ns0:map-Key>
                    <ns0:map-Value>
                        <ns0:std-String value="admin"/>
                    </ns0:map-Value>
                </ns0:map-Entry>
            </map-Map>
        </ns0:exportCustomerFeedSOAP>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{code}

I had this locally, I always pass this at least, you should check w/o
               

> 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