error: org.apache.axis2.AxisFault: The endpoint reference (EPR)

Asked on January 18, 2014
Hi All,
I am running code first approach axis web service. I uploaded the service on tomcat and developed the client generating stubs using the service url. While running the client I got the below error.
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found
How to resolve it.
I am running code first approach axis web service. I uploaded the service on tomcat and developed the client generating stubs using the service url. While running the client I got the below error.
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found
How to resolve it.

Replied on January 18, 2014
You need to check you server code.
1. You have configured @WebService(serviceName="you service name")
2. Create .aar file with same name as your service name
You can also get a reference URL.
http://www.concretepage.com/webservices/axis2-code-first-approach-web-services-in-java
http://www.concretepage.com/webservices/axis2-code-first-approach-web-services-in-java
Hope it will help you.

Replied on January 18, 2014
One more thing, refer implementation class in your services.xml, not the interface.