|
From: <jbo...@li...> - 2006-07-04 09:54:09
|
Author: hei...@jb...
Date: 2006-07-04 05:54:05 -0400 (Tue, 04 Jul 2006)
New Revision: 547
Modified:
branches/jbossws-1.0/src/main/java/org/jboss/ws/jaxrpc/CallImpl.java
Log:
clear thread locals on client side
Modified: branches/jbossws-1.0/src/main/java/org/jboss/ws/jaxrpc/CallImpl.java
===================================================================
--- branches/jbossws-1.0/src/main/java/org/jboss/ws/jaxrpc/CallImpl.java 2006-07-04 09:50:00 UTC (rev 546)
+++ branches/jbossws-1.0/src/main/java/org/jboss/ws/jaxrpc/CallImpl.java 2006-07-04 09:54:05 UTC (rev 547)
@@ -76,6 +76,7 @@
import org.jboss.ws.soap.SOAPMessageContextImpl;
import org.jboss.ws.utils.HolderUtils;
import org.jboss.ws.utils.JavaUtils;
+import org.jboss.ws.utils.ThreadLocalAssociation;
/** Provides support for the dynamic invocation of a service endpoint.
* The javax.xml.rpc.Service interface acts as a factory for the creation of Call instances.
@@ -116,7 +117,7 @@
standardProperties.add(Call.SOAPACTION_USE_PROPERTY);
standardProperties.add(Call.USERNAME_PROPERTY);
standardProperties.add(Call.PASSWORD_PROPERTY);
-
+
standardProperties.add(Stub.ENDPOINT_ADDRESS_PROPERTY);
standardProperties.add(Stub.SESSION_MAINTAIN_PROPERTY);
standardProperties.add(Stub.USERNAME_PROPERTY);
@@ -716,6 +717,8 @@
// Reset the message context association
MessageContextAssociation.popMessageContext();
+
+ ThreadLocalAssociation.clear();
}
}
|