butek 02/03/27 05:35:56
Modified: java TODO.txt
java/src/javax/xml/rpc Stub.java
java/src/org/apache/axis/client Stub.java
Log:
I brought the Stub interface/implementation up to JAX-RPC 0.8 snuff, which
meant simply moving the standard property constants from the implementation
to the interface.
Revision Changes Path
1.28 +1 -0 xml-axis/java/TODO.txt
Index: TODO.txt
===================================================================
RCS file: /home/cvs/xml-axis/java/TODO.txt,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- TODO.txt 26 Mar 2002 22:34:23 -0000 1.27
+++ TODO.txt 27 Mar 2002 13:35:56 -0000 1.28
@@ -20,6 +20,7 @@
! <> Implement Service.getCalls() method. (maybe)
! <> Implement generated Services' getCalls() method.
! <> Implement Service.getHandlerRegistry() method.
+! <> Remove standard property constants from org.apache.axis.client.Call after a
reasonable period of time has gone by for folks to see the deprecation tags on them.
SOAP 1.2 SUPPORT
----------------
1.6 +21 -0 xml-axis/java/src/javax/xml/rpc/Stub.java
Index: Stub.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/javax/xml/rpc/Stub.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Stub.java 28 Jan 2002 20:50:13 -0000 1.5
+++ Stub.java 27 Mar 2002 13:35:56 -0000 1.6
@@ -61,6 +61,27 @@
*/
public interface Stub {
+ // Constants for the standard properties
+ /**
+ * User name for authentication.
+ */
+ public static final String USERNAME_PROPERTY = Call.USERNAME_PROPERTY;
+ /**
+ * Password for authentication.
+ */
+ public static final String PASSWORD_PROPERTY = Call.PASSWORD_PROPERTY;
+ /**
+ * Target service endpoint address.
+ */
+ public static final String ADDRESS_PROPERTY =
+ Call.ENDPOINT_ADDRESS_PROPERTY;
+ /**
+ * This boolean property is used by a service client to indicate
+ * whether or not it wants to participate in a session with a service
+ * endpoint.
+ */
+ public static final String SESSION_MAINTAIN_PROPERTY =
Call.SESSION_MAINTAIN_PROPERTY;
+
/**
* Sets the value for a named property. JAX-RPC 1.0 specification
* specifies a standard set of properties that may be passed
1.8 +0 -19 xml-axis/java/src/org/apache/axis/client/Stub.java
Index: Stub.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/client/Stub.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Stub.java 21 Mar 2002 16:30:40 -0000 1.7
+++ Stub.java 27 Mar 2002 13:35:56 -0000 1.8
@@ -73,25 +73,6 @@
public abstract class Stub implements javax.xml.rpc.Stub {
- // Constants for the standard properties
- /**
- * @deprecated Use javax.xml.rpc.Call.USERNAME_PROPERTY instead.
- */
- public static final String USERNAME_PROPERTY = Call.USERNAME_PROPERTY;
- /**
- * @deprecated Use javax.xml.rpc.Call.PASSWORD_PROPERTY instead.
- */
- public static final String PASSWORD_PROPERTY = Call.PASSWORD_PROPERTY;
- /**
- * @deprecated Use javax.xml.rpc.Call.ENDPOINT_ADDRESS_PROPERTY instead.
- */
- public static final String ADDRESS_PROPERTY =
- Call.ENDPOINT_ADDRESS_PROPERTY;
- /**
- * @deprecated Use javax.xml.rpc.Call.SESSION_MAINTAIN_PROPERTY instead.
- */
- public static final String SESSION_PROPERTY = Call.SESSION_MAINTAIN_PROPERTY;
-
protected Service service = null;
// If maintainSessionSet is true, then setMaintainSession