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.

Reply via email to