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

WebServices - Endpoint

  • 1.  WebServices - Endpoint

    Posted Sat November 29, 2014 07:41 PM

    I am trying to understand the use of Settings → webservices → Provider Endpoint/consumer Endpoint.

    We are able to create the Provider/Consumer WSDL to provide or consume the WSDL., but why do we need to create the Endpoint? how to use the Endpoint?

    I tried to understand about the Webservices endpoint by looking at the document, but I am still not very clear about the usage of this.

    Thanks
    SA


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


  • 2.  RE: WebServices - Endpoint

    Posted Mon December 01, 2014 01:17 AM

    Consider a case -

    A customer shared a wsdl with you, and you created the consumer for the same and your code was moved through all phases and reached Production.

    Later at some point, your customer changed the url of his wsdl(no other changes except the url). In this scenario, you have to change your code base, and again have to go through all the phases(Dev - Prod).

    Ideally this should not be the case, the change is done at the customer end and should have less impact at your end. (changes out of your scope must be loosely coupled as far as possbile).

    Now, if you have choosen to create an endpoint for this consumer and created the consumer ws. This endpoint url will be picked up in the run time(even though whatever url is there in the wsdl before creation). So, your Admin just needs to change the enpoint from Admin page. No need of Developer to tweek codebase.

    You can check –
    Create consumer with a wsdl whose url is http://xyz.com. And also create an endpoint with http://abc.com and configure the same endpoint the above consumer service. Now, geneate the wsdl for this consumer, you should be seeing http://abc.com in the new wsdl.

    Almost same scenario holds good for Provider also.

    Bottom line - endpoint alias helps in easy maintanance.

    /Naidu


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