Forum Discussion

dbspace's avatar
dbspace
New Contributor
16 years ago

Error getting response; java.lang.IllegalArgumentException

I am using soupui to test a soap request to a backend server front by a load balancer. The load balancer redirect any traffic from port 80 to port 443. So I set the follow redirect to true on the request, but I get the following error message
java.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without user intervention
java.lang.IllegalArgumentException: Entity enclosing requests cannot be redirected without user intervention
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.setFollowRedirects(EntityEnclosingMethod.java:225)
at com.eviware.soapui.impl.wsdl.submit.filters.HttpSettingsRequestFilter.filterAbstractHttpRequest(HttpSettingsRequestFilter.java:88)
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:31)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:130)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
If I go straight from 443 then the test run just fine.