Forum Discussion

ravinderreddy's avatar
ravinderreddy
Occasional Contributor
10 years ago

Unable to get the Response in SOAP UI..

Hi..

I am unable to get the response when I have executed the request thru SOAP UI tool. The other services are working fine. Don't know what is wrong. The same Service which I am testing is working fine in other tool.It is giving proper response.

 

When I execute the request ,after certain amount of time it is giving "<missing raw response data>". 

Can anyone give me solution for this.????

 

  • Hi nmrao

    It's working now. I have changed WS-A Addressing related settings for SOAP Request.It is like below.

     

    In every SOAP Request,WS-A settings needs to be changed.In WS-A,
    need to check the checkboxes "Enable WS-A Addressing"
    and
    "Add Default wsa To".

     

    Thank you.

     

  • nmrao's avatar
    nmrao
    10 years ago
    Not sure if this is resolved, as it is being marked resolved.

    When you hit the soap request to your application, does it also shows the same info in the raw request tab? Other try adding the missing headers and send the request.
  • nmrao's avatar
    nmrao
    Champion Level 3
    Can you please post the raw request from the other tool that you tried? By the way, have you checked the application log files when the request is hit to the application?
    • ravinderreddy's avatar
      ravinderreddy
      Occasional Contributor

      I was able to get the response from other tool.I am sending the same parameters thru SOAP UI. But it is giving nothing in the response.There is no problem with the Application. 

       

      Here is the Error log of SOAP UI:

      Mon Dec 07 14:06:21 IST 2015:ERROR:java.net.SocketTimeoutException: Read timed out
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(Unknown Source)
      at java.net.SocketInputStream.read(Unknown Source)
      at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
      at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
      at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
      at org.apache.http.impl.conn.LoggingSessionInputBuffer.readLine(LoggingSessionInputBuffer.java:115)
      at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
      at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
      at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
      at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
      at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
      at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doReceiveResponse(HttpClientSupport.java:147)
      at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
      at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
      at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
      at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:290)
      at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:220)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
      at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:79)
      at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:217)
      at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:364)
      at com.eviware.soapui.model.testsuite.TestStep$run.call(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      at Script1$_run_closure1.doCall(Script1.groovy:13)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909)
      at groovy.lang.Closure.call(Closure.java:411)
      at groovy.lang.Closure.call(Closure.java:427)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1325)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1297)
      at org.codehaus.groovy.runtime.dgm$148.invoke(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      at Script1.run(Script1.groovy:7)
      at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)
      at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141)
      at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

       

      Here is SOAP UI Log:

       

      Mon Dec 07 14:03:54 IST 2015:INFO:initialized soapui-settings from [C:\Users\Ravindra Reddy\soapui-settings.xml]
      Mon Dec 07 14:04:02 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar]
      Mon Dec 07 14:04:02 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar]
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:03 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-mqtt-plugin-dist.jar]
      Added AutoFactory for [PluginPrefs]
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginTestStep]
      Added AutoFactory for [PluginTestStep]
      Added AutoFactory for [PluginTestStep]
      Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:03 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar]
      Mon Dec 07 14:04:04 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:04 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:04 IST 2015:INFO:4 plugins loaded in 2184 ms
      Mon Dec 07 14:04:04 IST 2015:INFO:All plugins loaded
      Mon Dec 07 14:04:04 IST 2015:INFO:initialized soapui-settings from [C:\Users\Ravindra Reddy\soapui-settings.xml]
      Mon Dec 07 14:04:05 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar]
      Mon Dec 07 14:04:05 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar]
      Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Added AutoFactory for [PluginPrefs]
      Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:06 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-mqtt-plugin-dist.jar]
      Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginPanelBuilder]
      Added AutoFactory for [PluginTestStep]
      Added AutoFactory for [PluginTestStep]
      Added AutoFactory for [PluginTestStep]
      Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:07 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar]
      Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
      Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
      Mon Dec 07 14:04:07 IST 2015:INFO:4 plugins loaded in 1880 ms
      Mon Dec 07 14:04:07 IST 2015:INFO:All plugins loaded

      • nmrao's avatar
        nmrao
        Champion Level 3
        1. As requested early, posting raw request helps
        2. Try removing readyapi plugins from 'C:\Users\Ravindra Reddy\.soapuios\plugins\'. Do not forget to have backup of these files while doing so.
        3. Are you running any groovy script? Can see for the log.
  • maybe you need to check http log from soapUI and ensure endpoint is reachable from your pc client.