• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Can WebService response be HTTP?

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic