wood burning stoves 2.0*
The moose likes Web Services and the fly likes Response Tracking in the Web Services is possible if reached client or not? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Response Tracking in the Web Services is possible if reached client or not?" Watch "Response Tracking in the Web Services is possible if reached client or not?" New topic
Author

Response Tracking in the Web Services is possible if reached client or not?

Dhananjayan Karnam
Greenhorn

Joined: Dec 28, 2006
Posts: 10
Hi Every Body,
I have a typical situation from the business perspective. This is my situation
Client initiates a Web Service request to Server1. Server1 again initiates another web service request to Server2. Then Server2 sends response to Server1 and Server1 will send back to the client.

The requirement is If due to connection failure/ some other reason if Client is not getting the Response from Server1 (here Server1 receives response from Server2) then Server1 needs to request another web service request saying response not recieved by client so cancel the request.

Here is there any way from Server1 we know that Client is not received response if so how.

I suggested from server1 if something happend at Server2 because request is created at Server1 and connection failed means we can find out. But for response tracking the solution i believe is setting manually some time limit and within that time limit if we dont receive response from server2 then we can send a request to server2 cancel the previous transaction.

Is there any better way we can resolve this issue. Please help me in finalizing the decision.


Dhananjayan Karnam<br /> <br />SCJP, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Response Tracking in the Web Services is possible if reached client or not?