axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ho-yeon. Lee (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5488) listServices bug
Date Wed, 13 Feb 2013 01:53:13 GMT
Ho-yeon. Lee created AXIS2-5488:
-----------------------------------

             Summary: listServices bug
                 Key: AXIS2-5488
                 URL: https://issues.apache.org/jira/browse/AXIS2-5488
             Project: Axis2
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.6.2
            Reporter: Ho-yeon. Lee


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message