IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  pub.client:http with POST method

    Posted Wed May 21, 2008 08:56 AM

    Dear All,

    I want to use pub.client:http with POST method to call a jsp page, the jsp want the request with defined content-type “text/html;charset=UTF-8”, so I can’t put parameters in data/args , but where i can put the parameters to jsp, per the user guide, data/string is ok, how to place parameter name and paramenter value in data/string of the service.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: pub.client:http with POST method

    Posted Wed May 21, 2008 08:25 PM

    while calling your jsp page from your http service .You can directly pass the parameters using ? and &&

    something like this (click on the link and you c it in your browsers addressbar))

    http://ISname:port/web/packageName/pagename.jsp?parameter1=yourparameter1&&parameter2=

    and in your jsp you can catch this parameters by using getparameters service
    i think this should work

    thanks
    Anil


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: pub.client:http with POST method

    Posted Wed May 21, 2008 08:38 PM

    Set the content-type using the headers input. Use Content-type as the key and text/html;charset=UTF-8 as the value.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods