Author: alessio.soldano(a)jboss.com
Date: 2010-10-14 04:09:02 -0400 (Thu, 14 Oct 2010)
New Revision: 13115
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
Log:
[JBWS-3084] Enable autoRedirect for HTTP GET (required by TCK)
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2010-10-13
14:20:40 UTC (rev 13114)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/saaj/SOAPConnectionImpl.java 2010-10-14
08:09:02 UTC (rev 13115)
@@ -146,6 +146,11 @@
try
{
final Conduit c = ci.getConduit(info);
+
+ if (c instanceof HTTPConduit)
+ {
+ ((HTTPConduit)c).getClient().setAutoRedirect(true);
+ }
outMessage.put(Message.HTTP_REQUEST_METHOD, "GET");
c.prepare(outMessage);
Show replies by date