银企平台750,与建设银行进行对接;
进行银企平台查询余额报错:“不是xml格式 :HTTP/1.0 400 Bad request”,请哪位高手看一下
日志如下:
[2016-06-21 11:41:57,206 INFO at com.kingdee.bos.ebgateway.log.AbstractLog4jImpl.info(AbstractLog4jImpl.java:61)]
银企平台中有这个账号
[2016-06-21 11:41:57,538 ERROR at com.kingdee.bos.ebgateway.log.AbstractLog4jImpl.error(AbstractLog4jImpl.java:39)]
银企中间件抛向业务系统的异常:中国建设银行股份有限公司青岛市南第三支行的账号37150198661000000120,查询余额时,发生了异常
[cause by] [不是xml格式 :HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
400 Bad request
Your browser sent an invalid request.
]
com.kingdee.bos.ebgateway.exception.BankServiceException: 中国建设银行股份有限公司青岛市南第三支行的账号37150198661000000120,查询余额时,发生了异常
[cause by] [不是xml格式 :HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
400 Bad request
Your browser sent an invalid request.
]
at com.kingdee.bos.ebgateway.exception.BankServiceExceptionConverter.convert(BankServiceExceptionConverter.java:52)
at com.kingdee.bos.ebgateway.framework.method.BalanceProcessor.balance(BalanceProcessor.java:111)
at com.kingdee.bos.ebgateway.framework.method.BalanceProcessor.getBalance(BalanceProcessor.java:34)
at com.kingdee.bos.ebgateway.framework.method.BalanceMethod.executeClientRequest(BalanceMethod.java:134)
at com.kingdee.bos.ebgateway.framework.EBServiceBizMethod.invoke(EBServiceBizMethod.java:112)
at com.kingdee.bos.ebgateway.framework.EbgServiceInvoker.invoke(EbgServiceInvoker.java:38)
at $Proxy7.balance(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
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.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: com.kingdee.bos.ebgateway.exception.BankServiceException: 不是xml格式 :HTTP/1.0 400 Bad request
Cache-Control: no-cache
Connection: close
Content-Type: text/html
400 Bad request
Your browser sent an invalid request.
at com.kingdee.bos.ebgateway.exception.BankServiceExceptionConverter.convert(BankServiceExceptionConverter.java:58)
at com.kingdee.bos.ebgateway.utils.JDomUtils.string2Document(JDomUtils.java:180)
at com.kingdee.bos.ebgateway.utils.JDomUtils.string2Root(JDomUtils.java:154)
at com.kingdee.bos.ebservice.banks.ccb.dc.services.CCB_DC_Parser.parseString2Root(CCB_DC_Parser.java:15)
at com.kingdee.bos.ebservice.banks.ccb.dc.services.balance.TodayBalanceParser.parseTodayBalance(TodayBalanceParser.java:27)
at com.kingdee.bos.ebservice.banks.services.balance.AbstractBalanceImpl.balance(AbstractBalanceImpl.java:77)
at com.kingdee.bos.ebgateway.framework.method.BalanceProcessor.balance(BalanceProcessor.java:106)
... 39 more
Caused by: org.jdom.input.JDOMParseException: Error on line 1: Content is not allowed in prolog.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:533)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:865)
at com.kingdee.bos.ebgateway.utils.JDomUtils.string2Document(JDomUtils.java:174)
... 44 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:518)
... 46 more