Skip to Content
avatar image
Former Member

Post binary parameters to external application

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 20, 2008 at 02:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2008 at 02:47 PM

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

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 11:16 AM

    Hi,

    For post please go through the following link

    HTTP Post

    Use FileUpload to upload your file to the server.

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Jul 07, 2009 at 08:00 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded