SoapUI 5.0.0: org.apache.http.NoHttpResponseException: The target server failed to respond

Situation

When I use SoapUI 5.0.0 to run a WebService, an error occurs:
org.apache.http.NoHttpResponseException: The target server failed to respond…

SoapUI 3.6 can successfully execute the same WebService but SoapUI 5.0.0 failed.

Solution

I think some properties of SoapUI may not set right. I found out I should enable “Expect-Continue” and everything goes fine now.

File→HTTP Settings→Expect-Continue: Adds Expect-Continue header to outgoing request

Reference:
http://www.soapui.org/Working-with-soapUI/preferences.html
rfc 2616

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s