Hi Mk, It's not so clear why this would happen. The best thing to do is to see whether the data array is really in the wire. You can use TCPMon (http://ws.apache.org/commons/tcpmon/) to check whether the message received is correct.
Ajith On 10/5/07, M K <[EMAIL PROTECTED]> wrote: > > 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! -- Ajith Ranabahu Reading, after a certain age, diverts the mind too much from its creative pursuits. Any man who reads too much and uses his own brain too little falls into lazy habits of thinking - Albert Einstein --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
