You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Oliver Wulff <ol...@zurich.ch> on 2002/02/06 10:03:17 UTC

get real XML message of Call instance

Hi

I need to get the real XML message which will be generated by a Call
instance. Is that possible?

Thanks in advance
Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


Re: get real XML message of Call instance

Posted by Tim Wei <ti...@yahoo.com>.
Would somebody please give me the email address that I can
unsubscribe from this user list?

Thanks.

Tim

--- Fred Meredith <fm...@nc.rr.com> wrote:
> --- I'm assuming you want to do this on the client side?
> But anyway, you can call the buildEnvelope method of the Call
> object to
> return an Envelope object.  Then with the Envelope object call
> the marshall
> method and pass it a StringWriter (or whatever, FileWriter,
> StreamWriter,
> etc.), SOAPMappingRegistry, and SOAPContext.  You may have to
> instantiate
> new instances of SOAPMappingRegistry and SOAPContext for this
> to work.
> 
> The XML text can then be read from the *Writer object you
> passed in the
> marshall method.
> 
> I need to get the real XML message which will be generated by
> a Call
> instance. Is that possible?
> 
> Thanks in advance
> Oliver
> 
> 
> 
> 
> 
> 
> ******************* BITTE BEACHTEN *******************
> Diese Nachricht (wie auch allf�llige Anh�nge dazu) beinhaltet
> m�glicherweise vertrauliche oder gesetzlich gesch�tzte Daten
> oder
> Informationen. Zum Empfang derselben ist (sind)
> ausschliesslich die
> genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
> irrt�mlicherweise erreicht hat, sind Sie h�flich gebeten,
> diese unter
> Ausschluss jeder Reproduktion zu zerst�ren und die absendende
> Person
> umgehend zu benachrichtigen. Vielen Dank f�r Ihre Hilfe.
> 
> 


=====
Tim's home page: 
http://www.geocities.com/timwei

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

Re: get real XML message of Call instance

Posted by Tim Wei <ti...@yahoo.com>.
Would somebody please give me the email address that I can
unsubscribe from this user list?

Thanks.

Tim

--- Fred Meredith <fm...@nc.rr.com> wrote:
> --- I'm assuming you want to do this on the client side?
> But anyway, you can call the buildEnvelope method of the Call
> object to
> return an Envelope object.  Then with the Envelope object call
> the marshall
> method and pass it a StringWriter (or whatever, FileWriter,
> StreamWriter,
> etc.), SOAPMappingRegistry, and SOAPContext.  You may have to
> instantiate
> new instances of SOAPMappingRegistry and SOAPContext for this
> to work.
> 
> The XML text can then be read from the *Writer object you
> passed in the
> marshall method.
> 
> I need to get the real XML message which will be generated by
> a Call
> instance. Is that possible?
> 
> Thanks in advance
> Oliver
> 
> 
> 
> 
> 
> 
> ******************* BITTE BEACHTEN *******************
> Diese Nachricht (wie auch allf�llige Anh�nge dazu) beinhaltet
> m�glicherweise vertrauliche oder gesetzlich gesch�tzte Daten
> oder
> Informationen. Zum Empfang derselben ist (sind)
> ausschliesslich die
> genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
> irrt�mlicherweise erreicht hat, sind Sie h�flich gebeten,
> diese unter
> Ausschluss jeder Reproduktion zu zerst�ren und die absendende
> Person
> umgehend zu benachrichtigen. Vielen Dank f�r Ihre Hilfe.
> 
> 


=====
Tim's home page: 
http://www.geocities.com/timwei

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

Re: get real XML message of Call instance

Posted by Fred Meredith <fm...@nc.rr.com>.
--- I'm assuming you want to do this on the client side?
But anyway, you can call the buildEnvelope method of the Call object to
return an Envelope object.  Then with the Envelope object call the marshall
method and pass it a StringWriter (or whatever, FileWriter, StreamWriter,
etc.), SOAPMappingRegistry, and SOAPContext.  You may have to instantiate
new instances of SOAPMappingRegistry and SOAPContext for this to work.

The XML text can then be read from the *Writer object you passed in the
marshall method.

I need to get the real XML message which will be generated by a Call
instance. Is that possible?

Thanks in advance
Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.



Re: get real XML message of Call instance

Posted by Fred Meredith <fm...@nc.rr.com>.
--- I'm assuming you want to do this on the client side?
But anyway, you can call the buildEnvelope method of the Call object to
return an Envelope object.  Then with the Envelope object call the marshall
method and pass it a StringWriter (or whatever, FileWriter, StreamWriter,
etc.), SOAPMappingRegistry, and SOAPContext.  You may have to instantiate
new instances of SOAPMappingRegistry and SOAPContext for this to work.

The XML text can then be read from the *Writer object you passed in the
marshall method.

I need to get the real XML message which will be generated by a Call
instance. Is that possible?

Thanks in advance
Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.



RE: get real XML message of Call instance

Posted by William Brogden <wb...@bga.com>.
> -----Original Message-----
> From: Oliver Wulff [mailto:oliver.wulff@zurich.ch] 
> Sent: Wednesday, February 06, 2002 4:03 AM
> To: soap-user@xml.apache.org
> Subject: get real XML message of Call instance
> 
> 
> Hi
> 
> I need to get the real XML message which will be generated by a Call
> instance. Is that possible?
> 
> Thanks in advance
> Oliver
> 
> 

As an alternative to modifying your client, you can trap the actual
text of the HTTP request using the TCPTunnel or TCPTunnelGui classes
in the SOAP distribution or my UtilSnoop program from:
http://www.lanw.com/books/javasoap/


wbrogden@bga.com
Author of Soap Programming with Java - Sybex; ISBN: 0782129285





RE: get real XML message of Call instance

Posted by William Brogden <wb...@bga.com>.
> -----Original Message-----
> From: Oliver Wulff [mailto:oliver.wulff@zurich.ch] 
> Sent: Wednesday, February 06, 2002 4:03 AM
> To: soap-user@xml.apache.org
> Subject: get real XML message of Call instance
> 
> 
> Hi
> 
> I need to get the real XML message which will be generated by a Call
> instance. Is that possible?
> 
> Thanks in advance
> Oliver
> 
> 

As an alternative to modifying your client, you can trap the actual
text of the HTTP request using the TCPTunnel or TCPTunnelGui classes
in the SOAP distribution or my UtilSnoop program from:
http://www.lanw.com/books/javasoap/


wbrogden@bga.com
Author of Soap Programming with Java - Sybex; ISBN: 0782129285