安卓客户端调用XFire服务器时突然出现异常 org.codehaus.xfire.fault.XFireFault: Invalid operation:

张博玥 发布于 2014/06/25 23:31
阅读 2K+
收藏 0
信息: Fault occurred!
org.codehaus.xfire.fault.XFireFault: Invalid operation: {http://www.zby.com/}LoginService
at org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:42)
at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:304)
at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:129)
at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
这是全部的异常信息, 不知道哪里错了
配置XML如下:
<service xmlns="http://xfire.codehaus.org/config/1.0"
         xmlns:s="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
      <name>LoginService</name>
      <namespace>http://www.zby.com/</namespace>
      <serviceClass>com.xFire.service.loginOrRegisterService.LoginOrRegisterService</serviceClass>
      <implementationClass>com.xFire.service.impl.loginOrRegisterService.LoginOrRegisterServiceImpl</implementationClass>
      <style>wrapped</style>
      <use>literal</use>
      <scope>application</scope>
</service>

方法的map如下:
<?xml version="1.0" encoding="UTF-8"?>
<mappings>
    <mapping>
        <method name="isAccountRegistered">
            <parameter index="0" componentType="java.lang.String" />
            <parameter index="1" componentType="java.lang.String" />
            <return-type componentType="java.lang.String" />
        </method>
    </mapping>
</mappings>
加载中
返回顶部
顶部