webMethods

webMethods

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.  Create a service from a WSDL

    Posted Tue November 08, 2005 04:24 PM

    There is something that I can’t understand about WSDL and webMethods.

    We can create a web Service connector from a WSDL file that is used to invoke a remote web service.
    We can create a service on web methods and generates the WSDL file to invoke this service remotely.

    But how can we create a service (or at least its skeleton) from an existing WSDL file ?
    And How could we invoke this service remotely ?

    Thanks for your answer


    #soa
    #webMethods
    #API-Management


  • 2.  RE: Create a service from a WSDL

    Posted Tue November 08, 2005 04:27 PM

    olivier,

    webservice connector is nothing but a flow service which invokes the web service using the protocol defined in the wsdl.

    ramesh.


    #webMethods
    #API-Management
    #soa


  • 3.  RE: Create a service from a WSDL

    Posted Tue November 08, 2005 05:20 PM

    all right, but I’d like to know how to generate a service skeleton from a WSDL file ?


    #webMethods
    #API-Management
    #soa


  • 4.  RE: Create a service from a WSDL

    Posted Tue November 08, 2005 08:27 PM

    olivier,

    right click on the folder in which you want to create the webservice connector.select the webservice connector option and specify the path where the wsdl is located.there you go…for more info, look into the web services documentation.

    ramesh.


    #webMethods
    #soa
    #API-Management


  • 5.  RE: Create a service from a WSDL

    Posted Wed November 09, 2005 02:30 AM

    Olivier,

    What do you mean by “generate a service skeleton”?

    Mark


    #soa
    #webMethods
    #API-Management


  • 6.  RE: Create a service from a WSDL

    Posted Wed November 09, 2005 04:29 PM

    I would like to generate a flow service that has an object soapRequestData in input, call required services in package pub.soap
    Then I could map the data, implement my service and return a soapResponse Data Object.


    #API-Management
    #webMethods
    #soa


  • 7.  RE: Create a service from a WSDL

    Posted Wed November 09, 2005 04:39 PM

    olivier,

    this cannot be done through a wizard in webMethods.create a flow service and use pub.soap.utils:requestResponseSpec as the specification reference.use the services in pub.soap folder to get the soapData and send the response as per your requirements.

    ramesh.


    #soa
    #webMethods
    #API-Management


  • 8.  RE: Create a service from a WSDL

    Posted Wed November 09, 2005 04:42 PM

    olivier,

    one more thing i dont understand is, do you want to expose one of the flow services as a web service or are you acting as a consumer of a webservice hosted by others.

    ramesh.


    #soa
    #API-Management
    #webMethods