Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Single-Request Multiple-Response

 
monnlq
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this possible "Single-Request/Multiple-Response"
Example:
The client sent a Soap Request for update files, and receive these files in different response.

Client Request ----->
Happy Client <----- Response 1 File 1
Happy Client <----- Response 2 File 2
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web services operate with a request-response model where the client must submit a request for every response. If you want to return two separate files you could:
return them as multiple attachements
zip them together and return as a single attachement
have the return provide FTP links to download the files separately
... probably lots of other options
BIll
 
monnlq
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic