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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Hide an operation in wsdl

  • 1.  Hide an operation in wsdl

    Posted 09/21/16 05:07 AM

    Hi All,

    Good morning

    Is there anyway we can hide the operations in a wsdl .

    The business requirement is I don’t want the target systems to see the operations in the wsdl which I am working on. By this way, they don’t invoke the service when I am editing it .

    Thanks,
    Sathya


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Hide an operation in wsdl

    Posted 09/21/16 02:40 PM

    IIUC, if you are the provider (exposing your flow services) you can simply disable the service that corresponds to the operation you want to hide.

    Let me know if that is not your expecting.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Hide an operation in wsdl

    Posted 09/21/16 02:45 PM

    Hi Mahesh,

    Actually I am following top down approach.

    Moreover, displaying the services will still show the operation in wsdl file only that they will not get results.

    My requirement is the end user shouldn’t see the operation in the wsdl so that he will not invoke the one’s I edit and raise bugs.

    Thanks,
    Sathya


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Hide an operation in wsdl

    Posted 09/21/16 03:12 PM

    Ah! :slight_smile: (raise bugs) I have no other options/suggestions.

    If you find a solution kindly update the thread else lets wait for other forum members to comment. Good luck


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Hide an operation in wsdl

    Posted 09/22/16 12:21 AM

    Manually modify the WSDL before sending to consumer? :smiley:


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Hide an operation in wsdl

    Posted 12/26/16 08:08 AM

    HI Sathyaraj,

    For your requirements, it will be better if the exposed services are exposed under a wrapper.
    Doing this will help you update the wrapper service as “Under maintenance” and work on the business service.


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Hide an operation in wsdl

    Posted 12/30/16 07:35 AM

    As per ICC standards we can create webservice provider by writing a custom file and loading it into IS as a file.

    By doing so, we can just expose what all service we want to. Attaching webMethods Step for Reference.

    Note: For writing custom file we can use various tools like XMLSPY and etc.

    Regards,
    Syed Faraz Ahmed


    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Hide an operation in wsdl

    Posted 01/02/17 07:45 AM

    Hi Syed,

    I am using wsdl first provider only and my requirement is to hide the operations in the wsdl for the external system but it should still be in wsdl so that I can work on it.

    thanks,
    sathya


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Hide an operation in wsdl

    Posted 01/02/17 07:55 AM

    Are you using mediator , centrasite ?
    Then how about creating a virtual service for the required operation only. Then share the virtual service WSDL to the end party.


    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: Hide an operation in wsdl

    Posted 01/02/17 07:57 AM

    Do centrasite have the option to publish only selected operations . If so please let me know the steps. I didn’t see that option when I tried the same.

    Thanks,
    Sathya


    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Hide an operation in wsdl

    Posted 01/02/17 08:10 AM

    I mean to say while creating the virtual service , manually modify the wsd :slight_smile: l and upload it to the Virtual Service definition.

    • Navigate to Asset Catalog → Browse.
    • Click on Add Asset.
    • Select mandatory Fields Type of Asset and Organization of Asset.
    • Provide mandatory field Name. Optionally you can provide description for asset.

    For Virtual Service-
    Asset Detail Window will open.
    Save the Asset.
    Click on Actions → Attach the modified WSDL and provide URL details.


    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: Hide an operation in wsdl

    Posted 01/02/17 08:13 AM

    Got it . I will try this as a work around . But, by default no setting right ?

    Thanks,
    Sathya


    #webMethods
    #Integration-Server-and-ESB


  • 13.  RE: Hide an operation in wsdl

    Posted 01/02/17 08:32 AM

    Hi Sathya,

    You need to create a WSDL file in XMLSPY tool (You can use other tools available) manually and provide the operations and binders information manually for whatever operation you want and consume the WSDL as Provider in designer.

    By this way you will expose only the selected API’s.

    Also as @Rakesh mentioned you can either virtualize the service and edit the WSDL or edit the WSDL file directly and keep only selected operations.

    Regards,
    Syed Faraz Ahmed


    #webMethods
    #Integration-Server-and-ESB