Skip to Content
avatar image
Former Member

HTTP Post

Hi

How to use http post to pass parameters to url.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Jan 04, 2008 at 01:33 PM

    Hi,

    Have a look at this thread,

    how-to-send-parameters-to-url

    Kind Regards

    Saravanan K

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2008 at 09:08 AM

    Any suggestions on this.....

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bertram,

      I am also trying this concept.

      But getting the same error. I tried to add a postParams plug of type java.util.Map. but it is giving me a error as

      "Controller XXXInterfaceView [out]: Outbound plug (of type 'Suspend') 'out' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'. XXXInterfaceView.wdcontroller"

      What will be the reason?

      I am in NWDS7.0.14.

      Regards

      SM Nizamudeen

  • avatar image
    Former Member
    Jan 08, 2008 at 10:06 AM

    Hi,

    maybe you can use Suspend & Resume Plugs? Have a look here: [Suspend and Resume Plug|http://help.sap.com/saphelp_nw70/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm]

    kind regards

    Stefanie

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 13, 2008 at 10:04 AM

    Hi Bertram,

    I tried to add a PostParams parameter to a Suspend Plug, as you said, but Developer Studio give me an error when I add new parameter to plug. Do you know why?

    Thanks,

    Raffaele

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bertram Ganz

      As other people have said before, I get the same error as they do; ei

      "Controller PersonMasterInterfaceView : Outbound plug (of type 'Suspend') 'redirectToJSP' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'."

      They do rigth now have Url of type string (love the non-capital letter s of String btw), and postParams of type java.util.Map . I have tried to change the Url to url, postParams to PostParams but still get the same error.

      I'm running 7.0 SP17.

      Any help would be appreciated.

      /Björn Bergenheim

  • avatar image
    Former Member
    Feb 13, 2008 at 10:50 AM

    Does the parameter type must be java.util.Map?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 13, 2008 at 12:02 PM

    Sorry Bertram,

    but I added a postParams parameter of java.utils.Map and I have still the error.

    If I write only Map in the type of parameter, I can't create the parameter to plug.

    Maybe have I add any library to UsedDC Component?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 13, 2008 at 03:39 PM

    Hi Ayyapparaj KV,

    I just did what you said, but I have always the error which I wrote before.

    When I create the suspend plug Developer Studio add automatically the Url (type String) parameter.

    But when I add the postParams parameter (type java.util.Map), developer Studio shows me the error.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 13, 2009 at 07:56 AM

    Hi,

    I have the same error as Raffaele. After adding the postParams parameter of type java.util.Map to the Suspend-plug the WebDynpro gives the following error during build:

    Outbound plug (of type 'Suspend') 'suspend_plug' may have at most two parameters: 'url' of type 'string' and 'postParams' of type 'Map'.

    I use SAP NetWeaver Developer Studio version 7.0.16. (If this does not work in this version in which version does it work?)

    Does someone know a solution? I would highly appreciate it.

    Thanks in advance.

    Eric

    Add comment
    10|10000 characters needed characters exceeded