Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-1932

global configuration properties axis.disableServiceList and axis.servicesPath don't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Axis 1.2RC3 nightly

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            timkagle Tim K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: