You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ja...@apache.org on 2005/06/24 16:22:47 UTC

svn commit: r201622 - in /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc: BindingProvider.java Call.java NamespaceConstants.java ServiceFactory.java soap/SOAPBinding.java

Author: jayachandra
Date: Fri Jun 24 07:22:46 2005
New Revision: 201622

URL: http://svn.apache.org/viewcvs?rev=201622&view=rev
Log:
added constants information in the interface files I created
modified   BindingProvider.java
modified   Call.java
modified   NamespaceConstants.java
modified   ServiceFactory.java
modified   soap/SOAPBinding.java

Modified:
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java?rev=201622&r1=201621&r2=201622&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java Fri Jun 24 07:22:46 2005
@@ -30,7 +30,7 @@
 	 * the endpoint address specification must correspond to the 
 	 * protocol/transport binding for the binding in use. 
 	 */
-	static final java.lang.String ENDPOINT_ADDRESS_PROPERTY = null;
+	static final java.lang.String ENDPOINT_ADDRESS_PROPERTY = "javax.xml.rpc.service.endpoint.address";
 	
 	/**
 	 * Standard property: This boolean property is used by a service client to 
@@ -40,36 +40,36 @@
 	 * the session is not maintained. The default value for this property is 
 	 * false.
 	 */
-	static final java.lang.String SESSION_MAINTAIN_PROPERTY = null;
+	static final java.lang.String SESSION_MAINTAIN_PROPERTY = "javax.xml.rpc.session.maintain";
 	
 	/**
 	 * Standard property for SOAPAction. This boolean property indicates 
 	 * whether or not SOAPAction is to be used. The default value of this 
 	 * property is false indicating that the SOAPAction is not used.
 	 */
-	static final java.lang.String SOAPACTION_USE_PROPERTY = null;
+	static final java.lang.String SOAPACTION_USE_PROPERTY = "javax.xml.rpc.soap.http.soapaction.use";
 	
 	/**
 	 * Standard property for SOAPAction. Indicates the SOAPAction URI if the 
 	 * javax.xml.rpc.soap.http.soapaction.use property is set to true.
 	 */
-	static final java.lang.String SOAPACTION_URI_PROPERTY = null;
+	static final java.lang.String SOAPACTION_URI_PROPERTY = "javax.xml.rpc.soap.http.soapaction.uri";
 	
 	/**
 	 * Standard property: Password for authentication.
 	 */
-	static final java.lang.String PASSWORD_PROPERTY = null;
+	static final java.lang.String PASSWORD_PROPERTY = "javax.xml.rpc.security.auth.password";
 	
 	/**
 	 * Standard property: User name for authentication.
 	 */
-	static final java.lang.String USERNAME_PROPERTY = null;
+	static final java.lang.String USERNAME_PROPERTY = "javax.xml.rpc.security.auth.username";
 	
 	/**
 	 * Standard property: JAXB context to use for marshalling arguments in 
 	 * dynamic APIs.
 	 */
-	static final java.lang.String JAXB_CONTEXT_PROPERTY = null;
+	static final java.lang.String JAXB_CONTEXT_PROPERTY = "javax.xml.rpc.binding.context";
 	
 	/**
 	 * Method getRequestContext

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java?rev=201622&r1=201621&r2=201622&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java Fri Jun 24 07:22:46 2005
@@ -31,14 +31,14 @@
 	 * if the operation style is rpc; "document" if the operation style is 
 	 * document.
 	 */
-	static final java.lang.String OPERATION_STYLE_PROPERTY = null;
+	static final java.lang.String OPERATION_STYLE_PROPERTY = "javax.xml.rpc.soap.operation.style";
 	
 	/**
 	 * Standard property for encoding Style: Encoding style specified as a 
 	 * namespace URI. The default value is the SOAP 1.1 encoding 
 	 * http://schemas.xmlsoap.org/soap/encoding/
 	 */
-	static final java.lang.String ENCODINGSTYLE_URI_PROPERTY = null;
+	static final java.lang.String ENCODINGSTYLE_URI_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
 	
 	/**
 	 * Method isParameterAndReturnSpecRequired

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java?rev=201622&r1=201621&r2=201622&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java Fri Jun 24 07:22:46 2005
@@ -28,42 +28,47 @@
 	/**
 	 * Namespace prefix for SOAP Envelope 
 	 */
