----- Original Message -----
From: "Joe Shevland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 21:36
Subject: Altering default service page


> (Sorry if this is a duplicate, I don't think the original made it
> because of my sending address).
>
> Hi,
>
> I was wondering if it is possible to change the default page ('Hi there,
> this is an Axis service!') that is served when you access an Axis
> service endpoint w/o supplying parameters?
>
> I've searched the latest CVS source code for those words but haven't
> managed to find them (odd, is it gone in HEAD?).

Its a string kept in resource.properties under axis.i18n.

> Ultimately I'd like to display some HTML documentation about the service
> when accessed with a simple HTTP GET.

I recommend
(a) subclassing AxisServlet to redirect to an html/jsp page. There are
various reportXXX methods which report the various things. * Use the latest
CVS source, not older versions* as things change.

or

(b) modifying Axis so that the current (or subclassed) servlet can take an
html_description property from a web service and display that string.

Although it would seem 'better' to have axis redir every variant on GET to a
JSP page with the appropriate properties set up, we dont want to rely on jsp
support in the web engine, hence the current hard coding


Reply via email to