[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=13695460#comment-13695460 ]

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

FYI, the log says:

{code}
2013-06-28 15:52:55,906 (http-0.0.0.0-8080-1) [      ContextFilter.java:211:INFO ] [Request]: /webtools/control/SOAPService
2013-06-28 15:52:55,906 (http-0.0.0.0-8080-1) [     ControlServlet.java:140:INFO ] [[[SOAPService] Request Begun, encoding=[utf-8]- total:0.0,since last(Begin):0.0]]
2013-06-28 15:52:55,906 (http-0.0.0.0-8080-1) [       VisitHandler.java:232:INFO ] Found visitorId [null] in cookie
2013-06-28 15:52:55,937 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 112 requests, 71 views in jndi:/0.0.0.0/webtools/WEB-INF/controller.xml
2013-06-28 15:52:55,937 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 34 requests, 17 views in file:/D:/WorkspaceNew/sparta/framework/common/webcommon/WEB-INF/common-cont
roller.xml
2013-06-28 15:52:55,953 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 26 requests, 10 views in file:/D:/WorkspaceNew/sparta/framework/common/webcommon/WEB-INF/portal-cont
roller.xml
2013-06-28 15:52:55,953 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 30 requests, 13 views in file:/D:/WorkspaceNew/sparta/framework/common/webcommon/WEB-INF/security-co
ntroller.xml
2013-06-28 15:52:55,968 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 5 requests, 0 views in file:/D:/WorkspaceNew/sparta/framework/common/webcommon/WEB-INF/tempexpr-cont
roller.xml
2013-06-28 15:52:55,968 (http-0.0.0.0-8080-1) [    ConfigXMLReader.java:122:INFO ] controller loaded: 0.0s, 8 requests, 1 views in file:/D:/WorkspaceNew/sparta/framework/testtools/webapp/testtools/WEB-INF/con
troller.xml
2013-06-28 15:52:55,968 (http-0.0.0.0-8080-1) [     RequestHandler.java:295:INFO ] This is the first request in this visit. sessionId=D26D394963E34F6F269278446397A8C1.jvm1
2013-06-28 15:52:55,968 (http-0.0.0.0-8080-1) [       ModelService.java:571:ERROR] [ModelService.validate] : {exportCustomerFeedSOAP} : (IN) Required test error: org.ofbiz.service.ServiceValidationException:
Unknown parameter found: [exportCustomerFeedSOAP.]
2013-06-28 15:52:55,984 (http-0.0.0.0-8080-1) [  ServiceDispatcher.java:382:ERROR]
---- exception report ----------------------------------------------------------
Incoming context (in runSync : exportCustomerFeedSOAP) does not match expected requirements
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [exportCustomerFeedSOAP.]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [exportCustomerFeedSOAP.]
org.ofbiz.service.ModelService.validate(ModelService.java:655)
org.ofbiz.service.ModelService.validate(ModelService.java:569)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:380)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:167)
org.ofbiz.webapp.event.SOAPEventHandler.invoke(SOAPEventHandler.java:194)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:665)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:401)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:223)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:338)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:662)
--------------------------------------------------------------------------------

2013-06-28 15:52:55,984 (http-0.0.0.0-8080-1) [  ServiceDispatcher.java:516:INFO ] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'webtools / exportCustomerFeedSOAP'
{code}
               

> 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