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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Test a service using a browser

    Posted 01/23/10 12:28 PM

    Hi all

    I have a question, before I ask the question I want you to follow the next scenario:

    Open the service that you want to test.Then On the Test menu, click Run in Browser.
    Then your browser will be open and it will look like this:

    [COLOR=blue]http://localhost:5555/acmeSupport.examples/demoService?name=Ameer[/color]

    Suppose this service is displaying a name input by the user.

    My Question?
    Is it possible to type the link this

    [COLOR=#0000ff]http://localhost:5555/acmeSupport.examples/demoService/Ameer[/color]

    instead to display the Name?

    Regards
    Ameer


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 2.  RE: Test a service using a browser

    Posted 01/23/10 12:35 PM

    This won’t work Ameer. Inputs are piped into the service using HTTP GET protocol.
    If you really needed to do this, you could write a servlet/JSP page as a handler.
    You can also invoke a service by creating a simple HTML form with action code pointing to your service, and method=“POST”. In this case input data will not be visible in the URL (as is the case with GET).

    Regards,

    Hido


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 3.  RE: Test a service using a browser

    Posted 01/23/10 01:10 PM

    Thanks Hido for replying

    That what was I though, but I also though maybe webMethods do magic :slight_smile:


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 4.  RE: Test a service using a browser

    Posted 01/30/10 09:22 AM

    Magic feature will be implemented in a future version :slight_smile:


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods