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.  webservice provider alias

    Posted Fri November 18, 2011 05:57 AM

    Created a provider webservice ( to expose TestWS:sampleProviderWSD flow service) with alias ‘MyWSAlias’.

    The URL http://host:port/ws/TestWS:sampleProviderWSD?WSDL
    works fine and brings up the WSDL

    How do I use the endpoint alias?

    To test using endpoint alias I tried the below in the browser and did not get the wsdl

    http://host:port/ws/MyWSAlias?WSDL ( no error just blank page shows up)
    http://host:port/ws/MyWSAlias ( page not found)
    http://host:port/MyWSAlias?WSDL ( page not found)
    http://host:port/MyWSAlias ( page not found)

    Thanks,
    Suresh


    #API-Management
    #soa
    #webMethods


  • 2.  RE: webservice provider alias

    Posted Thu December 01, 2011 04:06 AM

    The endpoint producer alias just changes the endpoint returned by the WSDL.

    e.g. I use it for making sure the WSDL returned has the loadbalancer URL in it rather than whatever the individual cluster node name is.

    The path to the WSDL will be the:
    http://host:port/ws/TopLevelFolderName.nextlevelFoldername:WebServiceRealAndNotTheAliasProducerName?WSDL

    So don’t go expecting that alias means anything. It doesn’t… You need the name you called it in the folder etc.


    #soa
    #webMethods
    #API-Management


  • 3.  RE: webservice provider alias

    Posted Fri December 02, 2011 06:07 AM

    If we create HTTP URL Alias we can invoke the service using
    http://host:port/aliasname without specifying folder or service name.
    I thought the same is possible from webservice endpoint alias.

    Thanks,
    Suresh


    #webMethods
    #soa
    #API-Management


  • 4.  RE: webservice provider alias

    Posted Fri May 18, 2012 04:53 PM

    I have the same problem as sureshv.

    I understand what nath says, meaning “MyWSAlias” is only used to generate the location in the wsdl, but in the end the location will still be http://host:port/ws/TestWS:sampleProviderWSD?WSDL.

    But what happens when I deploy into production ? Do I have to create MyWSAlias in the IS, configuring it so that it points to my production host:port ? When I give my WSDL to the consumers, the location they see is my development server, so do they have to change the host:port in the WSDL so that they target my production server ?

    Thank for any help !


    #soa
    #webMethods
    #API-Management