Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging in SOAP transaction  RSS feed

 
syruss kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have created a SOAP client and initiate the transaction using proxy objects.Need to log the raw SOAP request/response XML message.

PaymentsAppServiceProxy proxy=new PaymentsAppServiceProxy();
QueryTransactionRequest request=new QueryTransactionRequest();


//Need to print the actual XML from the request


try {
QueryTransactionResponse response=proxy.queryTransaction(request);

//Need to print the actual XML from the response

} catch (RemoteException e) {
e.printStackTrace();
}



Thanks in advance.

 
Vinod Awar
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using SOAP handlers you can log the request and response xml
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!