RE: Supporting multiple versions of the same service with Axis2

2008-03-27 Thread O Aiken


Hello Axis Team,
I need to support multiple versions of a Service on one application  
server and I'm trying to find the most elegant way to do it.
So far the best solution I can find is to have the version built into  
the pathname of the supporting classes - ie :

net.brokerhub.xml.market_1_3.Test
vs.
net.brokerhub.xml.market_1_2.Test

This was discussed somewhat in 2006 - and I'm wondering if there's  
been any consensus, perhaps by creative use of class-loaders.

thank you & regards,
-OA
***

List:   axis-user
Subject:RE: Supporting multiple versions of the same service with  
Axis2

From:   "Gul Onural" 
Date:   2006-12-04 1:30:57
Message-ID: 87AC5F88F03E6249AEA68D40BD3E00BE0CB9C5E5 () zcarhxm2 !  
corp ! nortel ! com

[Download message RAW]


Thanks Deepal. I have filed a JIRA for this issue
(http://issues.apache.org/jira/browse/AXIS2-1810).

I think this will be a very important thing to have in Axis2 framework.
Without a solid versioning
strategy, developing commercial products with Axis2 will be very
challenging. I believe backwards compatibility
(using ability of service versioning) is one of the key requirements of
many commercial products.

Gul

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 03, 2006 8:03 PM
To: axis-user@ws.apache.org
Subject: Re: Supporting multiple versions of the same service with Axis2

Hi Gul;
We dont have service version support , but I hope we can have that
feature soon in Axis2.

Thanks
Deepal

>
> Any recommendation from Axis2 team members or architects on this  
issue

?
>
>
>
> _
> *From:  * Onural, Gul (CAR:SI12)
> *Sent:  * Saturday, December 02, 2006 3:17 PM
> *To:* axis-user@ws.apache.org
> *Subject:   * Supporting multiple versions of the same service
> with Axis2
>
>
> I want to be able to support multiple versions of my service on the
> same system.
> The pattern I am trying to use is :
> - Keep the service name the same
> - Change wsdl namespace url to reflect the change in the wsdl
> - Change the location (target EPR) of the service fro the new version
> deployment For example for v1 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService1_
> Location = _http://localhost/axis2/services/v1.0_
> For example for v2 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService2_
> Location = _http://localhost/axis2/services/v2.0_
> In order to do that I can create two directories under services, one
> for v1.0 and one for v2.0.
> However I don't know how to change repository url (in Axis2 web.xml)
> to support this pattern. In the web.xml, there is a parameter for the
> repository url :
>axis2.repository.url
>http://localhost/services/v0.1
> How can I configure Axis2 to support different repository directories
?
> If this is not possible, what is the proper way of deploying multiple
> versions of the same service to Axis2 ?
> Thanks
> Gul
>

--
Thanks,
Deepal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Supporting multiple versions of the same service with Axis2

2006-12-03 Thread Gul Onural
 
Thanks Deepal. I have filed a JIRA for this issue
(http://issues.apache.org/jira/browse/AXIS2-1810).

I think this will be a very important thing to have in Axis2 framework.
Without a solid versioning
strategy, developing commercial products with Axis2 will be very
challenging. I believe backwards compatibility 
(using ability of service versioning) is one of the key requirements of
many commercial products.

Gul

-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 03, 2006 8:03 PM
To: axis-user@ws.apache.org
Subject: Re: Supporting multiple versions of the same service with Axis2

Hi Gul;
We dont have service version support , but I hope we can have that
feature soon in Axis2.

Thanks
Deepal

>
> Any recommendation from Axis2 team members or architects on this issue
?
>
>
>
> _
> *From:  * Onural, Gul (CAR:SI12)
> *Sent:  * Saturday, December 02, 2006 3:17 PM
> *To:* axis-user@ws.apache.org
> *Subject:   * Supporting multiple versions of the same service
> with Axis2
>
>
> I want to be able to support multiple versions of my service on the 
> same system.
> The pattern I am trying to use is :
> - Keep the service name the same
> - Change wsdl namespace url to reflect the change in the wsdl
> - Change the location (target EPR) of the service fro the new version 
> deployment For example for v1 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService1_
> Location = _http://localhost/axis2/services/v1.0_
> For example for v2 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService2_
> Location = _http://localhost/axis2/services/v2.0_
> In order to do that I can create two directories under services, one 
> for v1.0 and one for v2.0.
> However I don't know how to change repository url (in Axis2 web.xml) 
> to support this pattern. In the web.xml, there is a parameter for the 
> repository url :
>axis2.repository.url
>http://localhost/services/v0.1
> How can I configure Axis2 to support different repository directories
?
> If this is not possible, what is the proper way of deploying multiple 
> versions of the same service to Axis2 ?
> Thanks
> Gul
>

--
Thanks,
Deepal

"The highest tower is built one brick at a time"



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Supporting multiple versions of the same service with Axis2

2006-12-03 Thread Deepal Jayasinghe
Hi Gul;
We dont have service version support , but I hope we can have that
feature soon in Axis2.

Thanks
Deepal

>
> Any recommendation from Axis2 team members or architects on this issue ?
>
>
>
> _
> *From:  * Onural, Gul (CAR:SI12) 
> *Sent:  * Saturday, December 02, 2006 3:17 PM
> *To:* axis-user@ws.apache.org
> *Subject:   * Supporting multiple versions of the same service
> with Axis2
>
>
> I want to be able to support multiple versions of my service on the
> same system.
> The pattern I am trying to use is :
> - Keep the service name the same
> - Change wsdl namespace url to reflect the change in the wsdl
> - Change the location (target EPR) of the service fro the new version
> deployment
> For example for v1 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService1_
> Location = _http://localhost/axis2/services/v1.0_
> For example for v2 :
> Service Name = MyService
> Wsdl Namespace = _http://www.mycompany.com/MyService2_
> Location = _http://localhost/axis2/services/v2.0_
> In order to do that I can create two directories under services, one
> for v1.0 and one for v2.0.
> However I don't know how to change repository url (in Axis2 web.xml)
> to support this pattern. In the web.xml,
> there is a parameter for the repository url :
>axis2.repository.url
>http://localhost/services/v0.1
> How can I configure Axis2 to support different repository directories ?
> If this is not possible, what is the proper way of deploying multiple
> versions of the same service
> to Axis2 ?
> Thanks
> Gul
>

-- 
Thanks,
Deepal

"The highest tower is built one brick at a time"



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Supporting multiple versions of the same service with Axis2

2006-12-03 Thread Gul Onural

Any recommendation from Axis2 team members or architects on this issue ?



> _ 
> From: Onural, Gul (CAR:SI12)  
> Sent: Saturday, December 02, 2006 3:17 PM
> To:   axis-user@ws.apache.org
> Subject:  Supporting multiple versions of the same service with
> Axis2
> 
> 
> I want to be able to support multiple versions of my service on the
> same system.
> The pattern I am trying to use is :
> - Keep the service name the same
> - Change wsdl namespace url to reflect the change in the wsdl
> - Change the location (target EPR) of the service fro the new version
> deployment
> For example for v1 :
> Service Name = MyService
> Wsdl Namespace = http://www.mycompany.com/MyService1
> Location = http://localhost/axis2/services/v1.0
> For example for v2 :
> Service Name = MyService
> Wsdl Namespace = http://www.mycompany.com/MyService2
> Location = http://localhost/axis2/services/v2.0
> In order to do that I can create two directories under services, one
> for v1.0 and one for v2.0.
> However I don't know how to change repository url (in Axis2 web.xml)
> to support this pattern. In the web.xml,
> there is a parameter for the repository url :
>axis2.repository.url
>http://localhost/services/v0.1
> How can I configure Axis2 to support different repository directories
> ?
> If this is not possible, what is the proper way of deploying multiple
> versions of the same service 
> to Axis2 ?
> Thanks 
> Gul 
>