Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5488

listServices bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • transports
    • None

    Description

      I use your axis-web jsps to see my webservice list and wsdl file.
      And I found out that there are some bugs.
      If I change the servlet path of AxisServlet like this, the Service EPRs on 'http://localhost:8080/axis/np/pm/services/listServices' are very odd.
      They are still 'services' not 'np/pm/services/'. And when I click the endpoint link, 404 Not Found error occurrs.

      <servlet>
      <display-name>Apache-Axis Servlet</display-name>
      <servlet-name>AxisServlet</servlet-name>
      <servlet-class>
      org.apache.axis2.transport.http.AxisServlet
      </servlet-class>
      <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
      <servlet-name>AxisServlet</servlet-name>
      <url-pattern>/np/pm/services/*</url-pattern>
      </servlet-mapping>

      It seems that you don't even think someone could change the url-pattern but '/services/'.
      As a workaround, I changed prefix in listServices.jsp to 'request.getAttribute("frontendHostUrl") + request.getServletPath()'.
      But It couldn't change the soap address in wsdl that generated by AxisService.

      Thank you for reading.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hoyeonlee Ho-yeon. Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: