[ http://issues.apache.org/jira/browse/AXIS2-1810?page=comments#action_12456502 ] Glen Daniels commented on AXIS2-1810: -------------------------------------
Hi Gul: Why would you need two different repository directories? I'm not sure I understand your first paragraph. Can't you just have http://...services/MyService and http://...services/MyService2 in the same repo? Unless I'm mistaken (certainly a possibility!), Axis2 does indeed have a different classloader for each .aar deployment. So your repository would look like: axis2/ axis2.xml services/ MyService.aar MyService2.aar You would put the old class in the old aar, the new class in the new aar. Both would work, both classes would be named the same, and you'd get one version at /MyService and another at /MyService2. Doesn't this get you what you want? It seems to me that this kind of versioning problem is easy. The hard part is when you want to enable the new version to live at the SAME URL as the old one - then it needs to be able to accept old-style messages, including knowing default values for missing elements, as well as new-style messages. That is a different problem. Another interesting versioning issue is how to let users know (via a standard WSDL or SOAP header extension) that there is a new version of the service that they might want to check out - or even that the old version will be going away on such-and-such a date/time. > 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: New Feature > Components: kernel > Affects Versions: 1.1 > Reporter: Gul Onural > Assigned To: Deepal Jayasinghe > > 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]
