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.  How to invoke a service via HTTP

    Posted Thu February 26, 2004 06:05 PM

    first I m working with webmethod 6.0.1
    I want to invoke a service from an application with Http
    or this service has a file on imput
    when I tape “http://gladiator:5555/invoke/ps8.utils:publish_request
    I don’t know how to give an imput file as parameter?
    Thank you for your Co-operation!!


    #webMethods-Architecture
    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to invoke a service via HTTP

    Posted Thu February 26, 2004 07:14 PM


  • 3.  RE: How to invoke a service via HTTP

    Posted Fri February 27, 2004 08:59 AM

    this method does not go because the service consider that the
    filename=“C:\Documents and Settings\TBE\Bureau\ps8\request_input” like a imput not its contents

    somehow in the pipeline it takes me this :

    $pipeline
    documentTypeName ps8.docs:request
    fileName C:\Documents and Settings\TBE\Bureau\ps8\request_input
    local true
    fileNameList C:\Documents and Settings\TBE\Bureau\ps8 \request_input


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods-Architecture
    #webMethods


  • 4.  RE: How to invoke a service via HTTP

    Posted Tue March 02, 2004 02:56 PM

    Hi Bellamine,

    how do you plan to invoke the service? using webpage? or some other application?

    Chirag.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Architecture


  • 5.  RE: How to invoke a service via HTTP

    Posted Tue March 02, 2004 03:34 PM

    If you want to invoke the service via browser,

    1. Create a form element,
    2. One of the input elements(e.g textarea) should have the same name as the input to the service you are invoking.
    3. Set the content of the textarea to the content of the file and do form submit.

    Hope this helps.


    #webMethods
    #webMethods-General
    #webMethods-Architecture
    #Integration-Server-and-ESB


  • 6.  RE: How to invoke a service via HTTP

    Posted Tue March 02, 2004 04:15 PM

    or create an upload field with just the filename and use a multipart mine type for the form.

    Then also handle the multipart mime message in your service.


    #webMethods
    #webMethods-Architecture
    #webMethods-General
    #Integration-Server-and-ESB


  • 7.  RE: How to invoke a service via HTTP

    Posted Wed March 03, 2004 05:25 PM

    Hello chiraq,
    I invoke my service via Http , using html form

    For Ramesh,
    I already followed all the step that you said but it generate the following error:
    “Invalid input. ‘document’ is a required parameter of type IData”

    but in the pipeline it gives me all the values which are in XML the file
    view the values that exists in the pipeline
    $pipeline
    documentTypeName ps8.docs:request
    OrderRequest: 100250102 ENG_361_11 333333333333333333 FRAncaissssssssss Mark Twain ENGkkkkkkkkkk test 0 Mk T FR

    thanks for you all!


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Architecture