Return-Path: Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: (qmail 68157 invoked from network); 28 Mar 2011 19:11:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 19:11:59 -0000 Received: (qmail 43950 invoked by uid 500); 28 Mar 2011 19:11:57 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 43911 invoked by uid 500); 28 Mar 2011 19:11:57 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 43903 invoked by uid 99); 28 Mar 2011 19:11:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 19:11:57 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [204.152.239.220] (HELO l4dupmt4.hewitt.com) (204.152.239.220) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 19:11:53 +0000 Received: from linkap13.hewitt.com (linkap13.hewitt.com [10.64.63.9]) by l4dupmt4.hewitt.com (Postfix) with ESMTP id 2C77B4672E4 for ; Mon, 28 Mar 2011 14:11:30 -0500 (CDT) Received: from [10.64.63.75] by linkap13.hewitt.com with ESMTP ( Tumbleweed MMS SMTP Relay); Mon, 28 Mar 2011 14:11:26 -0500 X-Server-Uuid: 00C1C84A-C61B-441D-AFFB-A60DA65DD480 X-WSS-ID: 0LIS7YZ-06-17I-02 X-M-MSG: Received: from lintng1.hewitt.com (lintng1.hewitt.com [10.20.63.62]) by l4dmgi4.hewitt.com (Postfix) with ESMTP id 23812CFE for ; Mon, 28 Mar 2011 14:11:23 -0500 (CDT) In-Reply-To: To: java-user@axis.apache.org Subject: Re: Two Services Same Name Allowed? MIME-Version: 1.0 X-Mailer: Lotus Notes 652HF1094 September 19, 2005 Message-ID: From: "Wally Dennis" Date: Mon, 28 Mar 2011 15:11:25 -0400 X-HANotesOU: Atlanta X-HASecureMessage: 0 X-MIMETrack: Serialize by Router on LINTNG1/National/Hewitt Associates(Release 6.5.6FP2|October 17, 2007) at 03/28/2011 02:11:26 PM, Serialize complete at 03/28/2011 02:11:26 PM X-WSS-ID: 618E02D42BC22827864-01-01 Content-Type: multipart/alternative; boundary="=_alternative 00696A5985257861_=" --=_alternative 00696A5985257861_= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Is there something special I need to do to allow this=3F When I deploy my= =20 .aar to the services directory, it works fine. However, when I try to=20 move it to services/1.0, I get deployment errors indicating it cannot find= =20 META-INF/services.xml. Any help would be most appreciated. Thanks, Wally "Afkham Azeez" =20 02/01/2011 07:39 PM Please respond to java-user@axis.apache.org To java-user@axis.apache.org cc Subject Re: Two Services Same Name Allowed=3F You can place the two services with the same name in different directory=20 paths;=20 e.g.=20 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. < Meeusen.Christopher@mayo.edu> wrote: I thought that axis2 didn=3Ft allow multiple services to have the same name= ,= =20 even if their service classes are from different packages; is this=20 correct=3F For example if I have two services=20 =20 pkg1.AService1 =20 =3F =20 =20 pkg2.AService2 =20 Doesn=3Ft Axis blow up when it tries to deploy the second instance of=20 AService=3F I would test this real quick but I=3Fm having issues with my=20 workstation. =20 Thanks, Chris =20 =20 =20 =20 =20 --=20 Afkham Azeez Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,=20 Member; Apache Software Foundation; http://www.apache.org/ email: azeez@wso2.com 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 The information contained in this e-mail and any accompanying documents may= = contain information that is confidential or otherwise protected from = disclosure. If you are not the intended recipient of this message, or if = this message has been addressed to you in error, please immediately alert = the sender by reply e-mail and then delete this message, including any = attachments. Any dissemination, distribution or other use of the contents o= =66= this message by anyone other than the intended recipient is strictly = prohibited. All messages sent to and from this e-mail address may be = monitored as permitted by applicable law and regulations to ensure = compliance with our internal policies and to protect our business. E-mails = are not secure and cannot be guaranteed to be error free as they can be = intercepted, amended, lost or destroyed, or contain viruses. You are deemed= = to have accepted these risks if you communicate with us by e-mail.=20 --=_alternative 00696A5985257861_= Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Is there something special I need to do to allow this=3F  When I deploy my .aar to the services directory, it works fine.  However, when I try to move it to services/1.0, I get deployment errors indicating it cannot find = META-INF/services.xml.

Any help would be most = appreciated.

Thanks,
Wally




"Afkham = Azeez" <afkham@gmail.com>

02/01/2011 07:39 PM
Please respond to
java-user@axis.apache.org


To
java-user@axis.apache.org
cc
Subject
Re: Two Services Same Name = Allowed=3F





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. <Meeusen.Christopher@mayo.edu> wrote:
I thought that axis2 didn’t allow multiple service= s= to have the same name, even if their service classes are from different = packages; is this correct=3F  For example if I have two services

 

<service name=3D"AService">

    <parameter name=3D"ServiceClass" locked=3D"false">pkg1.AService1</parameter>

 

 

 

<service name=3D"AService">

    <parameter name=3D"ServiceClass" locked=3D"false">pkg2.AService2</parameter>

 

Doesn’t Axis blow up when it = tries to deploy the second instance of AService=3F  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; <= a= href=3Dhttp://www.apache.org/ target=3D_blank>http://www.apache.org/
email: 
azeez@wso2.com 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




The information contained in this e-mail and any accompanying documents may= = contain information that is confidential or otherwise protected from = disclosure. If you are not the intended recipient of this message, or if = this message has been addressed to you in error, please immediately alert = the sender by reply e-mail and then delete this message, including any = attachments. Any dissemination, distribution or other use of the contents o= =66= this message by anyone other than the intended recipient is strictly = prohibited. All messages sent to and from this e-mail address may be = monitored as permitted by applicable law and regulations to ensure = compliance with our internal policies and to protect our business. E-mails = are not secure and cannot be guaranteed to be error free as they can be = intercepted, amended, lost or destroyed, or contain viruses. You are deemed= = to have accepted these risks if you communicate with us by e-mail.=20

--=_alternative 00696A5985257861_=--