Questions on file upload and web services

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Questions on file upload and web services

Vancheri, Alessandro

I have two questions:

-          I need to upload a large file in a directory by using the upload control. The file has to be uploaded in a directory specific and doesn’t have to be removed on session termination. Is it possible?

-          I need to consume a web service and I have to pass in the call some parameters from some instances. Is it possible?

 

Many thanks.

 

Regards.

 

Alessandro

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Questions on file upload and web services

Erik Bruchez
Administrator
On Feb 3, 2008, at 8:18 AM, Vancheri, Alessandro wrote:

> I have two questions:
> -          I need to upload a large file in a directory by using the  
> upload control. The file has to be uploaded in a directory specific  
> and doesn’t have to be removed on session termination. Is it possible?

Then you need to copy the file to another location after upload. You  
can do this by calling an XPL file from XForms. Pass it the URL of the  
temporary file. In the XPL, copy the file to a new location, and  
return the new URL of the file.

It's a little too much manual work for my taste, but for now you have  
to do something like this.

> -          I need to consume a web service and I have to pass in the  
> call some parameters from some instances. Is it possible?

Orbeon Forms support the (minimal) XForms 1.1 SOAP support, i.e.  
setting the SOAPAction header when you perform a SOAP POST. But you  
have to write the SOAP envelope yourself. See:

   http://www.w3.org/TR/xforms11/#SOAP

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws