Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 56719 invoked from network); 27 Mar 2010 10:40:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Mar 2010 10:40:28 -0000 Received: (qmail 71451 invoked by uid 500); 27 Mar 2010 10:40:28 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 71159 invoked by uid 500); 27 Mar 2010 10:40:25 -0000 Mailing-List: contact user-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@tuscany.apache.org Delivered-To: mailing list user@tuscany.apache.org Received: (qmail 71149 invoked by uid 99); 27 Mar 2010 10:40:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 10:40:24 +0000 X-ASF-Spam-Status: No, hits=-1.1 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Ramanjaneyulu.Malisetti@ca.com designates 155.35.46.20 as permitted sender) Received: from [155.35.46.20] (HELO mail18.ca.com) (155.35.46.20) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Mar 2010 10:40:17 +0000 Received: from INHYMS12.ca.com ([155.35.35.27]) by mail18.ca.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 27 Mar 2010 16:09:54 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CACD99.D604E2FA" Subject: RE: SCA 1.6, starting multiple nodes on same port with WS binding having URIs with different service names Date: Sat, 27 Mar 2010 16:09:50 +0530 Message-ID: <9AB704E9182FC34D97F394D449EE17DCB98B63@INHYMS12.ca.com> In-Reply-To: <90E38F627F6B40CF88FA29A012397088@rfengt61p> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SCA 1.6, starting multiple nodes on same port with WS binding having URIs with different service names Thread-Index: AcrNIanOou+2uctjSfK95APB0tiDaAAeCMUw References: <9AB704E9182FC34D97F394D449EE17DCB98A92@INHYMS12.ca.com> <90E38F627F6B40CF88FA29A012397088@rfengt61p> From: "Malisetti, Ramanjaneyulu" To: X-OriginalArrivalTime: 27 Mar 2010 10:39:54.0054 (UTC) FILETIME=[D62E7660:01CACD99] This is a multi-part message in MIME format. ------_=_NextPart_001_01CACD99.D604E2FA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, I can use. I'll try. =20 Regards Raman =20 From: Raymond Feng [mailto:enjoyjava@gmail.com]=20 Sent: Saturday, March 27, 2010 1:49 AM To: user@tuscany.apache.org Subject: Re: SCA 1.6, starting multiple nodes on same port with WS binding having URIs with different service names =20 Can you use the same instance of SCANodeFactory to create the 3 nodes? =20 Thanks, Raymond =20 From: Malisetti, Ramanjaneyulu =20 Sent: Friday, March 26, 2010 12:50 AM To: user@tuscany.apache.org=20 Subject: SCA 1.6, starting multiple nodes on same port with WS binding having URIs with different service names =20 Hi, I have scenario where I have multiple implementations to the a SCA Remotable interface, I would like to wrap each implementation as a SCA node and publish as a web service. I am trying in the following way.... Server side node1 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite1,contrib);=20 //=20 node1.start(); =20 node2 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite2,contrib); //=20 node2.start(); =20 node3 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite3,contrib); //=20 node3.start(); each composite refers different implementation of Remotable service. All nodes are starting fine, but only last started node (node3) WSDL is available. WSDLs of remaining services are not accessible. If I start client side nodes also similarly, node1 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite1,contrib); //node1 composite contains // node1.start(); =20 node2 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite2,contrib); //node1 composite contains // node2.start(); =20 node3 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite3,contrib); //node1 composite contains // node3.start(); I am able invoke methods from node3, for remaining nodes it is giving org.apache.axis2.AxisFault: Transport error: 404 Error: /HelloWorldService2 Is this scenario supported in SCA ? if not, what is the best of handling such scenario? I appreciate your help. Regards Raman ------_=_NextPart_001_01CACD99.D604E2FA Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable SCA 1.6, starting multiple nodes on same port with WS binding = having URIs with different service names

Yes, I can use. I’ll try.

 

Regards

Raman

 

From:= Raymond = Feng [mailto:enjoyjava@gmail.com]
Sent: Saturday, March 27, 2010 1:49 AM
To: user@tuscany.apache.org
Subject: Re: SCA 1.6, starting multiple nodes on same port with = WS binding having URIs with different service names

 

Can you use the same instance of SCANodeFactory to create the 3 = nodes?

 

Thanks,

Raymond

 <= /o:p>

Sent: Friday, = March 26, 2010 12:50 AM

Subject: SCA 1.6, = starting multiple nodes on same port with WS binding having URIs with different = service names

 

Hi,

    &nbs= p;     I have scenario where I have multiple implementations to the  a SCA = Remotable interface, I would like to = wrap each implementation as = a SCA node and publish as a web service. = I am trying in the following = way….

Server = side

                node1 =3D = SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite1,contrib);

         &= nbsp;      //<binding.ws uri=3D"http://localhost:8085/H= elloWorldService1"/>

                node1.start();

               

        =         node2 =3D SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite2,contrib);

         &= nbsp;     //<binding.ws uri=3D"http://localhost:8085/He= lloWorldService2"/>

                node2.start();

               

                node3 =3D = SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite3,contrib);

         &= nbsp;    //<binding.ws uri=3D"http://localhost:8085/He= lloWorldService3"/>

                node3.start();

each composite refers different implementation of Remotable service.

All nodes are starting fine, but only last started node (node3) WSDL is = available. WSDLs of remaining services are  not accessible. If I start client side nodes = also similarly,

                node1 =3D = SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite1,contrib);

//node1 composite contains //<binding.ws uri=3D"http://localhost:8085/H= elloWorldService1"/>

                node1.start();

               

                node2 =3D = SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite2,contrib);

//node1 composite contains //<binding.ws uri=3D"http://localhost:8085/H= elloWorldService1"/>

                node2.start();

               

                node3 =3D = SCANodeFactory.newInstance().createSCANode("HelloWorldService", composite3,contrib);

//node1 composite contains //<binding.ws uri=3D"http://localhost:8085/H= elloWorldService1"/>

                node3.start();

I am able invoke methods from node3, for remaining nodes it is giving = org.apache.axis2.AxisFault: Transport error: 404 Error: = /HelloWorldService2

Is this scenario supported in SCA ? if not, what is the best of handling such = scenario?

I appreciate your help.

Regards

Raman

------_=_NextPart_001_01CACD99.D604E2FA--