axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gul Onural (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1810) Cannot deploy multiple versions of the same service
Date Wed, 06 Dec 2006 20:53:21 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1810?page=comments#action_12456204 ] 
            
Gul Onural commented on AXIS2-1810:
-----------------------------------

 
Based on your example :

- The existing system will have an weather.aar file under let say
"http://localhost/services/v1.0.0/WeatherService". This version will
have say NS1 in the weatherService.wsdl file.

- The new version of the Weather Service will be deployed under for
example : "http://localhost/services/v2.0.0/WeatherService"
We may need to change the .air file name for the new version of the
service.

Yes the two .aar files will have the same class with different
implementations and they will be deployed to different folders in axis2
service repository.

Old clients won't even know that there is a new version of the service.
They will continue to use old target EPR
(http://localhost/services/v1.0.0/WeatherService) and old namespace as
specified in the old wsdl file.

But new clients will use the new target EPR of
"http://localhost/services/v2.0.0/WeatherService".

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message