0

I would like to know if the tool "wsdl2java" (Axis2) is able to generate stubs that support getting list of custom ojects.

For instance, if I have a WS that have the following method:

public List<Device> getDevices(){
//...
}

Where Device is a custom class...

This tool can do that?

amp
  • 11,754
  • 18
  • 77
  • 133

1 Answers1

0

I changed the return data type of my Web Service to an array because of that:

http://www.ibm.com/developerworks/webservices/library/ws-tip-coding/index.html

And I had to do some changes (some namespaces) to the generated stub (I used ADB)... I changed that because it was giving me an ADBException: Unexpected subelement ...

amp
  • 11,754
  • 18
  • 77
  • 133