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
Expand all | Collapse all

Change default WebService Consumer Endpoint URL-Path

  • 1.  Change default WebService Consumer Endpoint URL-Path

    Posted Wed August 06, 2014 08:00 AM

    Hi,

    in webMethods Designer (V9.5) I’m creating a WebService Consumer that consumes an WebService from a third Party.
    The WSDL is only accessible as a file, so I created the Consumer Service with that file.

    As a result, the Binder-Property “Port address” of that Service has the Value “http://my-machine:5555/”.

    The Real WebService is accessible with an URL like “http://some-machine:1234/Services/Server

    I created an Alias in the IntegrationServer, but since the Webservice requires a specific Path in the URL (“/Services/Server”), that is not sufficient.

    To make it work, I have to also set the “_url”-Parameter of the Connector to that URL-Value.

    According to the Documentation (Web Services Developer’s Guide Version 9.5 SP1, page 150, Step 3), the Integration Server takes that URL-Value and replaces the Host and Port according to the Alias-Values.

    My Problem is now: My WSDL consists of 90 different Methods, which results in 90 connectors.
    I don’t want to hard-code the URL-Path 90 times, and maybe have to change it later 90 times again.

    Is there a way to set the URL-Path once for all Connectors? Is it may be possible to change the “Port address”-Property of the Service-Binder? - I Think this Property is the initial value for the Endpoint-URL.

    Best regards,

    Konstantin


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Change default WebService Consumer Endpoint URL-Path

    Posted Wed August 06, 2014 02:12 PM

    in your WSDL file, try to change:
    <soap:address location=“…”
    add the “/Services/Server” part to it.
    Reload WSDL, the connecters should have url/address populated already, you don’t need to give _url parameter.
    HTH,


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Change default WebService Consumer Endpoint URL-Path

    Posted Thu August 07, 2014 05:04 AM

    Thanks, that solves my Problem!


    #webMethods
    #Integration-Server-and-ESB