• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Logging in SOAP transaction

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using SOAP handlers you can log the request and response xml
reply
    Bookmark Topic Watch Topic
  • New Topic