axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinmoy Chakraborty <cch...@gmail.com>
Subject Re: [jira] Commented: (AXIS2-2148) AxisFault: Mapping qname not fond for the package:...
Date Mon, 11 May 2009 07:35:28 GMT
If you are not doing it already, please try this,

      EndpointReference targetEPR = new EndpointReference(wsServerUrl +
              "services/abcd_listFunctions");
      QName qName = new QName("abcd_listFunctions", "listFunctions", "ns");
      Class[] returnType = new Class[] {BusinessList.class};
  .........................

Your service.xml should be following:

<service name="abcd_listFunctions" targetNamespace="abcd_listFunctions">
   <description>
        This service is to get the list of functions
   </description>
   <schema schemaNamespace="abcd_listFunctions"/>
   <parameter
name="ServiceClass">a.b.c.service.ListFunctionsService</parameter>
   <operation name="listFunctions">
  <messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
   </operation>
   <module ref="soapmonitor"/>
 </service>

Chinmoy



On Sun, May 10, 2009 at 10:10 PM, Arulazi Dhesiaseelan (JIRA) <
jira@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/AXIS2-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707809#action_12707809]
>
> Arulazi Dhesiaseelan commented on AXIS2-2148:
> ---------------------------------------------
>
> I am still seeing this problem with 1.5-SNAPSHOT. Since, this JIRA is
> closed, do I need to open a new one with all the details?
>
> Please let me know.
>
> -Arul
>
> > 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.
>
>

Mime
View raw message