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 ir...@japan.bnpparibas.com on 2001/12/12 09:51:41 UTC

Newbie question: Easy way to print response and request documents



What is the easiest way to capture the XML sent in the request and response
documents? It would be easy to use JDOM, but I don't know what objects to pass
to it. Is there something in the Call and Response objects that I can use?
Basically, I need to look at the the raw XML sent from and returned to the
client.

Ira





___________________________________________________________

This message and any attachments (the "message") are intended solely for
the addressees and are confidential.  If you receive this message in error,
please delete it and immediately notify the sender.

Any use not in accord with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.

The internet can not guarantee the integrity of this message.  BNP PARIBAS
(and its subsidiaries) shall (will) not therefore be liable for the message
if modified.
                       --------------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sint confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur.

Toute utilisation de ce message non conforme a sa destination, toute
diffusion ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse.

L'internet ne permettant pas d'assurer l'integrite de ce message, BNP
PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
___________________________________________________________

RE: Newbie question: Easy way to print response and request documents

Posted by William Brogden <wb...@bga.com>.

> -----Original Message-----
> From: ira.waxberg@japan.bnpparibas.com 
> [mailto:ira.waxberg@japan.bnpparibas.com] 
> Sent: Wednesday, December 12, 2001 3:52 AM
> To: soap-user@xml.apache.org
> Subject: Newbie question: Easy way to print response and 
> request documents
> 
> 
> 
> 
> 
> What is the easiest way to capture the XML sent in the 
> request and response
> documents? It would be easy to use JDOM, but I don't know 
> what objects to pass
> to it. Is there something in the Call and Response objects 
> that I can use?
> Basically, I need to look at the the raw XML sent from and 
> returned to the
> client.
> 
> Ira

No need to modify the client, you can grab the raw data
with my UtilSnoop utility - download from:

http://www.lanw.com/books/javasoap/default.htm

It provides for saving the messages and even for faking
messages.
WBB



RE: Newbie question: Easy way to print response and request documents

Posted by William Brogden <wb...@bga.com>.

> -----Original Message-----
> From: ira.waxberg@japan.bnpparibas.com 
> [mailto:ira.waxberg@japan.bnpparibas.com] 
> Sent: Wednesday, December 12, 2001 3:52 AM
> To: soap-user@xml.apache.org
> Subject: Newbie question: Easy way to print response and 
> request documents
> 
> 
> 
> 
> 
> What is the easiest way to capture the XML sent in the 
> request and response
> documents? It would be easy to use JDOM, but I don't know 
> what objects to pass
> to it. Is there something in the Call and Response objects 
> that I can use?
> Basically, I need to look at the the raw XML sent from and 
> returned to the
> client.
> 
> Ira

No need to modify the client, you can grab the raw data
with my UtilSnoop utility - download from:

http://www.lanw.com/books/javasoap/default.htm

It provides for saving the messages and even for faking
messages.
WBB