axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meet <>
Subject AXIS2- ArrayList Conversion Issue from OMTextImpl
Date Wed, 29 Sep 2010 08:09:50 GMT

Hi Friends,

I need little help here.
I have created webservice using AXIS2-Eclipse Plugin. Here is sample code.
public ArrayList getWorkIntNo(String title){
		ArrayList arrayList = new ArrayList();
                          arrayList.add( 1 );
                          arrayList.add( 2 );
		return arrayList;
This service is deployed on weblogic 10. I am calling this service from java
client with the following code.

RPCServiceClient serviceClient = new RPCServiceClient();
         Options options = serviceClient.getOptions();
         EndpointReference targetEPR = new
         QName qname = new QName("",
         Object[] args = new Object[] { };
         Class[] types = new Class[] { ArrayList.class };
         Object[] response = serviceClient.invokeBlocking(qname,args,types);
         ArrayList al = (ArrayList) response[0];
         for (int i=0; i<al.size(); i++){

All the time i am getting output as*****
instead of real values of arraylist. 

Is there anything wrong with this code?

I tried to generate WSDL from JAVA WEB SERVICE using AXIS2-Eclipse plugin.
Here it is.
          <xs:element name="getWorkIntNoResponse">
                        <xs:element minOccurs="0" name="return"
nillable="true" type="xs:anyType"/>

View this message in context:
Sent from the Axis - User mailing list archive at

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

View raw message