You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nirav Naik (JIRA)" <ji...@apache.org> on 2009/01/08 14:08:59 UTC

[jira] Commented: (AXIS2-2148) AxisFault: Mapping qname not fond for the package:...

    [ https://issues.apache.org/jira/browse/AXIS2-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661962#action_12661962 ] 

Nirav Naik commented on AXIS2-2148:
-----------------------------------

I had the same problem when returning a List of my bean objects. I changed the code to return an bean[] instead of the List and now it is working.

Can I use this till this issue has been fixed?

Thanks,
Nirav.

> AxisFault: Mapping qname not fond for the package:...
> -----------------------------------------------------
>
>                 Key: AXIS2-2148
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2148
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: nightly
>         Environment: Linux Fedora5, tomcat 6.0.7 java1.5.0_0.9, Axis2 snapshot
>            Reporter: Federica Ciotti
>            Assignee: Deepal Jayasinghe
>
> Trying to invoke a method that returns an object org.apache.juddi.datatype.response.BusinessList this exception is thrown.
> BusinessList is a complex structure that contains a BusinessInfos, that contains a BusinessInfo, that contains a Vector.
> How should be the returnType arg I pass to the RPCclient.invokeBlocking method:
> Class[] returnTypes = new Class[] {BusinessList.class, BusinessInfos.class, BusinessInfo.class};
> or just Class[] returnTypes = new Class[] {BusinessList.class};
> How can I establish a mapping for packages?
> Many Thanks
> f
> SEVERE: Exception occurred while trying to invoke service method findBusiness3
> org.apache.axiom.om.OMException: java.lang.RuntimeException: org.apache.axis2.AxisFault: Mapping qname not fond for the package: org.apache.juddi.datatype.response
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:203)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:318)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:632)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:599)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:117)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:249)
> 	at org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:202)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:97)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:209)
> 	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
> 	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:177)
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:271)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.RuntimeException: org.apache.axis2.AxisFault: Mapping qname not fond for the package: org.apache.juddi.datatype.response
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:239)
> 	at org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.processProperties(ADBXMLStreamReaderImpl.java:948)
> 	at org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:802)
> 	at org.apache.axis2.databinding.utils.reader.WrappingXMLStreamReader.next(WrappingXMLStreamReader.java:45)
> 	at org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.next(ADBXMLStreamReaderImpl.java:824)
> 	at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:68)
> 	at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:120)
> 	... 27 more
> Caused by: org.apache.axis2.AxisFault: Mapping qname not fond for the package: org.apache.juddi.datatype.response
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:87)
> 	... 33 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.