You can get the last operation context from the service client and from
that you can get the the incomming and outgoing message contexts. So
once you have message context you can get the soap envelop and you can
do what ever you want with that.

Thanks
Deepal
> 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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to