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.





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


Hope it will help you.



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

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us