I think one of the more common ways to send a file like that is as an
attachment. Microsoft supported that as part of their Web Service
Enhancements 3.0 as DIME, but there were also competing technologies.
Depending on your service consumer, you may be able to code the attachment
routine to the standard SOAP call and be able to make it work.
You could also check out the MS solution (DIME) here:
http://msdn.microsoft.com/en-us/magazine/cc188797.aspx and reverse engineer
it for java.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Richard Schoen
Sent: Tuesday, May 18, 2010 3:07 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] SOAP Webservice returning PDF document
I suppose you could also use a straight HTTP download to download the
file as well.
Not knowing what you client app is, this should be pretty
straightforward.
Have the web service create a file into a temporary folder and expose
that folder for downloads.
The web service could return the URL for the download.
As an Amazon Associate we earn from qualifying purchases.