[
https://issues.apache.org/jira/browse/OFBIZ-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695459#comment-13695459 ]
Jacques Le Roux commented on OFBIZ-5248:
----------------------------------------
Using
{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=""/>
</ns0:map-Key>
<ns0:map-Value>
<ns0:std-String value=""/>
</ns0:map-Value>
</ns0:map-Entry>
</map-Map>
</ns0:exportCustomerFeedSOAP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{code}
I get
{code}
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<exportCustomerFeedSOAPResponse xmlns="
http://ofbiz.apache.org/service/">
<map-Map>
<map-Entry>
<map-Key>
<std-String value="responseMessage"/>
</map-Key>
<map-Value>
<std-String value="error"/>
</map-Value>
</map-Entry>
<map-Entry>
<map-Key>
<std-String value="errorMessage"/>
</map-Key>
<map-Value>
<std-String value="{Unknown parameter found: [exportCustomerFeedSOAP.]}"/>
</map-Value>
</map-Entry>
</map-Map>
</exportCustomerFeedSOAPResponse>
</soapenv:Body>
</soapenv:Envelope>
{code}
I have no time to check further
> 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