Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SOAP UI - "Error getting response"

Tags:

soapui

I am trying to use SOAP UI by connecting to my organization's VPN from home. But I am getting this error -

"Error getting response: org.apache.http.conn.HttpHostConnectException: Connection to https ://xxx.xxxxxxx.xxxxxx.xxx:xxxx refused"

How can I get rid of this error ? Does it has to do something with the SOAP UI settings?

Edit - Below is the error.log file

Wed May 01 13:57:00 *** 2013:ERROR:org.apache.http.conn.HttpHostConnectException: Connection to http://stage2cpplvs52.qa.paypal.com:7021 refused
   org.apache.http.conn.HttpHostConnectException: Connection to http://stage2cpplvs52.qa.paypal.com:7021 refused
    at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:321)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
    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:236)
    at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:345)
    at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:241)
    at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
   Caused by: java.net.ConnectException: Connection timed out: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
    at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:299)
    ... 16 more
like image 262
R11G Avatar asked Jan 03 '13 10:01

R11G


2 Answers

Go to file > Preferences >Proxy settings and set Proxy to :None

Just try like this

like image 107
user3505168 Avatar answered Oct 19 '22 04:10

user3505168


This issue in corporate sectors is due to "Environment & Port Access not provided to your User ID".

So contact the Corporate Network service team and request for access to the folder.

How to notice this issue?

Go to command prompt,

enter the following command,

ping "endpoint url"

press enter.

if you are not getting any response, that means u dont have access to that URL(Call your system administrator and request access to that URL).

if you got response,

then in command prompt enter following command,

telnet "endpoint URL" "port number"

press enter.

if you didn't get response, it means you don't have permission to access the port of that specific "endpoint url". So request your system administrator to provide access to that url and the specific port

like image 22
siva Arivalagan Avatar answered Oct 19 '22 03:10

siva Arivalagan