• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Can WebService response be HTTP?

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have situation - where user will start request in Asynchronous mode - may be within windows based client server application.

This request needs to launch real-time web application at specific workflow using the information send through Asynchronous request.

I am thinking of following design - I would like to know how feasible it is

1. Client application will send Webservice request.
2. Webservice will be processed with determining originating machine/ip address. And that will be passed to the Web application.
3. Webapplication should process this request and should send the response through HTTP protocol ot the originating ip
4. User can continue his work in the response web app.

Thanks!
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand you correctly, you are asking if a web application can take a regular HTTP request, access a web service to get some data, and format that into the response. All of this in a single request-response cycle.

If that is correct, sure - a web service request is no different from a database request or any other resource grabbing action a web application may need to do.

If you are not talking about a single HTTP request-response cycle then things get more complicated.

Bill
(I just wrote an article about using JSP to grab an RSS feed - a simple web service)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!