on 04-01-2008 7:36 PM
Our Partner would like to get the payload via html input parameter with type=file.
The Szenario:
The payload is generatet in one CRM System as an individual structure. We send the payload via proxy to the integration enginge. Is it possible to simulate the fileupload technology of a simple html form with input field with type=file.
Any idea is helpfull. Thanks!
You can do this by providing the whole HTTP body as stream with help of a Java mapping.
Another option is: Using the prolog and epilog parameters of the HTTP receiver channel for creating the form data around the payload.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
thank you for the tipps. I know about epilog parameters of plain http adapter and i. e. xslt mappings.
I don' t know how the simple html upload works and if it is possible to build multipart upload?
Manualy upload is resolvable with
<HTML>
<HEAD>
<TITLE>Upload</TITLE>
</HEAD>
<BODY>
<FORM ACTION="/cgi-sample/upload.pl" METHOD="post"
ENCTYPE="multipart/form-data">
File: <INPUT TYPE="file" NAME="file"><BR>
<INPUT TYPE="submit">
</FORM>
</BODY>
</HTML>
Meanwhile, we have solved the problem with a simple xslt mapping for plain html on the receiver side.
Kind regards
Jochen
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.