Hi,
    Thanks a lot for the reply. I invoke the generated client 
stubs using reflection, so iam unable to retrieve the call object 
declared inside the bindingstub class. Is there anyway thro which 
in can get access to the call object so that i can do a
                   call.getMessageContext();



On Mon, 23 Sep 2002 Harish Prabandham wrote :
>Following code snippet should serve your purpose...
>        org.apache.axis.client.Call call;
>
>......
>
>        org.apache.axis.MessageContext mc =  
>call.getMessageContext();
>        org.apache.axis.Message reqm = mc.getRequestMessage();
>        org.apache.axis.Message repm = mc.getResponseMessage();
>
>        reqm.writeTo(System.out);
>        repm.writeTo(System.out);
>
>suresh narsimhan wrote:
>
>>Hi ,
>>      I am creating client stubs to invoke a webservice. How do 
>>i retreive the request and response SOAPMessages from with my 
>>class??.I just need print the soap xml from with my class.
>>
>>thanks in advance,
>>suresh
>>
>>
>
>

Reply via email to