ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashut...@apache.org
Subject svn commit: r191659 [1/2] - in /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc: ./ encoding/ handler/ handler/soap/ holders/ security/ server/ soap/
Date Tue, 21 Jun 2005 14:12:34 GMT
Author: ashutosh
Date: Tue Jun 21 07:12:31 2005
New Revision: 191659

URL: http://svn.apache.org/viewcvs?rev=191659&view=rev
Log:
Jax-Ws 2.0 interfaces and classes

Added:
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/AsyncHandler.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Binding.java
    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/Dispatch.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/LogicalMessage.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/ParameterMode.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Provider.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Response.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Service.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.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/Stub.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializationContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Deserializer.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializerFactory.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializationContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Serializer.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializerFactory.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMapping.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMappingRegistry.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/XMLType.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/GenericHandler.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/Handler.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerChain.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerInfo.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerLifecycle.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerRegistry.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/LogicalMessageContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/MessageContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/SOAPMessageContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigDecimalHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigIntegerHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteArrayHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/CalendarHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/GenericHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/Holder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntegerWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ObjectHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/QNameHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortWrapperHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/StringHolder.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/SecurityConfiguration.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServiceLifecycle.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServletEndpointContext.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java
    webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPFaultException.java

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/AsyncHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/AsyncHandler.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/AsyncHandler.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/AsyncHandler.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,21 @@
+/*
+ * Created on Jun 17, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class AsyncHandler {
+
+	void handleResponse(Response<T> res) {
+		
+	}
+	
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Binding.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Binding.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Binding.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Binding.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,21 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+import java.util.List;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Binding {
+	
+	List<HandlerInfo> getHandlerChain();
+
+}

Added: 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=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/BindingProvider.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,91 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface BindingProvider {
+	
+	/**
+	 * Standard property: Target service endpoint address. The URI scheme for 
+	 * 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;
+	
+	/**
+	 * Standard 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. If this property is set to true, the service client 
+	 * indicates that it wants the session to be maintained. If set to false, 
+	 * the session is not maintained. The default value for this property is 
+	 * false.
+	 */
+	static final java.lang.String SESSION_MAINTAIN_PROPERTY = null;
+	
+	/**
+	 * 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;
+	
+	/**
+	 * 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;
+	
+	/**
+	 * Standard property: Password for authentication.
+	 */
+	static final java.lang.String PASSWORD_PROPERTY = null;
+	
+	/**
+	 * Standard property: User name for authentication.
+	 */
+	static final java.lang.String USERNAME_PROPERTY = null;
+	
+	/**
+	 * Standard property: JAXB context to use for marshalling arguments in 
+	 * dynamic APIs.
+	 */
+	static final java.lang.String JAXB_CONTEXT_PROPERTY = null;
+	
+	/**
+	 * Method getRequestContext
+	 * Get the JAXRPCContext that is used to initialize the message context 
+	 * for request messages. Modifications to the request context do not 
+	 * affect the message context of either synchronous or asynchronous 
+	 * operations that have already been started.
+	 * @return The JAXRPCContext that is used in processing request messages.
+	 */
+	JAXRPCContext getRequestContext();
+	
+	/**
+	 * Method getResponseContext
+	 * Get the JAXRPCContext that resulted from processing a response message. 
+	 * The returned context is for the most recently completed synchronous 
+	 * operation. Subsequent synchronous operation invocations overwrite the 
+	 * response context. Asynchronous operations return their response context 
+	 * via the Response interface.
+	 * @return The JAXRPCContext that resulted from processing the latest 
+	 * response messages.
+	 */
+	JAXRPCContext getResponseContext();
+	
+	/**
+	 * Method getBinding
+	 * Get the Binding for this binding provider.
+	 * @return The Binding for this binding provider.
+	 */
+	Binding getBinding();
+}

