Title: Message

Thanks.  Is there documentation for the options available on the AdminClient (and other utilities)?  When I enter:

java org.axis.apache.client.AdminClient –help

I only get the following:

            - Usage:  AdminClient xml-files | list

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Monday, May 20, 2002 7:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Changing the target URL for an Axis web service (Tomcat)

 

The AdminClient accepts multiple option. One of them is -l where you can specify the URL of the admin servlet.

In the web.xml, if you changed the URL pattern for /services only, then the other URLs should be still usable, except that the URL base will always be tutorial (name of the war).

Try -l /tutorial/services/AdminService as AdminClient option. The risk is in which order the URL patterns from the web.xml are processed. ("*" will match everything).

By playing with the -l option and the URL patterns in web.xml you should be able to make it work.

 

Thomas

-----Original Message-----
From: Jim Dibble [mailto:[EMAIL PROTECTED]]
Sent:
Monday, May 20, 2002 9:01 PM
To: [EMAIL PROTECTED]
Subject: Changing the target URL for an Axis web service (Tomcat)

I'd like to change the target URL for my Axis web service, which I am deploying to Tomcat.  Namely, I'd like to change the name "axis" to "tutorial", and remove the requirement for the word "services" in the path.  So, rather than using this URL:

http://localhost:8080/axis/services/OrderProcessingService?wsdl

the user will use this URL:

http://localhost:8080/tutorial/OrderProcessingService?wsdl

 

What is the recommended way to do this?

 

Here's what I tried so far:

  1. I renamed the axis.war to tutorial.war.
  2. I changed the URL pattern in the web.xml file from "/services/*" to simply "*"

 

This almost did the trick, but now I can't use the AdminClient to register web services (it seems to be looking for the URL ".../axis/services/AdminService").  Any advice?

Reply via email to