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

webservice versioning in 7.1.3???

  • 1.  webservice versioning in 7.1.3???

    Posted Tue June 12, 2012 03:21 PM

    Hi,
    We have the below requirement:
    Release 1: Develop a webservice with one operation (Add) in it.
    This operation has two input parameters which are mandatory.
    Release 2: The Add operation now should be able to add three numbers that are given in the input. So we need to add one new input field which is also mandatory.
    No seperate WSDL URL or Add operation should be created. We can only update the existing WSDL.
    Post release 2, the webservice clients which send only two input values fail.
    What are the approaches to implement the above requirements without breaking the existing clients?
    Someone suggested to version the targetnamespace in the WSDL. I din’t really get what they mean. Not sure how that can be implemented in wM.
    Please suggest.
    We need this to be implemented in 7.1.3.
    We dont have Centrasite as of now.

    Regards,
    Ravi


    #webMethods
    #API-Management
    #soa


  • 2.  RE: webservice versioning in 7.1.3???

    Posted Tue June 12, 2012 05:29 PM

    If i understand you correctly, R1 & R2 are logically conflicting. So, after R2, on server side you have only one service that require 3 parameters. No matter how you twick your WSDL, it won’t work with the old client.
    You’d better create a new service + new WSDL for R2.


    #API-Management
    #soa
    #webMethods


  • 3.  RE: webservice versioning in 7.1.3???

    Posted Tue June 12, 2012 05:31 PM

    “Post release 2, the webservice clients which send only two input values fail.
    What are the approaches to implement the above requirements without breaking the existing clients?”

    These are contradictary behaviors. If you’re trying to support both 2- and 3- parameter add operations, you’ll need to have separate add operations.


    #webMethods
    #API-Management
    #soa


  • 4.  RE: webservice versioning in 7.1.3???

    Posted Fri June 15, 2012 07:20 PM

    Thanks tongwang and Rob


    #API-Management
    #webMethods
    #soa