Error message

[HSF-Provider] The method to be called cannot be found.

Solution

  • The provider does not provide this method. Log on to the Enterprise Distributed Application Service (EDAS) console, click Application Management. On the page that appears, click the name of the application corresponding to the service provider to go to the Application Details page. In the left-side navigation pane, click Services and check whether the corresponding service is published.
  • An earlier version and a later version of the service coexist. The incorrect version is called. View the details of the service by using the preceding method.
  • The interfaces of the provider and the consumer are inconsistent. For example, the provider provides java.lang.Double, whereas the consumer uses double to call the provider.
  • Inconsistent interface classes are loaded for the provider and consumer. Check whether the MD5 values in the interface-contained JAR packages of the provider and consumer are consistent.