This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes Single-Request Multiple-Response Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Single-Request Multiple-Response " Watch "Single-Request Multiple-Response " New topic
Author

Single-Request Multiple-Response

monnlq
Greenhorn

Joined: Oct 24, 2004
Posts: 7
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

Joined: Mar 22, 2000
Posts: 12269
    
    1
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


Java Resources at www.wbrogden.com
monnlq
Greenhorn

Joined: Oct 24, 2004
Posts: 7
thank you
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Single-Request Multiple-Response
 
Similar Threads
Reading and manipulating file content on client machine
Reading Multiple files by single submit
java.lang.OutOfMemoryError: Java heap space
Struts 2 Multiple File Download