Hello All, I have implemented a user management restful service as per the tutorial given in http://www.webmonkey.com/tutorial/RESTful_Web_Services_with_Apache_Axis2 <http://www.webmonkey.com/tutorial/RESTful_Web_Services_with_Apache_Axis 2> . Configuration details Tomcat server 5.5 Java 1.6 Axis 2 1.4 version As per the instructions in the tutorial I have manually tweaked the wsdl2.0 file to accomplish the following a) add whttp location and methods b) Move all the beans/exceptions/complextypes under one namespace The modifed wsdl is placed in the service archive. However, I have landed into the following issues 1) when I access the url http://localhost:8080/Axis2Demo/services/UserMgmtServiceImpl?wsdl2 I do not get the modified wsdl 2) when I try to access an existing user using the url http://localhost:8080/Axis2Demo/services/UserMgmtServiceImpl/User/1 , It leads to End point reference not found error as shown below. ERROR] The service cannot be found for the endpoint reference (EPR) /Axis2Demo/services/User/1
org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /Axis2Demo/services/User/1 I have attached the java code and wsdl2.0 for ready reference. I can also provide additional details if needed. Do we need to explicitly pass the manually tweaked wsdl to services.xml ? I did not find any element/parameter in services.xml which can be used for this purpose Could you please let me know as to what could be the issue here? Thank you , Suchitha.
UserMgmtServiceImpl.java
Description: UserMgmtServiceImpl.java
UserMgmtServiceImpl.wsdl
Description: UserMgmtServiceImpl.wsdl