日期:2014-05-18  浏览次数:20729 次

WebService 大神快来
下面我开始讲逻辑,会有点混乱。

我们系统做一个webservice,贡其他系统调用插入数据库。  

我们系统会做三件事情,1入库,2匹配,3核销。其他系统调用我们的webservice的时候,在入库的时候我们就返回了相关数据,其中匹配和核销是在我们server端起一个线程中完成的,核销的内部呢,是再起一个线程去调用别人的webservice,就在调用别人的webservice的地方,报错。

求加班的骚年们,大神们 看看。 不懂地方我回帖。



javax.xml.ws.WebServiceException: Could not send Message.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)
at $Proxy2601.writeOff(Unknown Source)
at com.sinochem.wyhx.zdhx.bo.WsBO.rimWriteOffFund(WsBO.java:292)
at com.sinochem.wyhx.zdhx.bo.RimWsBO.rimRentHx(RimWsBO.java:187)
at com.sinochem.wyhx.zdhx.bo.RimWsBO$$FastClassByCGLIB$$567830f3.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:132)
at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:337)
at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:949)
at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:510)
at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:127)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at com.sinochem.wyhx.zdhx.bo.RimWsBO$$EnhancerByCGLIB$$aaf3632e.rimRentHx(<generated>)
at com.sinochem.wyhx.zdhx.bo.FetchWorkflowThread.callWS(FetchWorkflowThread.java:284)
at com.sinochem.wyhx.zdhx.bo.FetchWorkflowThread.run(FetchWorkflowThread.java:91)
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://172.16.80.164:9080/rim_uat/services/RentWebService
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1196)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2305)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2274)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2119)
at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:695)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.a