开发者社区> 问答> 正文

webservice调用出错,,大神帮忙看看 400 请求报错 

LOG[2017-08-08 13:56:37.009] org.xml.sax.SAXException: Deserializing parameter 'arg0':  could not find deserializer for type {http://schemas.xmlsoap.org/soap/encoding/}string AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException  faultSubcode:   faultString: org.xml.sax.SAXException: Deserializing parameter 'arg0':  could not find deserializer for type {http://schemas.xmlsoap.org/soap/encoding/}string  faultActor:   faultNode:   faultDetail:      {http://xml.apache.org/axis/}hostname:WIN-LE38SPM408D org.xml.sax.SAXException: Deserializing parameter 'arg0':  could not find deserializer for type {http://schemas.xmlsoap.org/soap/encoding/}string     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:606)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1742)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2900)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)     at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)     at org.apache.axis.client.Call.invoke(Call.java:2767)     at org.apache.axis.client.Call.invoke(Call.java:2443)     at org.apache.axis.client.Call.invoke(Call.java:2366)     at org.apache.axis.client.Call.invoke(Call.java:1812)     at com.crm.app.card.CardSendInfoFunction.work(CardSendInfoFunction.java:53)     at com.gino.basic.rmi.adapter.FunctionSupport.execute(FunctionSupport.java:72)     at com.gino.basic.rmi.LocalInvoker.execute(LocalInvoker.java:41)     at com.gino.basic.rmi.FunctionExecuter.invoke(FunctionExecuter.java:42)     at com.gino.basic.ui.web.view.intercept.FunctionIntercept.executeFunction(FunctionIntercept.java:69)     at com.gino.basic.ui.web.view.intercept.FunctionIntercept.execute(FunctionIntercept.java:47)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.view.InterceptDispatcher.next(InterceptDispatcher.java:22)     at com.gino.basic.ui.web.view.intercept.LoginIntercept.execute(LoginIntercept.java:59)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.view.InterceptDispatcher.next(InterceptDispatcher.java:22)     at com.crm.core.AppLoginIntercept.execute(AppLoginIntercept.java:84)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.view.InterceptDispatcher.next(InterceptDispatcher.java:22)     at com.gino.weixin.intercept.WXLoginIntercept.execute(WXLoginIntercept.java:83)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.view.InterceptDispatcher.next(InterceptDispatcher.java:22)     at com.gino.basic.ui.web.view.intercept.FileIntercept.execute(FileIntercept.java:73)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.view.InterceptDispatcher.next(InterceptDispatcher.java:22)     at com.gino.basic.ui.web.view.intercept.ParameterIntercept.execute(ParameterIntercept.java:61)     at com.gino.basic.ui.web.view.InterceptDispatcher.execute(InterceptDispatcher.java:28)     at com.gino.basic.ui.web.action.WebAction.execute(WebAction.java:49)     at com.gino.basic.core.WebServer.fetch(WebServer.java:96)     at com.gino.cloud.server.CloudServer.fetch(CloudServer.java:58)     at com.gino.basic.core.Server.work(Server.java:283)     at com.gino.basic.core.GinoServlet.service(GinoServlet.java:30)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)     at java.lang.Thread.run(Thread.java:722)

展开
收起
kun坤 2020-05-28 16:31:29 968 0
1 条回答
写回答
取消 提交回答
  • 参数类型不对····eclipse idea  有反向生成client····试下···没必要硬写浪费时间

    2020-05-29 11:09:38
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关实验场景

更多