This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
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.)
 
Don't get me started about those stupid light bulbs.
 
subject: What's actually happening behind the scene?
 
It's not a secret anymore!