File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Looking for advices" Watch "Looking for advices" New topic

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!
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
WS 1 calls WS2, so the response from WS2 will go to WS 1.
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.

I agree. Here's the link:
subject: Looking for advices
It's not a secret anymore!