Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 64091 invoked from network); 17 Oct 2007 19:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Oct 2007 19:36:37 -0000 Received: (qmail 39229 invoked by uid 500); 17 Oct 2007 19:19:31 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 39214 invoked by uid 500); 17 Oct 2007 19:19:31 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 39202 invoked by uid 99); 17 Oct 2007 19:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 12:19:31 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Jeff.Walker@fmr.com designates 192.223.178.27 as permitted sender) Received: from [192.223.178.27] (HELO maillnx-us312.fmr.com) (192.223.178.27) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 19:19:35 +0000 Received: from MSGMROSM02WIN.dmn1.fmr.com (MSGMROSM02WIN.dmn1.fmr.com [172.26.31.170]) by maillnx-us312.fmr.com (Switch-3.1.11/Switch-3.1.11) with SMTP id l9HJIigV027252 for ; Wed, 17 Oct 2007 15:18:44 -0400 Received: from MSGMROIV01WIN.DMN1.FMR.COM (172.26.31.106) by MSGMROSM02WIN.dmn1.fmr.com (Sigaba Gateway v4.1) with ESMTP id 160539760; Wed, 17 Oct 2007 15:18:44 -0400 Received: from MSGMROIM02WIN.DMN1.FMR.COM ([172.26.2.195]) by MSGMROIV01WIN.DMN1.FMR.COM with SMTP_server; Wed, 17 Oct 2007 15:18:43 -0400 Received: from msgmrocls2win.fmr.com ([10.37.181.25]) by MSGMROIM02WIN.DMN1.FMR.COM with Microsoft SMTPSVC(5.0.2195.6713); Wed, 17 Oct 2007 15:18:43 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C810F2.882AA3C8" Subject: RE: How to change the webservices URL (remove /services from the URL) Date: Wed, 17 Oct 2007 15:18:43 -0400 Message-ID: <8B0552BD5078074B87F6DC3A7EAB76EB032F171E@MSGMROCLS2WIN.DMN1.FMR.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to change the webservices URL (remove /services from the URL) Thread-Index: AcgMhRxGCSwEtt+6SpW1DPulB6VxugAAbzbgARj0+IAAAMv0MAAAmOCwAABs/CAAABchIA== References: <1191836778.6138.5.camel@localhost> <470A4C52.6000403@gmail.com> <1845a8f0710112104k56cc8258gdb840673b91506e4@mail.gmail.com> <8B0552BD5078074B87F6DC3A7EAB76EB032F170F@MSGMROCLS2WIN.DMN1.FMR.COM> From: "Walker, Jeff" To: X-OriginalArrivalTime: 17 Oct 2007 19:18:43.0542 (UTC) FILETIME=[88545F60:01C810F2] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C810F2.882AA3C8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Also, what is the name of your service, and what is the name of your portType? I suspect they are both the same name. -jeff _____ =20 From: Walker, Jeff=20 Sent: Wednesday, October 17, 2007 3:16 PM To: 'axis-user@ws.apache.org' Subject: RE: How to change the webservices URL (remove /services from the URL) =09 =09 What's in your wsdl? ie. what is equal to? -jeff _____ =20 From: Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]=20 Sent: Wednesday, October 17, 2007 3:04 PM To: axis-user@ws.apache.org Subject: RE: How to change the webservices URL (remove /services from the URL) =09 =09 Hi Jeff, =20 I did change my web.xml servlet mapping to look for URL pattern /* instead of /services/* =20 But the soap end point is pointing to http://localhost/webservices/myServiceName/myServiceName (myServiceName repeated twice). =20 Thanks Raghu =20 =09 _____ =20 From: Walker, Jeff [mailto:Jeff.Walker@fmr.com]=20 Sent: Wednesday, October 17, 2007 11:50 AM To: axis-user@ws.apache.org Subject: RE: How to change the webservices URL (remove /services from the URL) =20 Edit your web.xml file to change the servlet mapping. Seach for then edit the "services/" and replace it with just a "/". It's very easy to screw this sort of thing up and take hours to get back to where you were. If you can live with the services/, I would leave it alone. -jeff =20 =09 _____ =20 From: Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]=20 Sent: Wednesday, October 17, 2007 2:36 PM To: axis-user@ws.apache.org Subject: How to change the webservices URL (remove /services from the URL) Hi, =20 I want to change my webservice URL from =20 =09 http://localhost/webservices/services/myServiceName=20 =20 To =20 http://localhost/webservices/myServiceName (Remove /services from the URL) =20 I've changed the following 2 parameters in axis2.xml =20 /webservices myServiceName =20 After changing this I can access my WSDL using the URL http://localhost/webservices/myServiceName?wsdl successfully. =20 But my End Point Reference is pointing (soap:address location in the WSDL) to http://localhost/webservices/myServiceName/myServiceName (Observe that myServiceName is repeated twice). =20 Now when I try to access the webservice from the client for End Point http://localhost/webservice/myServiceName I'm getting an exception saying "EPR (End Point Reference) not found). =20 Can anyone tell me if I'm missing anything? =20 Thanks in advance Raghu =20 =09 _____ =20 From: Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]=20 Sent: Thursday, October 11, 2007 9:23 PM To: axis-user@ws.apache.org Subject: RE: [AXIS2] Simple (?) config question =20 Hi Zhang, =20 I've tried changing the contextRoot & servicePath in axis2.xml. After changing that, I'm able to see the WSDL correctly in the browser (http://localhost/webservices/myService?wsdl ), but when I try to access the service from the client it is not working. =20 When I observed the SOAP Address in the WSDL it is showing the address as http://localhost/webservices/myService/myService (service name is repeated twice) because of which when I give the end point as http://localhost/webservices/myService i'm getting a EPR not found exception. =20 Thanks Raghu =20 -----Original Message----- From: zhongliang zhang [mailto:zhangzhongl@gmail.com]=20 Sent: Thursday, October 11, 2007 9:05 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] Simple (?) config question =20 Maybe you can do that by adding following two parameters into axis2.xml =20 / axis2 I did not try it myself,maybe you can have a try. =20 On 11/10/2007, Raghu Upadhyayula wrote: > Hi Deepal, >=20 > According to what you said I've changed the contextRoot & > servicePath in axis2.xml. >=20 > I've changed it like this. >=20 > /webservices > myService >=20 > And when I go to http://localhost/webservices/myService?wsdl I'm able to > see the WSDL. >=20 > But in the WSDL the end point address is shown as >=20 > location=3D"http://10.5.1.241:80/webservices/myService/myService" /> >=20 > Because of this when I'm trying to run the client and access my > webservice, I'm getting an exception >=20 > The service cannot be found for the endpoint reference (EPR) > http://localhost/webservices/myService >=20 >=20 > Thanks > Raghu > -----Original Message----- > From: Deepal jayasinghe [mailto:deepalk@gmail.com] > Sent: Monday, October 08, 2007 8:27 AM > To: axis-user@ws.apache.org > Subject: Re: [AXIS2] Simple (?) config question >=20 > Lorenzo wrote: > > Hi all, > > > > i need to change axis2 services path from > > > > http://localhost:8080/axis2/services/myService > > > > to > > > > http://localhost:8080/axis2/myService > > > > (possibly without move .aar archives) but i didn't find where to do > it.. > > > You can do that by adding following two parameters into axis2.xml >=20 > /axis2 > myService >=20 > Thanks > Deepal >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org >=20 >=20 =20 =09 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org =20 ------_=_NextPart_001_01C810F2.882AA3C8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Also,
what is the name of your service, and what is = the name=20 of your portType?
I suspect they are both the same=20 name.
-jeff


