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

Leave a comment