-	public static final java.lang.String NSPREFIX_SOAP_ENVELOPE = null;
+	public static final java.lang.String NSPREFIX_SOAP_ENVELOPE = "soapenv";
 	
 	/**
 	 * Namespace prefix for SOAP Encoding 
 	 */
-	public static final java.lang.String NSPREFIX_SOAP_ENCODING = null;
+	public static final java.lang.String NSPREFIX_SOAP_ENCODING = "soapenc";
+	
+	/**
+	 * Namespace prefix for XML Schema XSD 
+	 */
+	public static final java.lang.String NSPREFIX_SCHEMA_XSD = "xsd";
 	
 	/**
 	 * Namespace prefix for XML Schema XSI 
 	 */
-	public static final java.lang.String NSPREFIX_SCHEMA_XSI = null;
+	public static final java.lang.String NSPREFIX_SCHEMA_XSI = "xsi";
 	
 	/**
 	 * Nameapace URI for SOAP 1.1 Envelope 
 	 */
-	public static final java.lang.String NSURI_SOAP_ENVELOPE = null;
+	public static final java.lang.String NSURI_SOAP_ENVELOPE = "http://schemas.xmlsoap.org/soap/envelope/";
 	
 	/**
 	 * Nameapace URI for SOAP 1.1 Encoding 
 	 */
-	public static final java.lang.String NSURI_SOAP_ENCODING = null;
+	public static final java.lang.String NSURI_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
 	
 	/**
 	 * Nameapace URI for SOAP 1.1 next actor role 
 	 */
-	public static final java.lang.String NSURI_SOAP_NEXT_ACTOR = null;
+	public static final java.lang.String NSURI_SOAP_NEXT_ACTOR = "http://schemas.xmlsoap.org/soap/actor/next";
 	
 	/**
 	 * Namespace URI for XML Schema XSD 
 	 */
-	public static final java.lang.String NSURI_SCHEMA_XSD = null;
+	public static final java.lang.String NSURI_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
 	
 	/**
 	 * Namespace URI for XML Schema XSI 
 	 */
-	public static final java.lang.String NSURI_SCHEMA_XSI = null;
+	public static final java.lang.String NSURI_SCHEMA_XSI = "http://www.w3.org/2001/XMLSchema-instance";
 	
 	/**
 	 * Empty Constructor

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java?rev=201622&r1=201621&r2=201622&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java Fri Jun 24 07:22:46 2005
@@ -31,7 +31,7 @@
 	 */
 	public static final java.lang.String SERVICEFACTORY_PROPERTY = "javax.xml.rpc.ServiceFactory";
 	
-	public static ServiceFactory serviceFactoryImpl = null;
+	private static ServiceFactory serviceFactoryImpl = null;
 	
 	/**
 	 * Empty constructor
@@ -51,7 +51,7 @@
 			return serviceFactoryImpl;
 		
 		//<TBR>: Comment to be removed
-		//I must be returning the class set using the property 
+		//I must be returning the implementation class set using the property 
 		//SERVICEFACTORY_PROPERTY. This class will be set at the
 		//configuration time(?), using configuration data viz. system props
 		//or XML/properites config files or user and system preference data
@@ -68,7 +68,6 @@
 			Class loadedClass;
 			
 			loadedClass = Thread.currentThread().getContextClassLoader().loadClass(serviceFactoryImplName);
-			
 			serviceFactoryImpl = (ServiceFactory)loadedClass.newInstance();
 		} catch (Exception e) {
 			throw new ServiceException(e);

Modified: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java?rev=201622&r1=201621&r2=201622&view=diff
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java (original)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java Fri Jun 24 07:22:46 2005
@@ -30,12 +30,12 @@
     /**
      * A constant representing the identity of the SOAP 1.1 over HTTP binding.
      */
-    static final java.lang.String SOAP11HTTP_BINDING=null;
+    static final java.lang.String SOAP11HTTP_BINDING = "http://schemas.xmlsoap.org/wsdl/soap/http";
 
     /**
      * A constant representing the identity of the SOAP 1.2 over HTTP binding.
      */
-    static final java.lang.String SOAP12HTTP_BINDING=null;
+    static final java.lang.String SOAP12HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
 
     /**
      * Method getRoles