[ERROR] The service cannot is found for the endpoint reference (EPR)/axis2 ...

Source: Internet
Author: User

The company next project used to Webservice+axis2, so in the free after the start of self-study. Here is an error in the Address bar to fill in the wrong, in this record, hoping to help others.

Access address

Http://localhost:8088/axis2/services/listServices/getPrice

Control Desk

[ERROR] The service cannot is found for the endpoint reference (EPR)/axis2/services/listservices/getprice
Org.apache.axis2.AxisFault:The service cannot is found for the endpoint reference (EPR)/axis2/services/listservices/get Price
At Org.apache.axis2.engine.DispatchPhase.checkPostConditions (dispatchphase.java:65)
At Org.apache.axis2.engine.Phase.invoke (phase.java:334)
At Org.apache.axis2.engine.AxisEngine.invoke (axisengine.java:251)
At Org.apache.axis2.engine.AxisEngine.receive (axisengine.java:160)
At Org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine (restutil.java:135)
At Org.apache.axis2.transport.http.util.RESTUtil.processURLRequest (restutil.java:130)
At Org.apache.axis2.transport.http.axisservlet$restrequestprocessor.processurlrequest (AxisServlet.java:838)
At Org.apache.axis2.transport.http.AxisServlet.doGet (axisservlet.java:262)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:617)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:717)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:290)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:233)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:191)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:127)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:102)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:109)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:298)
At Org.apache.coyote.http11.Http11Processor.process (http11processor.java:859)
At Org.apache.coyote.http11.http11protocol$http11connectionhandler.process (http11protocol.java:588)
At Org.apache.tomcat.util.net.jioendpoint$worker.run (jioendpoint.java:489)
At Java.lang.Thread.run (thread.java:619)

Problem solving

Http://localhost:8088/axis2/services/SimpleService/getPrice


Explain

Http://localhost:8088/axis2/services/listServices/used to test whether the class was published successfully

Http://localhost:8088/axis2/services/SimpleService/getPrice Calling Server methods

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.