axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: axis2 - 1.0 - Problem with returning array or ArrayList
Date Fri, 02 Jun 2006 19:51:49 GMT
Please open up a bug report with stack traces / request-response
messages  if any.

thanks,
dims

On 6/1/06, Peter Pei <pei_guo@yahoo.com> wrote:
>
> Hi,
>
> With AXIS, obviously I can have a service that returns array or ArrayList,
> but this seems to be gone with AXIS2. Did I do something wrong, or this is
> simply not supported in AXIS2 (at this point)? My code is something like,
> java:
>  public int[] getArray() {
>   int[] a = new int[2];
>   a[0] = 10;
>   a[1] = 20;
>   return a;
>  }
>
> service.xml:
> <operation name="getArray">
>   <messageReceiver
> class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"
> />
> </operation>
>
> Please help,
>
> Peter
>
>
>  ________________________________
> Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with
> Voice.
>
>


-- 
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message