You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tim K (JIRA)" <ax...@ws.apache.org> on 2005/04/16 05:06:57 UTC

[jira] Created: (AXIS-1932) global configuration properties axis.disableServiceList and axis.servicesPath don't work

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


[jira] Updated: (AXIS-1932) global configuration properties axis.disableServiceList and axis.servicesPath don't work

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1932?page=all ]

Davanum Srinivas updated AXIS-1932:
-----------------------------------

    Priority: Major  (was: Blocker)

Fixed the NPE and taking this off the blocker list.

-- dims

> 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

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira