Sorry guys. Replied to wrong email. Please ignore.

From: Sanjay Gupta [mailto:[email protected]]
Sent: Tuesday, February 01, 2011 7:16 PM
To: [email protected]
Subject: RE: Two Services Same Name Allowed?

I think when you cloned cwa264 to have mcm vm you didn't drop and recreate cms 
and ras. So on mcm it's using 264.

From: Afkham Azeez [mailto:[email protected]]
Sent: Tuesday, February 01, 2011 4:39 PM
To: [email protected]
Subject: Re: Two Services Same Name Allowed?

You can place the two services with the same name in different directory paths;

e.g.
services/foo/bar/AService.aar
services/x/y/AService.aar

Now these two services will be deployed as two different services.

Azeez

On Tue, Feb 1, 2011 at 1:13 PM, Meeusen, Christopher W. 
<[email protected]<mailto:[email protected]>> wrote:
I thought that axis2 didn't allow multiple services to have the same name, even 
if their service classes are from different packages; is this correct?  For 
example if I have two services

<service name="AService">
    <parameter name="ServiceClass" locked="false">pkg1.AService1</parameter>

...


<service name="AService">
    <parameter name="ServiceClass" locked="false">pkg2.AService2</parameter>

Doesn't Axis blow up when it tries to deploy the second instance of AService?  
I would test this real quick but I'm having issues with my workstation.

Thanks,
Chris








--
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
Member; Apache Software Foundation; http://www.apache.org/
email: [email protected]<mailto:[email protected]> cell: +94 77 3320919
blog: http://blog.afkham.org
twitter: http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez

Lean . Enterprise . Middleware


Reply via email to