This discussion is archived
0 Replies Latest reply: Jun 12, 2012 11:31 PM by 801188 RSS

Logging WORKFLOW State in case of Webservice Exception

801188 Newbie
Currently Being Moderated
Hi All,

I am invoking different webservices from a workflow .I have generated stubs using wsimport.bat
I am keeping the required jax-ws stubs in my context
1) Is there any way I will get the current outbound and inbound SOAP message without using SOAPHandler.(I am using JAX-WS)
2) I need to log the current SOAP req , res,fault (if present) if any exception happens during Workflow execution.
3) What will be the best approach?log the SOAP message or request object ?
4) If I go with second option (log request object) ,Then need to override the toString to get the Object STATE.Is it a good approach if I generate tostring using 'this' and reflection and provide this implemantation in base class of all objects used during Webservice invocation ?
5) Is there any better way to do this?

Thanks in Advance,
Paul

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points