PDA

View Full Version : Transferring a PDF from internal web service to external web site.



Archie Campbel
12-May-2005, 04:57 PM
I am a key design point and would appreciate any thoughts as to different
approaches I could take.

Background
Suppose there are two machines called External and Internal
. External runs the website
. no direct access to internal database
except thru calls to "Internal Web Services"
. may or may not be a VDF WebApp
. may be closeby (on the same network) or continents away

. Internal runs VDF web wervices that can access
files on the internal network.

On the External website I wish to display a PDF document stored on the
internal file system.
The external WebApp (or whatever application) asks the internal WebService
for the document
The internal WebService finds the document (each document has a unique ID
like AB123XY) and returns it

Question:
How is the best way for Internal Web Service to return the document.?
1. It cant return an internal file name cuz External cannot directly access
the file.
2. Can I transfer the raw data in the PDF file as return information to
External.
. Is it just a string that I am returning (albeit a rather large one
sometimes)

Thanks

Archie Campbell

Archie Campbel
12-May-2005, 09:43 PM
I did find the following about "SOAP with Attachments"
http://www.w3.org/TR/SOAP-attachments

Does this "ring a bell" with anyone?

Thanks
Archie



"Archie Campbel" <archie@accordsystems.com> wrote in message
news:BLYYg2zVFHA.872@dacmail.dataaccess.com...
> I am a key design point and would appreciate any thoughts as to different
> approaches I could take.
>
> Background
> Suppose there are two machines called External and Internal
> . External runs the website
> . no direct access to internal database
> except thru calls to "Internal Web Services"
> . may or may not be a VDF WebApp
> . may be closeby (on the same network) or continents away
>
> . Internal runs VDF web wervices that can access
> files on the internal network.
>
> On the External website I wish to display a PDF document stored on the
> internal file system.
> The external WebApp (or whatever application) asks the internal WebService
> for the document
> The internal WebService finds the document (each document has a unique ID
> like AB123XY) and returns it
>
> Question:
> How is the best way for Internal Web Service to return the document.?
> 1. It cant return an internal file name cuz External cannot directly
access
> the file.
> 2. Can I transfer the raw data in the PDF file as return information to
> External.
> . Is it just a string that I am returning (albeit a rather large one
> sometimes)
>
> Thanks
>
> Archie Campbell
>
>

Archie Campbel
12-May-2005, 09:54 PM
I knew this question sounded familiar.
On 09/12/04, on this NG I asked the following

Can I have a VDF WebService that returns documents like GIF, JPEGs, Word
documents, text files, ...

Still curious I am.

Thanks
Archie Campbell





"Archie Campbel" <archie@accordsystems.com> wrote in message
news:BLYYg2zVFHA.872@dacmail.dataaccess.com...
> I am a key design point and would appreciate any thoughts as to different
> approaches I could take.
>
> Background
> Suppose there are two machines called External and Internal
> . External runs the website
> . no direct access to internal database
> except thru calls to "Internal Web Services"
> . may or may not be a VDF WebApp
> . may be closeby (on the same network) or continents away
>
> . Internal runs VDF web wervices that can access
> files on the internal network.
>
> On the External website I wish to display a PDF document stored on the
> internal file system.
> The external WebApp (or whatever application) asks the internal WebService
> for the document
> The internal WebService finds the document (each document has a unique ID
> like AB123XY) and returns it
>
> Question:
> How is the best way for Internal Web Service to return the document.?
> 1. It cant return an internal file name cuz External cannot directly
access
> the file.
> 2. Can I transfer the raw data in the PDF file as return information to
> External.
> . Is it just a string that I am returning (albeit a rather large one
> sometimes)
>
> Thanks
>
> Archie Campbell
>
>