cancel
Showing results for 
Search instead for 
Did you mean: 

Post binary parameters to external application

Former Member
0 Kudos

Hi to all!!

I'd like to get a file using webdynpro (upload element) and pass the file to another application via HTTP protocol, so I need to use the post method. It would be like copying the HTML standar FORM tag with the option post.

Is it possible in webdynpro?

I've read that I could use the suspend plug, but I can't figure out how??

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi!

The IWDProtocolAdapter and the IWDWebContextAdapter provides access to the post parameters.

IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();

IWDRequest request = protocolAdapter.getRequestObject();

String context = request.getParameter();

thanks

vishal

Answers (3)

Answers (3)

Former Member
0 Kudos

At the end I passed the binary directly to an ABAP function and it worked... but I couldn't pass the binary through the POST.

Former Member
0 Kudos

Hi,

For post please go through the following link

Use FileUpload to upload your file to the server.

Regards

Ayyapparaj

Former Member
0 Kudos

Sorry, that post still doesn't say how to pass a binary file via post

or at least I don't understand how do they say something about

Former Member
0 Kudos

With that code I can read the parameters, what I want is to write one.

Thanks