1 Reply Latest reply on Oct 21, 2009 9:04 AM by elvay

    Web Service - Invoke Web Service not trapping errors

    Mark Lindberg Level 2
      Greetings All:
      I am having an issue trying to trap errors coming out of the Invoke Web Service service.
      I have a Fault Route set up for SYSTEM EXCEPTION, and direct it to an ExecuteScript service.
      If the process I am developing fails, it appears to leave the web service "open". The next time the process is invoked, it will fail on the Web Service call.
      When my process fails, this failure route is never taken.

      I do not know why the initial failure does not "clean-up" after itself.
      I also do not know why the Web Service call does not follow the failure route.

      This is a turnkey 8.2 install on Windows Server 2003 running JBoss.

      Any assistance on how to overcome these problems would be greatly appreciated.

      Thank You
      Mark

      My process dies with the following ending up in the system log:

      2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.impl.wsdl.WsdlSubmit] Exception in request: java.net.SocketException: Connection reset
      2009-03-12 16:53:18,144 ERROR [com.eviware.soapui.SoapUI] An error occured [Connection reset], see error log for details
      2009-03-12 16:53:18,144 ERROR [soapui.errorlog] java.net.SocketException: Connection reset
      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
      at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
      at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
      at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.re adLine(MultiThreadedHttpConnectionManager.java:1382)
      at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
      at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.TimeablePostMethod.readResponse(Timea blePostMethod.java:56)
      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java :397)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:17 0)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendReques t(HttpClientRequestTransport.java:142)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:112)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:72)
      at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:370)
      at com.adobe.idp.dsc.webservice.WebServiceSoapUIInvoker.invoke(WebServiceSoapUIInvoker.java: 126)
      at com.adobe.idp.dsc.webservice.WebServiceImpl.invoke(WebServiceImpl.java:93)
      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:585)
      at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
      at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
      at sun.reflect.Ge