aspose file tools*
The moose likes Web Services and the fly likes Webservice Responses Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

Webservice Responses

Finn MacCool
Greenhorn

Joined: May 23, 2006
Posts: 9
Hopefully this is a pretty simple one... How does a webservice know where to send a response?

I mean if you had 10 browsers all sending requests to the same webservice on the same port, how does it know which browser to send which response back to?

I ask because I need to intercept a request to a webservice, analyse the contents of the request and send back an appropriate response myself (bypassing the webservice altogether) but I may potentially have several requests from different locations all coming in at once.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Web service container will keep a socket connect for the communication.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
... which means you will need to analyze the TCP stream, and become familiar with TCP sequence numbers. A tool like Ethereal can be very helpful in this regard.

This sounds like a hack, though. Can't you piggy-back on the WS by using a JAX-RPC handler?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservice Responses
 
Similar Threads
Cant understand the example
NX - Contractors - Network implementation
Cant understand the example...(URGENT)
TCP ports for outbound connections.
Action class instance