aspose file tools*
The moose likes Web Services and the fly likes What's actually happening behind the scene? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "What Watch "What New topic
Author

What's actually happening behind the scene?

Mingwei Jiang
Ranch Hand

Joined: Feb 19, 2004
Posts: 63
I'm using Axis on Tomcat. .Net front and Java back end. I expose several methods for .Net to invoke. I want to know the actual thing that is happening when the front gives a request to the server. Is it like when the client sends a request, the server queries the data and present the data in XML format and sends it back to client, and the client then extract the XML file and populate the value object. If it is like that, what if the response data is very large? Will the client crash if it receives such a large XML file and needs to process it all in memory?

Thanks!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
You probably don't need to worry about the XML/SOAP overhead in terms of message size. A neat tool to see what is actually going over the wire is the TCPMon tool that comes with Axis. Basically, it's a desktop app that acts as an intermediary between the client and the server and lets you view the requests and responses as they happen. It's documentation is here. (It's written in Java, but it doesn't matter what language the client or the server are in.)


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: What's actually happening behind the scene?