Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Looking for advices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Looking for advices" Watch "Looking for advices" New topic
Author

Looking for advices

Bob Green
Ranch Hand

Joined: Feb 29, 2004
Posts: 93
I have a web application that submits an order to webservice 1 and webservice 1 sends the order to webservice 2 for processing. Webservice 2 will send back an order id to the web application. My question is can webservice 2 sends the order id directly to the web application or does it need to go through web service 1 and from then, the web application can get it.
Pls. let me know what you all think.

Thank you so much for all your inputs!
BL
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
WS 1 calls WS2, so the response from WS2 will go to WS 1.


Ping & DNS - my free Android networking tools app
Bob Green
Ranch Hand

Joined: Feb 29, 2004
Posts: 93
Thank you so much for your reply.
My next question is how to implement the timeout of webservice2.

Bob
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Looking for advices