This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
rubbery bacon. crispy tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!