locked
Has anyone configured Apache Axis TCPMonitor to monitor Soap messages? RRS feed

  • Question

  • I tried the TCPMonitor but keep getting the "unknown host exception" error. Here's what I did

    1) change WSDL's to point to localhost and distinct port for each WSDL (Example: port 50000 for CustomerManagement service)
    2) generate classes from WSDL
    3) Run TCPMonitor
    java -Djavax.net.ssl.trustStore={trustore location} -Djavax.net.ssl.trustStorePassword={password} org.apache.axis.utils.tcpmon 50000 https://adcenterapi.microsoft.com/v2/CustomerManagement/CustomerManagement.asmx 443

    TCPMonitor gives the "unknown host exception" for the target host. Sniffing the packets at TCP won't work as its over SSL so its encrypted. I did find a temporary solution by modifying the generated java files from WSDL to print the soap. Any better way?

    Friday, September 15, 2006 12:00 AM

Answers

  • Hi Sudhir,

    It looks like so far we were unable to find a good answer for you. Perhaps someone in the community can chime in on this.

    Thanks,

    Shai

    Tuesday, September 26, 2006 5:41 PM

All replies

  • Hello Sudhir,

    I just wanted to let you know that we are working on this question and we'll have a response soon!

    Best Regards,

    JasonDT - MSFT

    Friday, September 15, 2006 4:58 PM
  • Hi Sudhir,

    It looks like so far we were unable to find a good answer for you. Perhaps someone in the community can chime in on this.

    Thanks,

    Shai

    Tuesday, September 26, 2006 5:41 PM
  • Sudhir, if your goal is to capture the SOAP/XML traffic then it is simpler to just enable axis logging in your deployment descriptor.

    See this adwords support info: http://www.google.com/support/adwordsapi/bin/answer.py?answer=15137&topic=237

    Henri

    Tuesday, September 26, 2006 10:11 PM