[ http://issues.apache.org/jira/browse/AXIS2-1810?page=comments#action_12456170 ] Gul Onural commented on AXIS2-1810: -----------------------------------
If you design the service upgrade strategy around the assumption of every change in a service interface makes a new service rather than making a new version of the same service, then : Every time I change one parameter in one service interface then I have to introduce a new service class which is extremely inconvenient. I want to be able to upgrade my service rather than introducing a brand new service when I make one non-backwards compatible change. If you think about cost of making every change introduce a brand new service, I have to clone my entire service code to introduce one parameter change. Because I have to put a new class name for the "new" service which is different than the old service, in the services.xml. If you provide with ability to change the location (location in the wsdl, in the axis2 repository) of the service for the v2 service, I can manage the continue provide service for old and new clients, by modifying my service namespace and location in the new wsdl file. Does this help ? Gul > Cannot deploy multiple versions of the same service > --------------------------------------------------- > > Key: AXIS2-1810 > URL: http://issues.apache.org/jira/browse/AXIS2-1810 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.1 > Reporter: Gul Onural > Assigned To: Deepal Jayasinghe > Priority: Blocker > > I am trying to deploy multiple versions of the same web service without > changing the name of the service and wsdl. Instead, I want to be able to do > that by changing namespace of the service in the wsdl file and location of > the service. For example : > MyService - version 1 > ================= > ServiceName = MyService > Location = http://localhost/axis2/services/v1.0/MyService > Wsdl namespace = http://www.mycompany.com/Namespace1 > MyService - version 2 > ================= > ServiceName = MyService > Location = http://localhost/axis2/services/v2.0/MyService > Wsdl namespace = http://www.mycompany.com/Namespace2 > Currently Axis2 doesn't have a mechanism to deploy multiple versions of the > same service by chaging its location and wsdl namespace. The services > repository has not been designed to accomadate multiple versions of the same > service (you can have only one service repository). > It can probably be done providing support for deploying multiple versions of > the same service similar to the mechansim provided for deploying multiple > versions of the same "module". > Gul -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
