This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Using SOAP to download a file

rif6894 - Wednesday, December 28, 2011 9:16 PM:

I have written various Java routines to create Documents and upload the corresponding files from a Solaris system, for migrationg legacy data to ARAS . Due to other contraints within the environment I am working in, SOAP is the easiest method for accessing the Aras server and post-processing the files to produce necessary data exports.

But how do you download files from the server  using SOAP and Java?

I cannot use the insecure Vaultserver aspx web page, due to user/password considerations.

 

 

 



aknourenko - Friday, December 30, 2011 1:54 PM:

Based on you question I assume that you know:

a. what request headers to set when sending request to InnovatorServer.aspx

b. what to put into the URL query when requesting a file from vault.

To get a file from a secure vault you just have to send the same request to the vault server AND set request headers similar to those you set when you send a request to the InnovatorServer.aspx (most importantly user name and password). The response will contain the file streamed back from the vault server.



Mueller - Monday, December 3, 2012 12:37 PM:

Normal 0 21 false false false DE X-NONE X-NONE MicrosoftInternetExplorer4

Hi,

I used the java code on www.aras.comhttp:/.../648.aspx to upload a file to my secure vault server. It worked fine but now I need to download it with my java program. I do not exactly know how to do this. Especially I don’t know how to handle the login information. Some help or better some java example code would be very nice.

Thanks in advance