Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Dhananjayan Karnam
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!