|
Hi. I have been using Axis1 for a long time in a simple way, just creating web services to retrieve some records of databases. Making the methods return "java.util.ArrayList" of "java.util.Hashtable" Java Objects the WSDL auto generated by Axis1 was enough to consume this webservices in PHP with soapclient, get as a result arrays of associative arrays. Now I'm trying to use Axis2 but the best I can do is to retrieve arrays of "java.util.String" or just simple data types like "int". When I try to return an Hashtable the result (in the browser) is something like this: <ns:getHashResponse><ns:return><ns:empty>false</ns:empty></ns:return></ns:getHashResponse> Based on this simple example code: public Hashtable<String,String> getHash() { Hashtable<String,String> h = new Hashtable<String,String>(); h.put("nome", "Jose Silva"); h.put("idade", "36"); return h; } I'm using Axis2 plugin to Netbeans to build the webservices. The problem seems to be related with the databindings, but I do not want to deal with WSDL directly, because I believe that "language" is "machine domain" not for human beings. I want something as simple as Axis1, is that possible? Thank's in advance to any one who can help me. José Silva --
| |||||||||
- Axis2 webservice returning ArrayList of Hashtable José Silva
- Re: Axis2 webservice returning ArrayList of Hashtab... Sadeep Jayasumana
- Re: Axis2 webservice returning ArrayList of Has... Sagara Gunathunga

