This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes Does the sebservice request go via a webserver or just the app server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Does the sebservice request go via a webserver or just the app server?" Watch "Does the sebservice request go via a webserver or just the app server?" New topic
Author

Does the sebservice request go via a webserver or just the app server?

aditee sharma
Ranch Hand

Joined: Jul 22, 2008
Posts: 182
Hi,
In most cases, a regular http (eg.: www.yahoo.com) request goes through the web server and then the app server and vice-versa for the response.
Can we say the same about a webservice request or is that only the app server comes into the picture in this case?
I came to learn that SOAP rides over HTTP, so in essence, when a traditional web service uses SOAP, I figured that it is using HTTP and therefore can be routed through a http server (or in other words, a Web server).No?
Needless to say, I am a newbie at web services.
This question has been bugging me for a while.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

You seem to be assuming that all sites are configured with a static web server that fronts a dynamic app server. But this is not always the case. In many cases, what you are calling an "app server" (and the meaning of this term seems to be in perpetual flux), serves static as well as dynamic requests.

So the answer is: it all depends upon how the site is configured.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
aditee sharma
Ranch Hand

Joined: Jul 22, 2008
Posts: 182
Thanks for your response.
I am back from holidaying all this while.
Ok, let's say we have web server and a appserver.
Can the webservice request be routed through the webserver now (meaning if I give http://<webserver_name>/..., will it work and the webservice duly routed to appserver)?
 
GeeCON Prague 2014
 
subject: Does the sebservice request go via a webserver or just the app server?