From: Walker, Jeff =
Sent: Wednesday,=20 October 17, 2007 3:16 PM
To:=20 'axis-user@ws.apache.org'
Subject: RE: How to change the = webservices=20 URL (remove /services from the URL)

What's in your = wsdl?
ie. what is=20 <soap:address
location=3D"?"/> equal = to?
-jeff


From: Raghu Upadhyayula=20 [mailto:rupadhyayula@responsys.com]
Sent: Wednesday, = October 17,=20 2007 3:04 PM
To: = axis-user@ws.apache.org
Subject: RE:=20 How to change the webservices URL (remove /services from the=20 URL)

Hi=20 Jeff,

 

           = =20 I did change my web.xml servlet mapping to look for URL pattern /* = instead=20 of /services/*

           = =20

           = =20 But the soap end point is pointing to http://= localhost/webservices/myServiceName/myServiceName=20 (myServiceName repeated twice).

 

Thanks

Raghu

 


From:=20 Walker, Jeff [mailto:Jeff.Walker@fmr.com]
Sent:
Wednesday, October 17, = 2007 11:50=20 AM
To: = axis-user@ws.apache.org
Subject: RE: How to change = the=20 webservices URL (remove /services from the=20 URL)

 

Edit=20 your web.xml file to change the servlet=20 mapping.

Seach for = <url-pattern> then edit the = "services/<service_name>" and=20 replace it with just a "/<service_name>". It's very easy = to screw=20 this sort of thing up and take hours to get back to where you = were.=20 If you can live with the services/, I would leave it=20 alone.

-jeff

 


From:=20 Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]
Sent: Wednesday, October = 17, 2007=20 2:36 PM
To:=20 axis-user@ws.apache.org
Subject:
How to change the=20 webservices URL (remove /services from the=20 URL)

Hi,

 

I=20 want to change my webservice URL from

 

http://local= host/webservices/services/myServiceName=20

 

To

 

http://localhost/webs= ervices/myServiceName = (Remove /services from the=20 URL)

 

I’ve=20 changed the following 2 parameters in=20 axis2.xml

 

<parameter=20 = name=3D”contextRoot”>/webservices</parameter>

<parameter=20 = name=3D”servicePath”>myServiceName</parameter><= /o:p>

 

After = changing=20 this I can access my WSDL using the URL http://localhost= /webservices/myServiceName?wsdl=20 successfully.

 

But=20 my End Point Reference is pointing (soap:address location in the = WSDL) to=20 http://= localhost/webservices/myServiceName/myServiceName = (Observe that myServiceName is repeated = twice).

 

Now=20 when I try to access the webservice from the client for End=20 Point http://localhost/webse= rvice/myServiceName = I’m getting an=20 exception saying “EPR (End Point Reference) not=20 found).

 

Can=20 anyone tell me if I’m missing = anything?

 

Thanks = in=20 advance

Raghu

 


From:=20 Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]
Sent: Thursday, October 11, = 2007 9:23=20 PM
To: = axis-user@ws.apache.org
Subject:
RE: [AXIS2] Simple = (?)=20 config question

 

Hi Zhang,

 

      I've = tried changing=20 the contextRoot & servicePath in axis2.xml.  After = changing that,=20 I’m able to see the WSDL correctly in the browser (http://localhost/web= services/myService?wsdl=20 ), but when I try to access the service from the client it is not=20 working.

     =20

      When I = observed the=20 SOAP Address in the WSDL it is showing the address as http://localhos= t/webservices/myService/myService=20 (service name is repeated=20 twice) because of which when I give the end point as http://localhost/webservi= ces/myService=20 i’m getting a EPR not found = exception.

 

Thanks

Raghu

 

-----Original Message-----
From: = zhongliang=20 zhang [mailto:zhangzhongl@gmail.com]
Sent: Thursday, October = 11, 2007=20 9:05 PM
To: axis-user@ws.apache.org
Subject: = Re: [AXIS2]=20 Simple (?) config question

 

Maybe you can do that by adding = following two=20 parameters into axis2.xml

 

 <parameter=20 = name=3D"contextRoot">/</parameter>

 <parameter=20 = name=3D"servicePath">axis2</parameter><= /P>

I did not try it myself,maybe you can = have a=20 try.

 

On 11/10/2007, Raghu Upadhyayula=20 <rupadhyayula@responsys.com> = wrote:

> Hi = Deepal,

> 

>       =20 According to what you said I've changed the contextRoot=20 &

> servicePath in=20 axis2.xml.

> 

>       =20 I've changed it like this.

> 

> <parameter=20 = name=3D"contextRoot">/webservices</parameter><= /FONT>

> <parameter=20 = name=3D"servicePath">myService</parameter>

> 

> And when I go to=20 http://localhost/webservices/myService?wsdl I'm able=20 to

> see the = WSDL.

> 

> But in the WSDL the end point = address is=20 shown as

> 

> = <soap:address

>=20 location=3D"http://10.5.1.241:80/webservices/myService/myService"=20 />

> 

> Because of this when I'm trying to = run the=20 client and access my

> webservice, I'm getting an=20 exception

> 

> The service cannot be found for the = endpoint=20 reference (EPR)

>=20 = http://localhost/webservices/myService

> 

> 

> Thanks

> Raghu

> -----Original=20 Message-----

> From: Deepal jayasinghe=20 [mailto:deepalk@gmail.com]

> Sent: Monday, October 08, 2007 8:27 = AM

> To: axis-user@ws.apache.org

> Subject: Re: [AXIS2] Simple (?) = config=20 question

> 

> Lorenzo = wrote:

> > Hi = all,

> >

> > i need to change axis2 = services path=20 from

> >

> >=20 = http://localhost:8080/axis2/services/myService

> >

> > = to

> >

> >=20 http://localhost:8080/axis2/myService

> >

> > (possibly without move .aar = archives)=20 but i didn't find where to do

> it..

> >

> You can do that by adding following = two=20 parameters into axis2.xml

> 

>  <parameter=20 = name=3D"contextRoot">/axis2</parameter>=

>    <parameter=20 = name=3D"servicePath">myService</parameter>

> 

> Thanks

> Deepal

> 

> 

> 

>=20 = ---------------------------------------------------------------------

> To unsubscribe, e-mail:=20 axis-user-unsubscribe@ws.apache.org

> For additional commands, e-mail:=20 axis-user-help@ws.apache.org

> 

> 

>=20 = ---------------------------------------------------------------------

> To unsubscribe, e-mail:=20 axis-user-unsubscribe@ws.apache.org

> For additional commands, e-mail:=20 axis-user-help@ws.apache.org

> 

> 

 

-------------------------------------------------------------------= --

To unsubscribe, e-mail:=20 axis-user-unsubscribe@ws.apache.org

For additional commands, e-mail:=20 axis-user-help@ws.apache.org

 

= ------_=_NextPart_001_01C810F2.882AA3C8--