Hello,
 
I am new in axis and have tried the Axis2 Quick Start Guide with successfully. 
I got stuck when I started to expend the basic example Web services a bit more. 
I have a Service class (Java) that returns a Response Object to the caller 
application. My Response object has following attributes with the appropriate 
getters and setters:
 
- code (String)
- message (String)
- data (an array of Payload objects)
 
My Payload object looks like the following:
- txType (String)
- description (String)
 
BTW, none of the attributes are initialized at the service startup time.
 
On the client side (I am using a modified version of the Axiom client from 
Weather example), 
I can retrieve the code and message attributes correctly from the Response 
object. 
But I get a null array for the data attribute even though I am setting a my 
data 
(Payload objects) on the server side.
 
Both my Response and Payload implement Serializable. Am I missing something? 
Oh, 
I am deploying my web service under JBoss 4.0.5 (I am not sure if it matters).
 
Any help on this will be greatly appreciated. Axis2 generated WSDL shows my 
types 
properly, I think.
 
Thanks,
- MK




_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it 
now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033

Reply via email to