This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41046
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.

I agree. Here's the link:
subject: Looking for advices
Similar Threads
Exposng Servlet as Webservice
Many-to-many probelm help
Receive Time Out
Replace JDBC calls with webservices
Web Page query