• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Soap Request/Response printing in webserice client.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to be able to store/print outgoing and incoming/outgoing soap xml when calling a web service. I am using weblogic specific jars for to do this. We are not supposed to use SAAJ, rather have to print (not at runtime) Soap Request/Response in webservice client.

In webservice client, inturn calls invoke method in StubImpl.java (Which is there in weblogic.jar).

Here is my question, Would it be possible to do this?
 
Rancher
Posts: 43009
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using JAX-WS? If so, you can configure a javax.xml.ws.handler.soap.SOAPHandler to get at the actual SOAP message.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I can recommend an example on how to implement SOAP logging using a handler in section 9.5 in the following document:
http://faq.javaranch.com/content/Exam-Objectives-5.pdf
Best wishes!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!