• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

transport verification

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a java application which uses Apache SOAP RPC to soap a request to a server. The call.invoke () invariably returns a null Response object (and I get a SOAP Exception complaining about not having a Fault Element in the Response).
My client environment is Java 1.3.1 in a Solaris environment, and the Server environment is MS .NET VB etc. The developers in the server environment claim they never receive my SOAP request message. However, when I modify the URL to point to a local JSP page, the message is received by the JSP page OK, and it sends a reply message to my Java client which satisfies the return type of apache.soap.rpc.Response
How can I verify that the SOAP request message is in fact being sent to the server site?
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can use tcpmon to listen to your local host, then forward the request on to the server. This way you can know that they are receiving the same request your jsp receives.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is tcpmon? Can I find it in window?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

What is tcpmon?

It stands for Axis TCP Monitor. Go to http://ws.apache.org/axis/ and select "User's Guide" and "Appendix: Using TCPMon".
 
John Davis
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shell,
Chad has indicated in a previous post, that Apache Axis includes the tcpmon utility. I don't have Apache Axis and so I haven't been able to use this utility.
John Davis
 
shell Johnson
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. I have WSAD. That is why I cannot find tcpmon.
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can also try tcpTrace a free & useful tool http://www.pocketsoap.com/tcptrace/
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Shell Godswind:
Thanks. I have WSAD. That is why I cannot find tcpmon.


Shell, WSAD 5 will allow you to set up a server monitor that will also show you the request and response data.
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by John Davis:
Shell,
Chad has indicated in a previous post, that Apache Axis includes the tcpmon utility. I don't have Apache Axis and so I haven't been able to use this utility.
John Davis


Sorry, I thought that older versions of Apache SOAP also came with this utility.
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chad McGowan:

Sorry, I thought that older versions of Apache SOAP also came with this utility.


It does actually, just with a different name. This is from the Apache SOAP 2.3 documentation.
To start the tool up, execute:
java org.apache.soap.util.net.TcpTunnelGui listenport tunnelhost tunnelport
where listenport is the port that you want the tool to listen on (i.e. the port which you will send your SOAP messages to), tunnelhost is the hostname of the SOAP server, and tunnelport is the port that the SOAP server is running on.
 
I hired a bunch of ninjas. The fridge is empty, but I can't find them to tell them the mission.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic