Hi,

String ret = (String) call.invoke( new Object[] { textToSend } );

call.getMessageContext().getMessage().writeTo(System.out); // Writes to the
given OutputStream

Upul

On Tue, Mar 4, 2008 at 3:33 PM, Seetha Rama Krishna <[EMAIL PROTECTED]>
wrote:

> Hi,
>      I deployed the sample code which is distributed by axis, I just
> wanted to see the SOAP Request message through programming.
>      I had done this through TCPMON.  I need to check it through
> programming. How can i do this.   I tried to modify the code Client code for
> MyService webservice.
>
>
> MessageContext mc = new MessageContext(null);
> System.out.println(mc.getAxisEngine());
>  String ret = (String) call.invoke( new Object[] { textToSend } );
>              System.out.println(AxisEngine.getCurrentMessageContext
> ().getRequestMessage());
>
>    I am getting nullpointer Exception when i run this code.
>              By using TCPMonitor, i need to check the SOAP Request
> Messages and Response message of Remote webservice.
>                 How can i do this
>
>
>
>
>
>
> Thanks & Regards,
> Krishna
>
> ------------------------------
> Now you can chat without downloading messenger. Click 
> here<http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yahoo.com/webmessengerpromo.php>to
>  know how.

Reply via email to