axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Chakravarthy (JIRA)" <>
Subject [jira] Created: (AXIS2-3981) Axis2 Mapping not fond for package
Date Thu, 21 Aug 2008 09:22:45 GMT
Axis2 Mapping not fond for package

                 Key: AXIS2-3981
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: WIndows XP, Tomcat 5.5x , java 1.6 , Axis 1.4
            Reporter: Ajay Chakravarthy


I have a java class which i have exposed as a web service using Axis2  version 1.4,  It has
the following methods ,   

loadXMLConfiguration() -- This method loads an XML parses it and stores the content parsed
inside a datastructure of type HashSet<Symbol>  where Symbol is a custom class that
i have written.

get_symbolList() - This method simply returns the HashSet poulated in the above method.

In the service created i have added the line <application name="xx" scope="application">
 to make it a stateful service. Because the get_symbolList() method is dependent on the execution
of the loadXMLCOnfiguration() method. When i run the client  i get the following error.  I
have pasted the client code first and then the error.

Client Code
Name qname1 = new QName("", "loadConfiguration");
      Object[] args1 = new Object[] { };
      Class[] types1 = new Class[] { Boolean.class };
      Object[] response1 = serviceClient.invokeBlocking(qname1, args1, types1);
      System.out.println("XML File loaded response : " + response1[0]);
      QName qname2 = new QName("", "get_symbolList");
      Object[] args2 = new Object[] { };
      Class[] types2 = new Class[] { Symbol[].class };
      Object[] response2 = serviceClient.invokeBlocking(qname2, args2, types2);
      Symbol[] symbolsList = (Symbol[])response2[0];
      System.out.println("Number of symbols retrieved : " + symbolsList.length);


XML File loaded response : true
Exception in thread "main" org.apache.axis2.AxisFault: java.lang.RuntimeException: org.apache.axis2.AxisFault:
Mapping qname not fond for the package:
	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(
	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
	at org.apache.axis2.description.OutInAxisOperationClient.send(
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
	at org.apache.axis2.client.OperationClient.execute(
	at org.apache.axis2.client.ServiceClient.sendReceive(
	at org.apache.axis2.client.ServiceClient.sendReceive(
	at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(

An solutions to this problem , i have looked at the other thread with a similar problem which
says the problem is fixed in the 1.4 version of Axis2 , but  it clearly not, please help !

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message