sftp submission from xforms

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

sftp submission from xforms

Einar Moos
Hello,

I've been reading the mailing and nabble lists from orbeon/ops which I discovered in January when a project came up to develop forms sending xml docs to the French government.

Without knowing whether this is the right place to ask, and incidentally congratulating the orbeon team for their efforts, my question is how to use "put" in submission directly from a client xforms (on local servers) through a pipeline to an sftp client including most probably a certificate of authenticity required by the authorities.

Since the forms are done and we enter the test stages, I have been thinking of developing the pipeline on eclipse or have it developed by my team, since I have been unable to find any direct documentation on the subject, except a W3C Xforms  mention.

Thanks for you help,

-- Einar
Chef de projet
Télétransmission
WKF - Afl
Rueil-Malmaison

--
-- Einar Moos

Tel: 0676660080



--
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: sftp submission from xforms

Alessandro Vernet
Administrator
Einar,

On Mar 26, 2008, at 2:58 PM, Einar Moos wrote:
> Without knowing whether this is the right place to ask, and  
> incidentally congratulating the orbeon team for their efforts, my  
> question is how to use "put" in submission directly from a client  
> xforms (on local servers) through a pipeline to an sftp client  
> including most probably a certificate of authenticity required by  
> the authorities.


The PUT method is support over HTTP (or HTTPS). You can do with an  
<xforms:submission method="put">.

Now uploading an XForms instance to an FTP server is a different  
story. At this point you can't do this directly with an  
<xforms:submission>. You would have to first submit the instance to a  
"service", for instance implemented in XPL, which would then do the  
upload. In that XPL, you might be able to use the URL Serializer (http://www.orbeon.com/ops/doc/processors-serializers#url-serializer 
) with an ftp:/... URL. I am saying "might" because I don't remember  
doing this, so you will have to give it a try :). I hope this helps,

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.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