Hi all
In AXIS1.x version we can list all the available services
http://localhost:8080/xoraapps/services
Now I am trying to migrate to axis2. I have implemented the services
successfully. I get the WSDL when the following URL is entered
http://localhost:8080/xoraapps/services/TimeTrackServices301?wsdl
But If I try the following URL
http://localhost:8080/xoraapps/services I get the following exception
<Exception>org.apache.axis2.AxisFault: The service cannot be found for the
endpoint reference (EPR) /xoraapps/services at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:62)
at org.apache.axis2.engine.Phase.invoke(Phase.java:308) at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212) at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132) at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:125)
at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:119)
at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:799)
at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:126) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at
com.xora.apps.util.RequestLogger.doFilter(RequestLogger.java:258) at
com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at
com.caucho.server.http.Invocation.service(Invocation.java:315) at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) at
com.caucho.server.TcpConnection.run(TcpConnection.java:139) at
java.lang.Thread.run(Thread.java:534)</Exception>
I am using resin server (2.1.10). The web.xml contains following lines
<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>AxisAdminServlet</servlet-name>
<display-name>Apache-Axis AxisAdmin Servlet (Web Admin)</display-name>
<servlet-class>
org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>*.jws</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
Could any one help me to know how to list the services with AXIS2.
Thanks
Harsha
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.