This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons 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
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What's actually happening behind the scene?
 
Similar Threads
Client/Server
Which server-side script takes the input from JavaScript in j2ee application
XML and Client/Server
Help(Handling Data Through Streams)
ETag and Last-Modified HTTP implementation?