RE: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread guitarro17
Actually i'm returning an array. The method in webservice is something like this: public Alert[] getAlerts(){ ... } And I'm using the NetBeans plugin for axis2 webservice, so, the WSDL is automatically generated... When the webservice returns a Alert[], how can I "take" this array on my

Re: Help with Deserialization of complex object with Java Webservice

2009-07-29 Thread guitarro17
Thank you! But, in J2ME, What I need to do? Same? In my client I have this: public void testWebService() throws Exception { SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); SoapObject soapO

Help with Deserialization of complex object with Java Webservice

2009-07-28 Thread guitarro17
Let me explain. I have this object: public class Alert { private String name; private String approximateStartDate; private String startDate; private String stopDate; ... } And in my webservice, I have this method: public Alert[] getAlerts() throws E