When the client calls, the following errors are found in the package:
rg.codehaus.xfire.fault.XFireFault: There must be a method name element.
at org.codehaus.xfire.service.binding.RPCBinding.readMessage(RPCBinding.java:36)
There is a problem with the URL in the client code. Just remove ?wsdl
That is to say:
String url = "http://localhost:8080/xfire/services/AdvancedService?wsdl";
Amend to read:
String url = "http://localhost:8080/xfire/services/AdvancedService";
It’s OK.
Read More:
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org
- [Solved] ERROR org.springframework.boot.SpringApplication – Application run failed org.yaml.snakeyaml.scanner
- [Solved] org.springframework.context.ApplicationContextException: Failed to start bean ‘org.springframework.a
- [Solved] org.hibernate.exception.SQLGrammarException: could not extract ResultSet at org.hibernate.exception
- [Solved] java.lang.IllegalAccessError: class org.springframework.data.redis.core.$ Proxy237 cannot access its superinterface org.springframework.data.redis.core.RedisConnectionUtils$RedisConnectionProxy
- [Solved] org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject…
- [Solved] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
- [Solved] org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot
- [Solved] org.springframework.beans.factory.UnsatisfiedDependencyException
- [Solved] SpringBoot Error: org.springframework.http.converter.HttpMessageNotReadableException
- [Solved] org.thymeleaf.exceptions.TemplateInputException: Error resolving template
- [Solved] nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider method
- [Integrate the mobile MAS SMS service] SDK start error: NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtil
- [Solved] org.apache.flink.client.program.ProgramInvocationException: The main method caused an error
- [Solved] org.thymeleaf.exceptions.TemplateInputException: Error resolving template
- [Solved] JSP tag forwarding forword error: org.apache.jasper.JasperException
- Solve the use of declaration transactions in spring java.lang.NoClassDefFoundError: org/aspectj/util/PartialOrder$PartialComparable
- [Solved] org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is
- [Solved] Java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactory
- [Solved] MVN Build Project Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test