Added: 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=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Call.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,272 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Call extends BindingProvider{
+	
+	/**
+	 * Standard property for operation style. This property is set to "rpc" 
+	 * if the operation style is rpc; "document" if the operation style is 
+	 * document.
+	 */
+	static final java.lang.String OPERATION_STYLE_PROPERTY = null;
+	
+	/**
+	 * 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;
+	
+	/**
+	 * Method isParameterAndReturnSpecRequired
+	 * Indicates whether addParameter and setReturnType methods are to be 
+	 * invoked to specify the parameter and return type specification for a 
+	 * specific operation.
+	 * @param operationName Qualified name of the operation
+	 * @return Returns true if the Call implementation class requires 
+	 * addParameter and setReturnType to be invoked in the client code for 
+	 * the specified operation. This method returns false otherwise.
+	 * @throws java.lang.IllegalArgumentException - If invalid operation name 
+	 * is specified
+	 */
+	boolean isParameterAndReturnSpecRequired(javax.xml.namespace.QName operationName) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Method addParameter
+	 * Adds a parameter type and mode for a specific operation. Note that the 
+	 * client code may not call any addParameter and setReturnType methods 
+	 * before calling the invoke method. In this case, the Call implementation 
+	 * class determines the parameter types by using reflection on parameters, 
+	 * using the WSDL description and configured type mapping registry.
+	 * @param paramName Name of the parameter
+	 * @param xmlType XML type of the parameter
+	 * @param parameterMode Mode of the parameter-whether ParameterMode.IN, 
+	 * ParameterMode.OUT, or ParameterMode.INOUT
+	 * @throws javax.xml.rpc.JAXRPCException This exception may be thrown if 
+	 * the method isParameterAndReturnSpecRequired returns false for this operation.
+	 * @throws java.lang.IllegalArgumentException If any illegal parameter 
+	 * name or XML type is specified
+	 */
+	void addParameter(java.lang.String paramName,
+            javax.xml.namespace.QName xmlType,
+            ParameterMode parameterMode) throws javax.xml.rpc.JAXRPCException,
+			java.lang.IllegalArgumentException;
+			
+	/**
+	 * Method addParameter
+	 * Adds a parameter type and mode for a specific operation. This method is 
+	 * used to specify the Java type for either OUT or INOUT parameters. 
+	 * @param paramName Name of the parameter
+	 * @param xmlType XML type of the parameter
+	 * @param javaType Java class of the parameter
+	 * @param parameterMode Mode of the parameter-whether ParameterMode.IN, 
+	 * OUT or INOUT 
+	 * @throws java.lang.IllegalArgumentException If any illegal parameter 
+	 * name or XML type is specified 
+	 * @throws java.lang.UnsupportedOperationException If this method is not 
+	 * supported
+	 * @throws javax.xml.rpc.JAXRPCException 
+	 * 1.This exception may be thrown if this method is invoked when the method isParameterAndReturnSpecRequired returns false.
+	 * 2.If specified XML type and Java type mapping is not valid. For example, TypeMappingRegistry has no serializers for this mapping. 
+	 */
+	void addParameter(java.lang.String paramName,
+            javax.xml.namespace.QName xmlType,
+            java.lang.Class javaType,
+            ParameterMode parameterMode) throws java.lang.IllegalArgumentException,
+			java.lang.UnsupportedOperationException, javax.xml.rpc.JAXRPCException;
+	
+	/**
+	 * Method getParameterTypeByName
+	 * Gets the XML type of a parameter by name 
+	 * @param paramName Name of the parameter
+	 * @return Returns XML type for the specified parameter
+	 */
+	javax.xml.namespace.QName getParameterTypeByName(java.lang.String paramName);
+	
+	/**
+	 * Method setReturnType
+	 * Sets the return type for a specific operation. Invoking 
+	 * setReturnType(null) removes the return type for this Call object. 
+	 * @param xmlType XML data type of the return value
+	 * @throws javax.xml.rpc.JAXRPCException This exception may be thrown when 
+	 * the method isParameterAndReturnSpecRequired returns false. 
+	 * @throws java.lang.IllegalArgumentException If an illegal XML type is specified 
+	 */
+	void setReturnType(javax.xml.namespace.QName xmlType) throws javax.xml.rpc.JAXRPCException,
+	java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Method setReturnType
+	 * Sets the return type for a specific operation.
+	 * @param xmlType XML data type of the return value
+	 * @param javaType Java Class of the return value
+	 * @throws java.lang.UnsupportedOperationException If this method is not supported 
+	 * @throws java.lang.IllegalArgumentException If an illegal XML type is specified
+	 * @throws javax.xml.rpc.JAXRPCException
+	 * 1. This exception may be thrown if this method is invoked when the method isParameterAndReturnSpecRequired returns false.
+	 * 2. If XML type and Java type cannot be mapped using the standard type mapping or TypeMapping registry
+	 */
+	void setReturnType(javax.xml.namespace.QName xmlType,
+            java.lang.Class javaType) throws java.lang.UnsupportedOperationException,
+			java.lang.IllegalArgumentException,
+			javax.xml.rpc.JAXRPCException;
+
+	/**
+	 * Method getReturnType
+	 * Gets the return type for a specific operation
+	 * @return Returns the XML type for the return value
+	 */
+	javax.xml.namespace.QName getReturnType();
+	
+	/**
+	 * Method removeAllParameters
+	 * Removes all specified parameters from this Call instance. Note that this method removes only the parameters and not the return type. The setReturnType(null) is used to remove the return type.
+	 * @throws javax.xml.rpc.JAXRPCException This exception may be thrown If this method is called when the method isParameterAndReturnSpecRequired returns false for this Call's operation.
+	 */
+	void removeAllParameters() throws javax.xml.rpc.JAXRPCException;
+	
+	/**
+	 * Method getOperationName
+	 * Gets the name of the operation to be invoked using this Call instance.
+	 * @return Qualified name of the operation
+	 */
+	javax.xml.namespace.QName getOperationName();
+	
+	/**
+	 * Method setOperationName
+	 * Sets the name of the operation to be invoked using this Call instance. 
+	 * @param operationName QName of the operation to be invoked using the Call instance
+	 */
+	void setOperationName(javax.xml.namespace.QName operationName);
+	
+	/**
+	 * Method getPortTypeName
+	 * Gets the qualified name of the port type.
+	 * @return Qualified name of the port type
+	 */
+	javax.xml.namespace.QName getPortTypeName();
+	
+	/**
+	 * Method setPortTypeName
+	 * Sets the qualified name of the port type. 
+	 * @param portType Qualified name of the port type
+	 */
+	void setPortTypeName(javax.xml.namespace.QName portType);
+	
+	/**
+	 * Method setTargetEndpointAddress
+	 * Sets the address of the target service endpoint. This address must correspond to the transport specified in the binding for this Call instance.
+	 * @param address Address of the target service endpoint; specified as an URI
+	 */
+	void setTargetEndpointAddress(java.lang.String address);
+	
+	/**
+	 * Method getTargetEndpointAddress
+	 * Gets the address of a target service endpoint. 
+	 * @return Address of the target service endpoint as an URI
+	 */
+	java.lang.String getTargetEndpointAddress();
+	
+	/**
+	 * Method setProperty
+	 * Sets the value for a named property. JAX-RPC specification specifies a standard set of properties that may be passed to the Call.setProperty method.
+	 * @param name Name of the property
+	 * @param value Value of the property
+	 * @throws javax.xml.rpc.JAXRPCException
+	 * 1. If an optional standard property name is specified, however this Call implementation class does not support the configuration of this property.
+	 * 2. If an invalid (or unsupported) property name is specified or if a value of mismatched property type is passed.
+	 * 3. If there is any error in the configuration of a valid property.
+	 */
+	void setProperty(java.lang.String name,
+            java.lang.Object value) throws javax.xml.rpc.JAXRPCException;
+	
+	/**
+	 * Method getProperty
+	 * Gets the value of a named property. 
+	 * @param name Name of the property
+	 * @return Value of the named property
+	 * @throws javax.xml.rpc.JAXRPCException if an invalid or unsupported property name is passed.
+	 */
+	java.lang.Object getProperty(java.lang.String name);
+	
+	/**
+	 * Method removeProperty
+	 * Removes a named property.
+	 * @param name Name of the property
+	 * @throws javax.xml.rpc.JAXRPCException if an invalid or unsupported property name is passed.
+	 */
+	void removeProperty(java.lang.String name);
+	
+	/**
+	 * Method getPropertyNames
+	 * Gets the names of configurable properties supported by this Call object.
+	 * @return Iterator for the property names
+	 */
+	java.util.Iterator getPropertyNames();
+	
+	/**
+	 * Method invoke
+	 * Invokes a specific operation using a synchronous request-response interaction mode.
+	 * @param inputParams Object[]--Parameters for this invocation. This includes only the input params
+	 * @return Returns the return value or null
+	 * @throws java.rmi.RemoteException if there is any error in the remote method invocation
+	 * @throws javax.xml.rpc.soap.SOAPFaultException Indicates a SOAP fault
+	 * @throws javax.xml.rpc.JAXRPCException 
+	 * 1. If there is an error in the configuration of the Call object
+	 * 2. If inputParams do not match the required parameter set (as specified through the addParameter invocations or in the corresponding WSDL)
+	 * 3. If parameters and return type are incorrectly specified 
+	 */
+	java.lang.Object invoke(java.lang.Object[] inputParams)
+    throws java.rmi.RemoteException, javax.xml.rpc.soap.SOAPFaultException, javax.xml.rpc.JAXRPCException;
+	
+	/**
+	 * Method invoke
+	 * Invokes a specific operation using a synchronous request-response interaction mode.
+	 * @param operationName QName of the operation
+	 * @param inputParams Object[]--Parameters for this invocation. This includes only the input params.
+	 * @return Returns the return value or null
+	 * @throws java.rmi.RemoteException if there is any error in the remote method invocation
+	 * @throws javax.xml.rpc.soap.SOAPFaultException Indicates a SOAP fault
+	 * @throws javax.xml.rpc.JAXRPCException 
+	 * 1. If there is an error in the configuration of the Call object
+	 * 2. If inputParams do not match the required parameter set (as specified through the addParameter invocations or in the corresponding WSDL)
+	 * 3. If parameters and return type are incorrectly specified
+	 */
+	java.lang.Object invoke(javax.xml.namespace.QName operationName,
+            java.lang.Object[] inputParams)
+            throws java.rmi.RemoteException;
+	
+	/**
+	 * Method invokeOneWay
+	 * @param inputParams Object[]--Parameters for this invocation. This includes only the input params.
+	 * @throws javax.xml.rpc.JAXRPCException if there is an error in the configuration of the Call object (example: a non-void return type has been incorrectly specified for the one-way call) or if there is any error during the invocation of the one-way remote call
+	 */
+	void invokeOneWay(java.lang.Object[] inputParams) throws javax.xml.rpc.JAXRPCException;
+	
+	/**
+	 * Method getOutputParams
+	 * Returns a Map of {name, value} for the output parameters of the last invoked operation. The parameter names in the returned Map are of type java.lang.String.
+	 * @return Map Output parameters for the last Call.invoke(). Empty Map is returned if there are no output parameters.
+	 * @throws JAXRPCException If this method is invoked for a one-way operation or is invoked before any invoke method has been called.
+	 */
+	java.util.Map getOutputParams() throws JAXRPCException;
+	
+	/**
+	 * Method getOutputValues
+	 * Returns a List values for the output parameters of the last invoked operation.
+	 * @return java.util.List Values for the output parameters. An empty List is returned if there are no output values.
+	 * @throws JAXRPCException If this method is invoked for a one-way operation or is invoked before any invoke method has been called.
+	 */
+	java.util.List getOutputValues() throws JAXRPCException;
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Dispatch.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Dispatch.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Dispatch.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Dispatch.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Dispatch<T> {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,85 @@
+/*
+ * Created on Jun 17, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface JAXRPCContext {
+	/**
+	 * Standard property: Map of attachments to a message, key is the MIME Content-ID, value is a DataHandler.
+	 * Type: java.util.Map
+	 */
+	static final java.lang.String MESSAGE_ATTACHMENTS = null;
+	
+	/**
+	 * Standard property: input source for WSDL document.
+	 * Type: org.xml.sax.InputSource
+	 */
+	static final java.lang.String WSDL_DESCRIPTION = null;
+	
+	/**
+	 * Standard property: name of WSDL service.
+	 * Type: javax.xml.namespace.QName
+	 */
+	static final java.lang.String WSDL_SERVICE = null;
+	
+	/**
+	 * Standard property: name of WSDL port.
+	 * Type: javax.xml.namespace.QName
+	 */
+	static final java.lang.String WSDL_PORT = null;
+	
+	/**
+	 * Standard property: name of wsdl interface (2.0) or port type (1.1).
+	 * Type: javax.xml.namespace.QName
+	 */
+	static final java.lang.String WSDL_INTERFACE = null;
+	
+	/**
+	 * Standard property: name of WSDL operation.
+	 * Type: javax.xml.namespace.QName
+	 */
+	static final java.lang.String WSDL_OPERATION = null;
+	
+	/**
+	 * Method setProperty
+	 * Sets the name and value of a property associated with the context. If the context contains a value of the same property, the old value is replaced.
+	 * @param name Name of the property associated with the context
+	 * @param value Value of the property 
+	 * @throws java.lang.IllegalArgumentException If some aspect of the property is prevents it from being stored in the context
+	 */
+	void setProperty(java.lang.String name,
+            java.lang.Object value) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Method removeProperty
+	 * Removes a property (name-value pair) from the context 
+	 * @param name Name of the property to be removed
+	 * @throws java.lang.IllegalArgumentException if an illegal property name is specified
+	 */
+	void removeProperty(java.lang.String name) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Method getProperty
+	 * Gets the value of a specific property from the MessageContext
+	 * @param name Name of the property whose value is to be retrieved
+	 * @return Value of the property 
+	 * @throws java.lang.IllegalArgumentException if an illegal property name is specified
+	 */
+	java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Method getPropertyNames
+	 * Returns an Iterator view of the names of the properties in this context 
+	 * @return Iterator for the property names
+	 */
+	java.util.Iterator getPropertyNames();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/JAXRPCException.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,59 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * class JAXRPCException
+ * The javax.xml.rpc.JAXRPCException is thrown from the core JAX-RPC APIs to indicate an exception related to the JAX-RPC runtime mechanisms.
+ * 
+ * @version 1.1
+ * @author sunja07
+ */
+public class JAXRPCException extends RuntimeException implements java.io.Serializable {
+
+	/**
+	 * Empty Constructor
+	 * Constructs a new exception with null as its detail message.
+	 */
+	public JAXRPCException() {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new exception with the specified detail message.
+	 * @param message
+	 */
+	public JAXRPCException(java.lang.String message) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new exception with the specified detail message and cause.
+	 * @param message
+	 * @param cause
+	 */
+	public JAXRPCException(java.lang.String message,
+            java.lang.Throwable cause) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new JAXRPCException with the specified cause and a detail 
+	 * message of (cause==null ? null : cause.toString()) (which typically 
+	 * contains the class and detail message of cause).
+	 * @param cause
+	 */
+	public JAXRPCException(java.lang.Throwable cause){}
+	
+	/**
+	 * Method getLinkedCause
+	 * Gets the Linked cause
+	 * @deprecated Retained for backwards compatility, new applications should
+	 * use the standard cause mechanism.
+	 * @return
+	 */
+	public java.lang.Throwable getLinkedCause() {
+		return null;
+	}
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/LogicalMessage.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/LogicalMessage.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/LogicalMessage.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/LogicalMessage.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,53 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ * 
+ * Interface LogicalMessage
+ * The LogicalMessage interface represents a protocol agnostic XML message 
+ * and contains methods that provide access to the payload of the message.
+ */
+public interface LogicalMessage {
+	
+	/**
+	 * Method getPayload
+	 * Gets the message payload as an XML source, may be called multiple times on the same LogicalMessage instance, always returns a new Source that may be used to retrieve the entire message payload.
+	 * If the returned Source is an instance of DOMSource, then modifications to the encapsulated DOM tree change the message payload in-place, there is no need to susequently call setPayload. Other types of Source provide only read access to the message payload.
+	 * @return The contained message payload; returns null if no payload is present in this message.
+	 */
+	javax.xml.transform.Source getPayload();
+
+	/**
+	 * Method getPayload
+	 * Gets the message payload as a JAXB object. Note that there is no connection between the returned object and the message payload, changes to the payload require calling setPayload.
+	 * @param context The JAXBContext that should be used to unmarshall the message payload
+	 * @return The contained message payload; returns null if no payload is present in this message
+	 * @throws JAXRPCException If an error occurs when using a supplied JAXBContext to unmarshall the payload. The cause of the JAXRPCException is the original JAXBException.
+	 */
+	java.lang.Object getPayload(javax.xml.bind.JAXBContext context) throws JAXRPCException;
+	
+	/**
+	 * Method setPayload
+	 * Sets the message payload
+	 * @param payload message payload 
+	 * @throws JAXRPCException If any error during the setting of the payload in this message java.lang.UnsupportedOperationException - If this operation is not supported.
+	 */
+	void setPayload(javax.xml.transform.Source payload) throws JAXRPCException;	
+	
+	/**
+	 * Method setPayload
+	 * Sets the message payload 
+	 * @param payload message payload
+	 * @param context The JAXBContext that should be used to marshall the payload 
+	 * @throws java.lang.UnsupportedOperationException If this operation is not supported
+	 * @throws JAXRPCException If an error occurs when using the supplied JAXBContext to marshall the payload. The cause of the JAXRPCException is the original JAXBException.
+	 */
+	void setPayload(java.lang.Object payload,
+            javax.xml.bind.JAXBContext context) throws JAXRPCException;
+}

Added: 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=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/NamespaceConstants.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,61 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class NamespaceConstants {
+
+	/**
+	 * Namespace prefix for SOAP Envelope 
+	 */
+	public static final java.lang.String NSPREFIX_SOAP_ENVELOPE = null;
+	
+	/**
+	 * Namespace prefix for SOAP Encoding 
+	 */
+	public static final java.lang.String NSPREFIX_SOAP_ENCODING = null;
+	
+	/**
+	 * Namespace prefix for XML Schema XSI 
+	 */
+	public static final java.lang.String NSPREFIX_SCHEMA_XSI
+	
+	/**
+	 * Nameapace URI for SOAP 1.1 Envelope 
+	 */
+	public static final java.lang.String NSURI_SOAP_ENVELOPE = null;
+	
+	/**
+	 * Nameapace URI for SOAP 1.1 Encoding 
+	 */
+	public static final java.lang.String NSURI_SOAP_ENCODING = null;
+	
+	/**
+	 * Nameapace URI for SOAP 1.1 next actor role 
+	 */
+	public static final java.lang.String NSURI_SOAP_NEXT_ACTOR = null;
+	
+	/**
+	 * Namespace URI for XML Schema XSD 
+	 */
+	public static final java.lang.String NSURI_SCHEMA_XSD = null;
+	
+	/**
+	 * Namespace URI for XML Schema XSI 
+	 */
+	public static final java.lang.String NSURI_SCHEMA_XSI = null;
+	
+	/**
+	 * Empty Constructor
+	 */
+	public NamespaceConstants() {}
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ParameterMode.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ParameterMode.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ParameterMode.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ParameterMode.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,41 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ParameterMode {
+
+	/**
+	 * IN mode for parameter passing 
+	 */
+	public static final ParameterMode IN = null;
+	
+	/**
+	 * OUT mode for parameter passing 
+	 */
+	public static final ParameterMode OUT = null;
+	
+	/**
+	 * INOUT mode for parameter passing 
+	 */
+	public static final ParameterMode INOUT = null;
+	
+	/** 
+	 * Method toString
+	 * Returns a String describing this ParameterMode object.
+	 * @overrides <code>toString</code> in class <code>java.lang.Object</code>
+	 * @return A string representation of the object.
+	 */
+	public java.lang.String toString() {
+		return null;
+	}
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ProtocolException.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,57 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+import java.io.Serializable;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ProtocolException extends RuntimeException implements Serializable {
+
+	/**
+	 * Empty Constructor
+	 * Constructs a new protocol exception with null as its detail message.
+	 */
+	public ProtocolException() {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new protocol exception with the specified detail message.
+	 * @param message
+	 */
+	public ProtocolException(java.lang.String message) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new runtime exception with the specified detail message and
+	 *  cause.
+	 * @param message
+	 * @param cause
+	 */
+	public ProtocolException(java.lang.String message,
+            java.lang.Throwable cause) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new runtime exception with the specified cause and a detail
+	 *  message of (cause==null ? null : cause.toString()) (which typically
+	 *  contains the class and detail message of cause).
+	 * @param cause
+	 */
+	public ProtocolException(java.lang.Throwable cause) {}
+	
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Provider.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Provider.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Provider.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Provider.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Provider<T> {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Response.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Response.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Response.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Response.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,21 @@
+/*
+ * Created on Jun 17, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+import java.util.concurrent.Future<T>;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+//TODO: Needs a revisit, b'coz generics are involved.
+public interface Response extends java.util.concurrent.Future<T> {
+	
+	JAXRPCContext getContext();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Service.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Service.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Service.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Service.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,220 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+import javax.xml.rpc.encoding.TypeMappingRegistry;
+import javax.xml.rpc.security.SecurityConfiguration;
+import javax.xml.rpc.handler.HandlerRegistry;
+
+/**
+ * @author sunja07
+ *
+ * Interface Service
+ * Service acts as a factory of the following:
+ * 1. Instance of javax.xml.rpc.Dispatch for dynamic message-oriented invocation of a remote operation.
+ * 2. Instance of javax.xml.rpc.Call for the dynamic invocation of a remote operation on the target service endpoint.
+ * 3. Instance of a generated stub class.
+ * 4. Dynamic proxy for the target service endpoint.
+ */
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Service {
+	
+	/** 
+	 * I've tried to create a nested class in here. Absolutely
+	 * needs a revisit. Don't rely on this as it is now.
+	 */
+	public static enum Mode extends java.lang.Enum<Service.Mode> {
+		
+		public static final Mode MESSAGE = null;
+		
+		public static final Mode PAYLOAD = null;
+		
+		/**
+		 * Method values
+		 * Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
+		 * <code>
+		 * 		for(Service.Mode c : Service.Mode.values())
+		 *			System.out.println(c);
+		 * </code>
+		 * @return
+		 */
+		public static final Mode[] values();
+		
+		/**
+		 * Method valueOf
+		 * Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) 
+		 * @param name the name of the enum constant to be returned.
+		 * @return the enum constant with the specified name
+		 * @throws java.lang.IllegalArgumentException if this enum type has no constant with the specified name
+		 */
+		public static Service.Mode valueOf(java.lang.String name) throws java.lang.IllegalArgumentException;
+		
+	}
+	
+	/**
+	 * Method getPort
+	 * The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy. A service client uses this dynamic proxy to invoke operations on the target service endpoint. The serviceEndpointInterface specifies the service endpoint interface that is supported by the created dynamic proxy or stub instance.
+	 * @param portName Qualified name of the service endpoint in the WSDL service description
+	 * @param serviceEndpointInterface Service endpoint interface supported by the dynamic proxy or stub instance 
+	 * @return java.rmi.Remote Stub instance or dynamic proxy that supports the specified service endpoint interface 
+	 * @throws ServiceException This exception is thrown in the following cases:
+	 * 1. If there is an error in creation of the dynamic proxy or stub instance
+	 * 2. If there is any missing WSDL metadata as required by this method 
+	 * 3. Optionally, if an illegal serviceEndpointInterface or portName is specified
+	 * @see java.lang.reflect.Proxy, java.lang.reflect.InvocationHandler 
+	 */
+	java.rmi.Remote getPort(javax.xml.namespace.QName portName,
+            java.lang.Class serviceEndpointInterface)
+            throws ServiceException;
+	
+	/**
+	 * Method getPort
+	 * The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy. The parameter serviceEndpointInterface specifies the service endpoint interface that is supported by the returned stub or proxy. In the implementation of this method, the JAX-RPC runtime system takes the responsibility of selecting a protocol binding (and a port) and configuring the stub accordingly. The returned Stub instance should not be reconfigured by the client.
+	 * @param serviceEndpointInterface Service endpoint interface 
+	 * @return Stub instance or dynamic proxy that supports the specified service endpoint interface 
+	 * @throws ServiceException This exception is thrown in the following cases:
+	 * 1. If there is an error during creation of stub instance or dynamic proxy 
+	 * 2. If there is any missing WSDL metadata as required by this method
+	 * 3. Optionally, if an illegal serviceEndpointInterface is specified 
+	 */
+	java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
+    throws ServiceException;
+	
+	/**
+	 * Method createPort
+	 * Creates a new port for the service. Ports created in this way contain no WSDL port type information and can only be used for creating Dispatch and Call instances.
+	 * @param portName Qualified name for the target service endpoint
+	 * @param bindingId A URI identifier of a binding.
+	 * @param endpointAddress Address of the target service endpoint as a URI 
+	 * @throws ServiceException If any error in the creation of the port
+	 * @see javax.xml.rpc.soap.SOAPBinding.SOAP11HTTP_BINDING
+	 */
+	void createPort(javax.xml.namespace.QName portName,
+            java.net.URI bindingId,
+            java.lang.String endpointAddress)
+            throws ServiceException;
+	
+	/* This involves generics, needs a revisit
+	<T> Dispatch<T> createDispatch(javax.xml.namespace.QName portName,
+            java.lang.Class<T> type,
+            Service.Mode mode)
+        throws ServiceException;
+      */
+	
+	/* This involves generics, needs a revisit
+	Dispatch<java.lang.Object> createDispatch(javax.xml.namespace.QName portName,
+            javax.xml.bind.JAXBContext context,
+            Service.Mode mode)
+            throws ServiceException;
+     */
+	
+	/**
+	 * Method getCalls
+	 * Gets an array of preconfigured Call objects for invoking operations on the specified port. There is one Call object per operation that can be invoked on the specified port. Each Call object is pre-configured and does not need to be configured using the setter methods on Call interface.
+	 * Each invocation of the getCalls method returns a new array of preconfigured Call objects 
+	 * This method requires the Service implementation class to have access to the WSDL related metadata.
+	 * @param portName Qualified name for the target service endpoint 
+	 * @return Call[] Array of pre-configured Call objects 
+	 * @throws ServiceException If this Service class does not have access to the required WSDL metadata or if an illegal portName is specified.
+	 */
+	Call[] getCalls(javax.xml.namespace.QName portName)
+    throws ServiceException;
+	
+	/**
+	 * Method createCall
+	 * Creates a Call instance.
+	 * @param portName Qualified name for the target service endpoint 
+	 * @return Call instance 
+	 * @throws ServiceException If any error in the creation of the Call object
+	 */
+	Call createCall(javax.xml.namespace.QName portName)
+    throws ServiceException;
+	
+	/**
+	 * Method createCall
+	 * Creates a Call instance. 
+	 * @param portName Qualified name for the target service endpoint
+	 * @param operationName Qualified Name of the operation for which this Call object is to be created.
+	 * @return Call instance 
+	 * @throws ServiceException If any error in the creation of the Call object
+	 */
+	Call createCall(javax.xml.namespace.QName portName,
+            javax.xml.namespace.QName operationName)
+            throws ServiceException;
+	
+	/**
+	 * Method createCall
+	 * Creates a Call instance. 
+	 * @param portName Qualified name for the target service endpoint
+	 * @param operationName Name of the operation for which this Call object is to be created.
+	 * @return Call instance
+	 * @throws ServiceException If any error in the creation of the Call object
+	 */
+	Call createCall(javax.xml.namespace.QName portName,
+            java.lang.String operationName)
+            throws ServiceException;
+	
+	/**
+	 * Method createCall
+	 * Creates a Call object not associated with specific operation or target service endpoint. This Call object needs to be configured using the setter methods on the Call interface.
+	 * @return Call object
+	 * @throws ServiceException If any error in the creation of the Call object
+	 */
+	Call createCall() throws ServiceException;
+	
+	/**
+	 * Method getServiceName
+	 * Gets the name of this service.
+	 * @return Qualified name of this service
+	 */
+	javax.xml.namespace.QName getServiceName();
+	
+	/**
+	 * Method getPorts
+	 * Returns an Iterator for the list of QNames of service endpoints grouped by this service
+	 * @return Returns java.util.Iterator with elements of type javax.xml.namespace.QName 
+	 * @throws ServiceException If this Service class does not have access to the required WSDL metadata
+	 */
+	java.util.Iterator getPorts() throws ServiceException;
+	
+	/**
+	 * Method getWSDLDocumentLocation
+	 * Gets the location of the WSDL document for this Service. 
+	 * @return URL for the location of the WSDL document for this service
+	 */
+	java.net.URL getWSDLDocumentLocation();
+	
+	/**
+	 * Method getTypeMappingRegistry
+	 * Gets the TypeMappingRegistry for this Service object. The returned TypeMappingRegistry instance is pre-configured to support the standard type mapping between XML and Java types types as required by the JAX-RPC specification.
+	 * @return The TypeMappingRegistry for this Service object.
+	 * @throws java.lang.UnsupportedOperationException if the Service class does not support the configuration of TypeMappingRegistry.
+	 */
+	TypeMappingRegistry getTypeMappingRegistry() throws java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Method getSecurityConfiguration
+	 * Gets the SecurityConfiguration for this Service object. The returned SecurityConfiguration instance is used to initialize the security configuration of BindingProvider instance created using this Service object.
+	 * @return The SecurityConfiguration for this Service object.
+	 * @throws java.lang.UnsupportedOperationException if the Service class does not support the configuration of SecurityConfiguration.
+	 */
+	SecurityConfiguration getSecurityConfiguration() throws java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Method getHandlerRegistry
+	 * Returns the configured HandlerRegistry instance for this Service instance.
+	 * @return HandlerRegistry
+	 * @throws java.lang.UnsupportedOperationException if the Service class does not support the configuration of a HandlerRegistry
+	 */
+	HandlerRegistry getHandlerRegistry() throws java.lang.UnsupportedOperationException;
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceException.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,59 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+import java.io.Serializable;
+
+/**
+ * Class ServiceException
+ * The javax.xml.rpc.ServiceException is thrown from the methods in the javax.xml.rpc.Service interface and ServiceFactory class.
+ * 
+ * @version 1.0
+ * @author sunja07
+ */
+public class ServiceException extends Exception implements Serializable {
+	
+	/**
+	 * Empty Constructor
+	 * Constructs a new exception with null as its detail message.
+	 */
+	public ServiceException() {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new exception with the specified detail message.
+	 * @param message
+	 */
+	public ServiceException(java.lang.String message) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new exception with the specified detail message and cause.
+	 * @param message
+	 * @param cause
+	 */
+	public ServiceException(java.lang.String message,
+            java.lang.Throwable cause) {}
+	
+	/**
+	 * Constructor
+	 * Constructs a new exception with the specified cause and a detail message
+	 * of (cause==null ? null : cause.toString()) (which typically contains 
+	 * the class and detail message of cause).
+	 * @param cause
+	 */
+	public ServiceException(java.lang.Throwable cause) {}
+	
+	/**
+	 * Method getLinkedCause
+	 * Gets the Linked cause
+	 * @return
+	 */
+	public java.lang.Throwable getLinkedCause() {
+		return null;
+	}
+}

Added: 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=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/ServiceFactory.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,84 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public abstract class ServiceFactory {
+
+	/**
+	 * A constant representing the property used to lookup the name of a ServiceFactory implementation class. 
+	 */
+	public static final java.lang.String SERVICEFACTORY_PROPERTY = null;
+	
+	/**
+	 * Empty constructor
+	 */
+	protected ServiceFactory() {}
+	
+	/**
+	 * Gets an instance of the ServiceFactory 
+	 * Only one copy of a factory exists and is returned to the application each time this method is called.
+	 * The implementation class to be used can be overridden by setting the javax.xml.rpc.ServiceFactory system property.
+	 * @return static instance of ServiceFactory
+	 * @throws ServiceException
+	 */
+	public static ServiceFactory newInstance() throws ServiceException {
+		return null;
+	}
+	
+	/**
+	 * Method createService
+	 * Create a Service instance.
+	 * @param wsdlDocumentLocation URL for the WSDL document location for the service
+	 * @param serviceName QName for the service.
+	 * @return a <code>Service</code> instance
+	 * @throws ServiceException
+	 */
+	public abstract Service createService(java.net.URL wsdlDocumentLocation,
+            javax.xml.namespace.QName serviceName) throws ServiceException;
+	
+	/**
+	 * Method loadService
+	 * Create an instance of the generated service implementation class for a given service interface, if available.
+	 * @param serviceInterface Service interface 
+	 * @return ??? read the spec once again
+	 * @throws ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
+	 */
+	public abstract Service loadService(java.lang.Class serviceInterface)
+    throws ServiceException;
+	
+	/**
+	 * Method loadService
+	 * Create an instance of the generated service implementation class for a given service interface, if available. An implementation may use the provided wsdlDocumentLocation and properties to help locate the generated implementation class. If no such class is present, a ServiceException will be thrown.
+	 * @param wsdlDocumentLocation URL for the WSDL document location for the service or null
+	 * @param serviceInterface Service interface
+	 * @param properties A set of implementation-specific properties to help locate the generated service implementation class 
+	 * @return ??? read the spec once again
+	 * @throws ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
+	 */
+	public abstract Service loadService(java.net.URL wsdlDocumentLocation,
+            java.lang.Class serviceInterface,
+            java.util.Properties properties) throws ServiceException;
+	
+	/**
+	 * Method loadService
+	 * Create an instance of the generated service implementation class for a given service, if available. The service is uniquely identified by the wsdlDocumentLocation and serviceName arguments. An implementation may use the provided properties to help locate the generated implementation class. If no such class is present, a ServiceException will be thrown.
+	 * @param wsdlDocumentLocation URL for the WSDL document location for the service or null
+	 * @param serviceName Qualified name for the service
+	 * @param properties A set of implementation-specific properties to help locate the generated service implementation class 
+	 * @return ??? read the spec once again
+	 * @throws ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
+	 */
+	public abstract Service loadService(java.net.URL wsdlDocumentLocation,
+            javax.xml.namespace.QName serviceName,
+            java.util.Properties properties) throws ServiceException;
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Stub.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Stub.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Stub.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/Stub.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 19, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface Stub {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializationContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializationContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializationContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,19 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+/**
+ * The javax.xml.rpc.encoding.DeserializationContext interface is implemented by the JAX-RPC runtime system in an XML
+ * processing mechanism specific manner. A deserializer uses this interface to access and maintain context information during the
+ * deserialization.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface DeserializationContext {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Deserializer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Deserializer.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Deserializer.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Deserializer.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,27 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import java.io.Serializable;
+
+/**
+ * The javax.xml.rpc.encoding.Deserializer interface defines a base interface for deserializers. A Deserializer converts an XML
+ * representation to a Java object using a specific XML processing mechanism and based on the specified type mapping and
+ * encoding style.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface Deserializer extends Serializable {
+	
+	/**
+	 * Gets the type of the XML processing mechanism and representation used by this Deserializer.
+	 * @return XML processing mechanism type
+	 */
+	java.lang.String getMechanismType();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializerFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializerFactory.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializerFactory.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/DeserializerFactory.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,39 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import java.io.Serializable;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface DeserializerFactory
+ * extends java.io.Serializable
+ * <p>
+ * The javax.xml.rpc.encoding.DeserializerFactory is a factory of deserializers. A DeserializerFactory is registered with a
+ * TypeMapping instance as part of the TypeMappingRegistry.
+ * @version 1.0
+ * @author shaas02
+ * @see <code>Serializer</code>
+ */
+public interface DeserializerFactory extends Serializable {
+
+	/**
+	 * Returns a Deserializer for the specified XML processing mechanism type.
+	 * 
+	 * @param mechanismType - XML processing mechanism type [TBD: definition of valid constants]
+	 * @return
+	 * @throws JAXRPCException - If DeserializerFactory does not support the specified XML processing mechanism
+	 */
+	Deserializer getDeserializerAs(java.lang.String mechanismType) throws JAXRPCException;
+	
+	/**
+	 * Returns a list of all XML processing mechanism types supported by this DeserializerFactory.
+	 * 
+	 * @return List of unique identifiers for the supported XML processing mechanism types
+	 */
+	java.util.Iterator getSupportedMechanismTypes();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializationContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializationContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializationContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,20 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+/**
+ * The javax.xml.rpc.encoding.SerializationContext interface is implemented by the JAX-RPC runtime system in an XML
+ * processing mechanism specific manner. A serializer uses the SerializationContext interface during the serialization to get the
+ * context information related to the XML processing mechanism and to manage information specific to serialization.
+ * 
+ * @version 1.0
+ * @author shaas02
+ * @see <code>Serializer</code>
+ */
+public interface SerializationContext {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Serializer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Serializer.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Serializer.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/Serializer.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,29 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import java.io.Serializable;
+
+/**
+ * public interface Serializer
+ * extends java.io.Serializable
+ * <p>
+ * The javax.xml.rpc.encoding.Serializer interface defines the base interface for serializers. A Serializer converts a Java object to an
+ * XML representation using a specific XML processing mechanism and based on the specified type mapping and encoding style.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface Serializer extends Serializable {
+
+	/**
+	 * Gets the type of the XML processing mechanism and representation used by this Serializer.
+	 * 
+	 * @return XML processing mechanism type
+	 */
+	java.lang.String getMechanismType();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializerFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializerFactory.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializerFactory.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/SerializerFactory.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,41 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import java.io.Serializable;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface SerializerFactory
+ * extends java.io.Serializable
+ * <p>
+ * The javax.xml.rpc.encoding.SerializerFactory is a factory of the serializers. A SerializerFactory is registered with a TypeMapping
+ *  object as part of the TypeMappingRegistry.
+ * @version 1.0
+ * @author shaas02
+ * @see <code>Serializer</code>
+ */
+public interface SerializerFactory extends Serializable {
+	
+	/**
+	 * Returns a Serializer for the specified XML processing mechanism type.
+	 * 
+	 * @param mechanismType - XML processing mechanism type [TBD: definition of valid constants]
+	 * @return
+	 * @throws JAXRPCException - If SerializerFactory does not support the specified XML processing mechanism
+	 * @throws java.lang.IllegalArgumentException - If an invalid mechanism type is specified.
+	 */
+	Serializer getSerializerAs(java.lang.String mechanismType)
+				throws JAXRPCException, java.lang.IllegalArgumentException;
+	
+	/**
+	 * Returns a list of all XML processing mechanism types supported by this SerializerFactory.
+	 * @return List of unique identifiers for the supported XML processing mechanism types
+	 */
+	java.util.Iterator getSupportedMechanismTypes();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMapping.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMapping.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMapping.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMapping.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,99 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface TypeMapping
+ * <p>
+ * The javax.xml.rpc.encoding.TypeMapping is the base interface for the representation of a type mapping. A TypeMapping
+ *  implementation class may support one or more encoding styles.
+ * <p>
+ * For its supported encoding styles, a TypeMapping instance maintains a set of tuples of the type {Java type,
+ * SerializerFactory, DeserializerFactory, XML type}.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface TypeMapping {
+	
+	/**
+	 * Returns the encodingStyle URIs (as String[]) supported by this TypeMapping instance. A TypeMapping that contains only
+	 *  encoding style independent serializers and deserializers returns null from this method.
+	 * @return Array of encodingStyle URIs for the supported encoding styles
+	 */
+	java.lang.String[] getSupportedEncodings();
+	
+	/**
+	 * Sets the encodingStyle URIs supported by this TypeMapping instance. A TypeMapping that contains only encoding
+	 * independent serializers and deserializers requires null as the parameter for this method.
+	 * @param encodingStyleURIs - Array of encodingStyle URIs for the supported encoding styles
+	 */
+	void setSupportedEncodings(java.lang.String[] encodingStyleURIs);
+	
+	/**
+	 * Checks whether or not type mapping between specified XML type and Java type is registered.
+	 * @param javaType - Class of the Java type
+	 * @param xmlType - Qualified name of the XML data type
+	 * @return boolean; true if type mapping between the specified XML type and Java type is registered; otherwise false
+	 */
+	boolean isRegistered(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType);
+	
+	/**
+	 * Registers SerializerFactory and DeserializerFactory for a specific type mapping between an XML type and Java type.
+	 * This method replaces any existing registered SerializerFactory DeserializerFactory instances.
+	 * 
+	 * @param javaType - Class of the Java type
+	 * @param xmlType  - Qualified name of the XML data type
+	 * @param sf - SerializerFactory
+	 * @param dsf - DeserializerFactory
+	 * @throws JAXRPCException  - If any error during the registration
+	 */
+	void register(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType,
+			SerializerFactory sf,
+			DeserializerFactory dsf)throws JAXRPCException;
+	
+	/**
+	 * Gets the SerializerFactory registered for the specified pair of Java type and XML data type.
+	 * @param javaType  - Class of the Java type
+	 * @param xmlType  - Qualified name of the XML data type
+	 * @return Registered SerializerFactory or null  if there is no registered factory
+	 */
+	SerializerFactory getSerializer(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType);
+	
+	/**
+	 * Gets the DeserializerFactory registered for the specified pair of Java type and XML data type.
+	 * @param javaType  - Class of the Java type
+	 * @param xmlType  - Qualified name of the XML data type
+	 * @return Registered DeserializerFactory or null  if there is no registered factory
+	 */
+	DeserializerFactory getDeserializer(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType);
+	
+	/**
+	 * Removes the SerializerFactory registered for the specified pair of Java type and XML data type.
+	 * @param javaType
+	 * @param xmlType
+	 * @throws JAXRPCException - If there is error in removing the registered SerializerFactory
+	 */
+	void removeSerializer(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType)throws JAXRPCException;
+	
+	/**
+	 * Removes the DeserializerFactory registered for the specified pair of Java type and XML data type.
+	 * @param javaType
+	 * @param xmlType
+	 * @throws JAXRPCException - If there is error in removing the registered DeserializerFactory
+	 */
+	void removeDeserializer(java.lang.Class javaType,
+			javax.xml.namespace.QName xmlType)throws JAXRPCException;
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMappingRegistry.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMappingRegistry.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMappingRegistry.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/TypeMappingRegistry.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,98 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+import java.io.Serializable;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * The interface javax.xml.rpc.encoding.TypeMappingRegistry  defines a registry of TypeMapping instances for various
+ * encoding styles.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface TypeMappingRegistry extends Serializable {
+
+	/**
+	 * Registers a TypeMapping instance with the TypeMappingRegistry. This method replaces any existing registered
+	 * TypeMapping instance for the specified encodingStyleURI.
+	 * 
+	 * @param encodingStyleURI - An encoding style specified as an URI. An example is
+	 * "http://schemas.xmlsoap.org/soap/encoding/"
+	 * @param mapping - TypeMapping instance
+	 * @return Previous TypeMapping associated with the specified encodingStyleURI, or null if there was no TypeMapping
+	 * associated with the specified encodingStyleURI
+	 * @throws JAXRPCException - If there is an error in the registration of the TypeMapping for the specified encodingStyleURI.
+	 */
+	TypeMapping register(java.lang.String encodingStyleURI,
+			TypeMapping mapping) throws JAXRPCException;
+	
+	/**
+	 * Registers the TypeMapping instance that is default for all encoding styles supported by the TypeMappingRegistry. A
+	 * default TypeMapping  should include serializers and deserializers that are independent of and usable with any encoding
+	 * style. Successive invocations of the registerDefault method replace any existing default TypeMapping instance.
+	 * <p>
+	 * If the default TypeMapping is registered, any other TypeMapping instances registered through the
+	 * TypeMappingRegistry.register method (for a set of encodingStyle URIs) override the default TypeMapping.
+	 * 
+	 * @param mapping - TypeMapping instance
+	 * @throws JAXRPCException - If there is an error in the registration of the default TypeMapping
+	 */
+	void registerDefault(TypeMapping mapping) throws JAXRPCException;
+	
+	/**
+	 * Gets the registered default TypeMapping instance. This method returns null if there is no registered default
+	 * TypeMapping in the registry.
+	 * @return The registered default TypeMapping instance or null
+	 */
+	TypeMapping getDefaultTypeMapping();
+	
+	/**
+	 * Returns a list of registered encodingStyle URIs in this TypeMappingRegistry instance.
+	 * @return Array of the registered encodingStyle URIs
+	 */
+	java.lang.String[] getRegisteredEncodingStyleURIs();
+	
+	/**
+	 * Returns the registered TypeMapping for the specified encodingStyle URI. If there is no registered TypeMapping  for the
+	 * specified encodingStyleURI, this method returns null.
+	 * @param encodingStyleURI  - Encoding style specified as an URI
+	 * @return TypeMapping for the specified encodingStyleURI or null
+	 */
+	TypeMapping getTypeMapping(java.lang.String encodingStyleURI);
+	
+	/**
+	 * Creates a new empty TypeMapping object
+	 * @return TypeMapping instance
+	 */
+	TypeMapping createTypeMapping();
+	
+	/**
+	 * Unregisters a TypeMapping instance, if present, from the specified encodingStyleURI.
+	 * 
+	 * @param encodingStyleURI  - Encoding style specified as an URI
+	 * @return TypeMapping instance that has been unregistered or null if there was no TypeMapping registered for the
+	 * specified encodingStyleURI
+	 */
+	TypeMapping unregisterTypeMapping(java.lang.String encodingStyleURI);
+	
+	/**
+	 * Removes a TypeMapping from the TypeMappingRegistry. A TypeMapping is associated with 1 or more
+	 * encodingStyleURIs. This method unregisters the specified TypeMapping instance from all associated
+	 * encodingStyleURIs and then removes this TypeMapping instance from the registry.
+	 * @param mapping  - TypeMapping to be removed
+	 * @return true if specified TypeMapping is removed from the TypeMappingRegistry; false  if the specified TypeMapping
+	 * was not in the TypeMappingRegistry
+	 */
+	boolean removeTypeMapping(TypeMapping mapping);
+	
+	/**
+	 * Removes all registered TypeMappings and encodingStyleURIs from this TypeMappingRegistry.
+	 */
+	void clear();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/XMLType.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/XMLType.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/XMLType.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/encoding/XMLType.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,146 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.encoding;
+
+/**
+ * public class XMLType
+ * extends java.lang.Object
+ * <p>
+ * Constants for common XML Schema and SOAP 1.1 types.
+ * @version 1.0
+ * @author shaas02
+ */
+public class XMLType {
+	
+	/**
+	 * The name of the xsd:string type.
+	 */
+	public static final javax.xml.namespace.QName XSD_STRING;
+	
+	/**
+	 * The name of the xsd:float type.
+	 */
+	public static final javax.xml.namespace.QName XSD_FLOAT;
+	
+	/**
+	 * The name of the xsd:boolean type.
+	 */
+	public static final javax.xml.namespace.QName XSD_BOOLEAN;
+	
+	/**
+	 * The name of the xsd:double type.
+	 */
+	public static final javax.xml.namespace.QName XSD_DOUBLE;
+	
+	/**
+	 * The name of the xsd:integer type.
+	 */
+	public static final javax.xml.namespace.QName XSD_INTEGER;
+	
+	/**
+	 * The name of the xsd:int type.
+	 */
+	public static final javax.xml.namespace.QName XSD_INT;
+	
+	/**
+	 * The name of the xsd:long type.
+	 */
+	public static final javax.xml.namespace.QName XSD_LONG;
+	
+	/**
+	 * The name of the xsd:short type
+	 */
+	public static final javax.xml.namespace.QName XSD_SHORT;
+	
+	/**
+	 * The name of the xsd:decimal type.
+	 */
+	public static final javax.xml.namespace.QName XSD_DECIMAL;
+	
+	/**
+	 * The name of the xsd:base64Binary type.
+	 */
+	public static final javax.xml.namespace.QName XSD_BASE64;
+	
+	/**
+	 * The name of the xsd:hexBinary type.
+	 */
+	public static final javax.xml.namespace.QName XSD_HEXBINARY;
+	
+	/**
+	 * The name of the xsd:byte type.
+	 */
+	public static final javax.xml.namespace.QName XSD_BYTE;
+	
+	/**
+	 * The name of the xsd:dateTime type
+	 */
+	public static final javax.xml.namespace.QName XSD_DATETIME;
+	
+	/**
+	 * The name of the xsd:QName type.
+	 */
+	public static final javax.xml.namespace.QName XSD_QNAME;
+	
+	/**
+	 * The name of the SOAP-ENC:string type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_STRING;
+	
+	/**
+	 * The name of the SOAP-ENC:boolean type..
+	 */
+	public static final javax.xml.namespace.QName SOAP_BOOLEAN;
+	
+	/**
+	 * The name of the SOAP-ENC:double type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_DOUBLE;
+	
+	/**
+	 * The name of the SOAP-ENC:base64 type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_BASE64;
+	
+	/**
+	 * The name of the SOAP-ENC:float type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_FLOAT;
+	
+	/**
+	 * The name of the SOAP-ENC:int type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_INT;
+	
+	/**
+	 * The name of the SOAP-ENC:long type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_LONG;
+	
+	/**
+	 * The name of the SOAP-ENC:short type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_SHORT;
+	
+	/**
+	 * The name of the SOAP-ENC:byte type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_BYTE;
+	
+	/**
+	 * The name of the SOAP-ENC:Array type.
+	 */
+	public static final javax.xml.namespace.QName SOAP_ARRAY;
+	
+	/**
+	 * 
+	 */
+	public XMLType(){
+		
+	}
+
+}



Mime
View raw message