Topic
3 replies Latest Post - ‏2013-03-29T07:44:33Z by M Groeneweg
SystemAdmin
SystemAdmin
6195 Posts
ACCEPTED ANSWER

Pinned topic How to display/log EGL SOAP service request?

‏2013-03-28T09:34:37Z |
We need to obtain access to the XML string representing the SOAP request originating from an EGL generated java class for diagnostic purposes, but since the infrastructure responsible for this is a "black box", we're not able to do so.
Anyone have any ideas on how we can accomplish this?
Updated on 2013-03-29T07:44:33Z at 2013-03-29T07:44:33Z by M Groeneweg
  • SystemAdmin
    SystemAdmin
    6195 Posts
    ACCEPTED ANSWER

    Re: How to display/log EGL SOAP service request?

    ‏2013-03-28T13:18:17Z  in response to SystemAdmin
    I don't which IDE you have been using but RBD's TCP/IP-monitor probably can fullfill your request.
    You can examine request en response messages with it.

    Guus
    • markevans
      markevans
      2725 Posts
      ACCEPTED ANSWER

      Re: How to display/log EGL SOAP service request?

      ‏2013-03-28T16:12:22Z  in response to SystemAdmin
      Hi,

      If Guus' suggestion does not work, again, you may want to open a PMR to ask. I am not aware of the choices.

      Again, some things that matter are:

      a.) Is the requestor running on WAS, Tomcat, Java (no application server), or COBOL

      b.) Is it using jaxws or jaxrpc?

      These might matter if it is possible.
  • M Groeneweg
    M Groeneweg
    80 Posts
    ACCEPTED ANSWER

    Re: How to display/log EGL SOAP service request?

    ‏2013-03-29T07:44:33Z  in response to SystemAdmin
    Hi,

    If you are interested in the body of the request rather than the full SOAP request, you can use EGL function

    XMLLib.convertToXML(yourRequestHere);
    


    to convert your request to XML and then dump it in the server log using writeStdOut, just before the actual service call.

    There are also ServiceLib functions to access the SOAP headers, but I have never had much luck with these.
    Marcel
    Updated on 2014-03-25T04:35:28Z at 2014-03-25T04:35:28Z by iron-man