axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim K (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1932) global configuration properties axis.disableServiceList and axis.servicesPath don't work
Date Sat, 16 Apr 2005 03:06:57 GMT
global configuration properties axis.disableServiceList and axis.servicesPath don't work
----------------------------------------------------------------------------------------

         Key: AXIS-1932
         URL: http://issues.apache.org/jira/browse/AXIS-1932
     Project: Axis
        Type: Bug
  Components: Deployment / Registries  
    Versions: current (nightly)    
 Environment: Axis 1.2RC3 nightly
    Reporter: Tim K
    Priority: Blocker


If I set the following in server-config.wsdd:

<globalConfiguration>
  <parameter name="axis.servicesPath" value="/ws/"/>
  <parameter name="axis.disableServiceList" value="true"/>
  ...
</globalConfiguration>

The following problems are observed:

1) axis.servicesPath has no effect. The path to the automatically generated WSDL files still
has "/services/" in it even though the servlet is mounted at "/ws" and the property is set.
I'm not really sure why you even need this property. When the request comes in the servlet
should be able to determine its path from HttpServletRequest.getServletPath()

2) If axis.disableServiceList is set to true, then an NPE is thrown (not sure where it's coming
from though but it should be trivial to reproduce):

---
AXIS error
Sorry, something seems to have gone wrong... here are the details:

Exception - java.lang.NullPointerException
---


This is a blocker for me because these are basic properties that should properly work in order
to disable the service listing or have the listing enable and generate correct links to the
WSDL files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message