axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r289289 [7/134] - in /webservices/axis2/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/META-INF/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/apa...
Date Thu, 15 Sep 2005 19:07:03 GMT
Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java Thu Sep 15 11:52:11 2005
@@ -1,209 +1,210 @@
-/*
-* Copyright 2004,2005 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*      http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.apache.axis2;
-
-/**
- * Class Constants
- */
-public class Constants {
-    /**
-     * Field SOAP_STYLE_RPC_ENCODED
-     */
-    public static final int SOAP_STYLE_RPC_ENCODED = 1000;
-
-    /**
-     * Field SOAP_STYLE_RPC_LITERAL
-     */
-    public static final int SOAP_STYLE_RPC_LITERAL = 1001;
-
-    /**
-     * Field SOAP_STYLE_DOC_LITERAL_WRAPPED
-     */
-    public static final int SOAP_STYLE_DOC_LITERAL_WRAPPED = 1002;
-
-    /**
-     * Field APPLICATION_SCOPE
-     */
-    public static final String APPLICATION_SCOPE = "application";
-
-    /**
-     * Field SESSION_SCOPE
-     */
-    public static final String SESSION_SCOPE = "session";
-
-    /**
-     * Field GLOBAL_SCOPE
-     */
-    public static final String MESSAGE_SCOPE = "message";
-
-    /**
-     * Field PHASE_SERVICE
-     */
-    public static final String PHASE_SERVICE = "service";
-
-    /**
-     * Field PHASE_TRANSPORT
-     */
-    public static final String PHASE_TRANSPORT = "transport";
-
-    /**
-     * Field PHASE_GLOBAL
-     */
-    public static final String PHASE_GLOBAL = "global";
-
-    /**
-     * Field SESSION_CONTEXT_PROPERTY
-     */
-    public static final String SESSION_CONTEXT_PROPERTY = "SessionContext";
-
-    /**
-     * Field TRANSPORT_TCP
-     */
-    public static final String TRANSPORT_TCP = "tcp";
-
-    /**
-     * Field TRANSPORT_HTTP
-     */
-    public static final String TRANSPORT_HTTP = "http";
-
-   
-
-    public static final String TRANSPORT_MAIL = "mail";
-
-    public static final String TRANSPORT_JMS = "jms";
-
-    public static final String TRANSPORT_LOCAL = "local";
-
-    /**
-     * Field LISTSERVICES
-     */
-    public static final String REQUEST_URL_PREFIX = "/services";
-
-    public static final String LISTSERVICES = "listServices";
-
-    public static final String LIST_SERVICE_FOR_MODULE_ENGAMNET = "listoperation";
-
-
-    /**
-     * List service for adminpagse
-     */
-    public static final String ADMIN_LISTSERVICES = "listService";
-
-    public static final String LIST_MODULES = "listModules";
-
-    public static final String LIST_GLOABLLY_ENGAGED_MODULES = "globalModules";
-
-    public static final String LIST_PHASES = "listPhases";
-
-    public static final String ENGAGE_GLOBAL_MODULE = "engagingglobally";
-    public static final String ENGAGE_MODULE_TO_SERVICE = "engageToService";
-
-    public static final String ADMIN_LOGGING = "adminloging";
-
-    public static final String VIEW_GLOBAL_HANDLERS = "viewGlobalHandlers";
-    public static final String SELECT_SERVICE = "selectService";
-    public static final String EDIR_SERVICE_PARA = "editServicepara";
-    public static final String SELECT_SERVICE_FOR_PARA_EDIT = "selectServiceParaEdit";
-    public static final String VIEW_SERVICE_HANDLERS = "viewServiceHandlers";
-
-    /**
-     * Field SERVICE_MAP
-     */
-    public static final String SERVICE_MAP = "servicemap";
-
-    public static final String SERVICE = "service";
-
-    public static final String OPEARTION_MAP = "operationmap";
-    /**
-     * Field Available modules
-     */
-    public static final String MODULE_MAP = "modulemap";
-
-    public static final String SELECT_SERVICE_TYPE = "SELECT_SERVICE_TYPE";
-
-    public static final String GLOBAL_HANDLERS = "axisconfig";
-    public static final String SERVICE_HANDLERS = "serviceHandlers";
-
-    public static final String PHASE_LIST = "phaseList";
-
-    public static final String LIST_OPERATIONS_FOR_THE_SERVICE = "listOperations";
-
-    public static final String REMOVE_SERVICE = "removeService";
-
-    public static final String ENGAGE_STATUS = "engagestatus";
-
-    /**
-     * Errorness servcie
-     */
-    public static final String ERROR_SERVICE_MAP = "errprservicemap";
-    public static final String ERROR_MODULE_MAP = "errormodulesmap";
-
-    public static final String IS_FAULTY = "Fault";
-
-    public static final String MODULE_ADDRESSING = "addressing";
-
-    public static final String USER_NAME = "userName";
-    public static final String PASSWORD = "password";
-
-    /**
-     * Field SINGLE_SERVICE
-     */
-    public static final String SINGLE_SERVICE = "singleservice";
-    public static final String WSDL_CONTENT = "wsdl";
-
-    /**
-     * Field METHOD_NAME_ESCAPE_CHARACTOR
-     */
-    public static final char METHOD_NAME_ESCAPE_CHARACTOR = '?';
-
-    public static final String LOGGED = "Logged";
-
-
-    public static final char SERVICE_NAME_SPLIT_CHAR =':';
-
-
-    public static interface Configuration {
-        public static final String ENABLE_REST = "enableREST";
-        // globally enable MTOM
-        public static final String ENABLE_MTOM = "enableMTOM";
-        public static final String ATTACHMENT_TEMP_DIR = "attachmentDIR";
-        public static final String CACHE_ATTACHMENTS = "cacheAttachments";
-        public static final String FILE_SIZE_THRESHOLD = "sizeThreshold";
-    }
-
-    public static final String VALUE_TRUE = "true";
-    public static final String VALUE_FALSE = "false";
-    public static final String CONTAINER_MANAGED = "ContainerManaged";
-    public static final String RESPONSE_WRITTEN = "CONTENT_WRITTEN";
-    public static final String WSA_ACTION = "wsamapping";
-
-
-    public static final String TESTING_PATH = "target/test-resources/";
-//    public static final String TESTING_PATH = "modules/integration/target/test-resources/";
-
-    public static final String TESTING_REPOSITORY = TESTING_PATH + "samples";
-
-
-    public static interface REST_WITH_GET {
-        public static final String GET_PARAMETER_OPERATION = "operation";
-        public static final String GET_PARAMETER_URL = "http://ws.apache.org/goGetWithREST";
-
-    }
-
-
-
-
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2;
+
+/**
+ * Class Constants
+ */
+public class Constants {
+    /**
+     * Field SOAP_STYLE_RPC_ENCODED
+     */
+    public static final int SOAP_STYLE_RPC_ENCODED = 1000;
+
+    /**
+     * Field SOAP_STYLE_RPC_LITERAL
+     */
+    public static final int SOAP_STYLE_RPC_LITERAL = 1001;
+
+    /**
+     * Field SOAP_STYLE_DOC_LITERAL_WRAPPED
+     */
+    public static final int SOAP_STYLE_DOC_LITERAL_WRAPPED = 1002;
+
+    /**
+     * Field APPLICATION_SCOPE
+     */
+    public static final String APPLICATION_SCOPE = "application";
+
+    /**
+     * Field SESSION_SCOPE
+     */
+    public static final String SESSION_SCOPE = "session";
+
+    /**
+     * Field GLOBAL_SCOPE
+     */
+    public static final String MESSAGE_SCOPE = "message";
+
+    /**
+     * Field PHASE_SERVICE
+     */
+    public static final String PHASE_SERVICE = "service";
+
+    /**
+     * Field PHASE_TRANSPORT
+     */
+    public static final String PHASE_TRANSPORT = "transport";
+
+    /**
+     * Field PHASE_GLOBAL
+     */
+    public static final String PHASE_GLOBAL = "global";
+
+    /**
+     * Field SESSION_CONTEXT_PROPERTY
+     */
+    public static final String SESSION_CONTEXT_PROPERTY = "SessionContext";
+
+    /**
+     * Field TRANSPORT_TCP
+     */
+    public static final String TRANSPORT_TCP = "tcp";
+
+    /**
+     * Field TRANSPORT_HTTP
+     */
+    public static final String TRANSPORT_HTTP = "http";
+
+   
+
+    public static final String TRANSPORT_MAIL = "mail";
+
+    public static final String TRANSPORT_JMS = "jms";
+
+    public static final String TRANSPORT_LOCAL = "local";
+
+    /**
+     * Field LISTSERVICES
+     */
+    public static final String REQUEST_URL_PREFIX = "/services";
+
+    public static final String LISTSERVICES = "listServices";
+
+    public static final String LIST_SERVICE_FOR_MODULE_ENGAMNET = "listoperation";
+
+
+    /**
+     * List service for adminpagse
+     */
+    public static final String ADMIN_LISTSERVICES = "listService";
+
+    public static final String LIST_MODULES = "listModules";
+
+    public static final String LIST_GLOABLLY_ENGAGED_MODULES = "globalModules";
+
+    public static final String LIST_PHASES = "listPhases";
+
+    public static final String ENGAGE_GLOBAL_MODULE = "engagingglobally";
+    public static final String ENGAGE_MODULE_TO_SERVICE = "engageToService";
+
+    public static final String ADMIN_LOGGING = "adminloging";
+
+    public static final String VIEW_GLOBAL_HANDLERS = "viewGlobalHandlers";
+    public static final String SELECT_SERVICE = "selectService";
+    public static final String EDIR_SERVICE_PARA = "editServicepara";
+    public static final String SELECT_SERVICE_FOR_PARA_EDIT = "selectServiceParaEdit";
+    public static final String VIEW_SERVICE_HANDLERS = "viewServiceHandlers";
+
+    /**
+     * Field SERVICE_MAP
+     */
+    public static final String SERVICE_MAP = "servicemap";
+
+    public static final String SERVICE = "service";
+
+    public static final String OPEARTION_MAP = "operationmap";
+    /**
+     * Field Available modules
+     */
+    public static final String MODULE_MAP = "modulemap";
+
+    public static final String SELECT_SERVICE_TYPE = "SELECT_SERVICE_TYPE";
+
+    public static final String GLOBAL_HANDLERS = "axisconfig";
+    public static final String SERVICE_HANDLERS = "serviceHandlers";
+
+    public static final String PHASE_LIST = "phaseList";
+
+    public static final String LIST_OPERATIONS_FOR_THE_SERVICE = "listOperations";
+
+    public static final String REMOVE_SERVICE = "removeService";
+
+    public static final String ENGAGE_STATUS = "engagestatus";
+
+    /**
+     * Errorness servcie
+     */
+    public static final String ERROR_SERVICE_MAP = "errprservicemap";
+    public static final String ERROR_MODULE_MAP = "errormodulesmap";
+
+    public static final String IS_FAULTY = "Fault";
+
+    public static final String MODULE_ADDRESSING = "addressing";
+
+    public static final String USER_NAME = "userName";
+    public static final String PASSWORD = "password";
+
+    /**
+     * Field SINGLE_SERVICE
+     */
+    public static final String SINGLE_SERVICE = "singleservice";
+    public static final String WSDL_CONTENT = "wsdl";
+
+    /**
+     * Field METHOD_NAME_ESCAPE_CHARACTOR
+     */
+    public static final char METHOD_NAME_ESCAPE_CHARACTOR = '?';
+
+    public static final String LOGGED = "Logged";
+
+
+    public static final char SERVICE_NAME_SPLIT_CHAR =':';
+
+
+    public static interface Configuration {
+        public static final String ENABLE_REST = "enableREST";
+        // globally enable MTOM
+        public static final String ENABLE_MTOM = "enableMTOM";
+        public static final String ATTACHMENT_TEMP_DIR = "attachmentDIR";
+        public static final String CACHE_ATTACHMENTS = "cacheAttachments";
+        public static final String FILE_SIZE_THRESHOLD = "sizeThreshold";
+    }
+
+    public static final String VALUE_TRUE = "true";
+    public static final String VALUE_FALSE = "false";
+    public static final String CONTAINER_MANAGED = "ContainerManaged";
+    public static final String RESPONSE_WRITTEN = "CONTENT_WRITTEN";
+    public static final String WSA_ACTION = "wsamapping";
+
+
+    public static final String TESTING_PATH = "target/test-resources/";
+//    public static final String TESTING_PATH = "modules/integration/target/test-resources/";
+
+    public static final String TESTING_REPOSITORY = TESTING_PATH + "samples";
+
+
+    public static interface REST_WITH_GET {
+        public static final String GET_PARAMETER_OPERATION = "operation";
+        public static final String GET_PARAMETER_URL = "http://ws.apache.org/goGetWithREST";
+
+    }
+
+
+
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/Constants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java Thu Sep 15 11:52:11 2005
@@ -1,70 +1,70 @@
-package org.apache.axis2;
-
-import org.apache.axis2.context.*;
-import org.apache.axis2.description.OperationDescription;
-import org.apache.axis2.handlers.AbstractHandler;
-
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * @author : Eran Chinthaka (chinthaka@apache.org)
- */
-
-public class InstanceDispatcher extends AbstractHandler {
-    /**
-     * By the time the control comes to this handler the dispatching must have happened
-     * so that the message context contains the ServiceGroupDescription, ServiceDescription and
-     * OperationDescription.
-     * This will then try to find the Contexts of ServiceGroup, Service and the Operation.
-     */
-
-
-    /**
-     * Post Condition : All the Contexts must be populated.
-     *
-     * @param msgContext
-     * @throws AxisFault
-     */
-    public void invoke(MessageContext msgContext) throws AxisFault {
-
-        if(msgContext.getOperationContext() != null && msgContext.getServiceContext() != null){
-            return;
-        }
-
-        OperationDescription operationDesc = msgContext.getOperationDescription();
-
-        //  1. look up opCtxt using mc.addressingHeaders.relatesTo[0]
-        OperationContext operationContext = operationDesc.findForExistingOperationContext(msgContext);
-
-        if (operationContext != null) {
-            // register operation context and message context
-            operationDesc.registerOperationContext(msgContext, operationContext);
-            ServiceContext serviceContext = (ServiceContext) operationContext.getParent();
-            ServiceGroupContext serviceGroupContext = (ServiceGroupContext) serviceContext.getParent();
-            msgContext.setServiceContext(serviceContext);
-            msgContext.setServiceGroupContext(serviceGroupContext);
-            return;
-
-        } else { //  2. if null, create new opCtxt
-            operationContext =
-                    OperationContextFactory.createOperationContext(operationDesc.getAxisSpecifMEPConstant(), operationDesc);
-            operationDesc.registerOperationContext(msgContext, operationContext);
-
-            //  fill the service group context and service context info
-            msgContext.getSystemContext().
-                    fillServiceContextAndServiceGroupContext(msgContext);
-        }
-    }
-}
+package org.apache.axis2;
+
+import org.apache.axis2.context.*;
+import org.apache.axis2.description.OperationDescription;
+import org.apache.axis2.handlers.AbstractHandler;
+
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * @author : Eran Chinthaka (chinthaka@apache.org)
+ */
+
+public class InstanceDispatcher extends AbstractHandler {
+    /**
+     * By the time the control comes to this handler the dispatching must have happened
+     * so that the message context contains the ServiceGroupDescription, ServiceDescription and
+     * OperationDescription.
+     * This will then try to find the Contexts of ServiceGroup, Service and the Operation.
+     */
+
+
+    /**
+     * Post Condition : All the Contexts must be populated.
+     *
+     * @param msgContext
+     * @throws AxisFault
+     */
+    public void invoke(MessageContext msgContext) throws AxisFault {
+
+        if(msgContext.getOperationContext() != null && msgContext.getServiceContext() != null){
+            return;
+        }
+
+        OperationDescription operationDesc = msgContext.getOperationDescription();
+
+        //  1. look up opCtxt using mc.addressingHeaders.relatesTo[0]
+        OperationContext operationContext = operationDesc.findForExistingOperationContext(msgContext);
+
+        if (operationContext != null) {
+            // register operation context and message context
+            operationDesc.registerOperationContext(msgContext, operationContext);
+            ServiceContext serviceContext = (ServiceContext) operationContext.getParent();
+            ServiceGroupContext serviceGroupContext = (ServiceGroupContext) serviceContext.getParent();
+            msgContext.setServiceContext(serviceContext);
+            msgContext.setServiceGroupContext(serviceGroupContext);
+            return;
+
+        } else { //  2. if null, create new opCtxt
+            operationContext =
+                    OperationContextFactory.createOperationContext(operationDesc.getAxisSpecifMEPConstant(), operationDesc);
+            operationDesc.registerOperationContext(msgContext, operationContext);
+
+            //  fill the service group context and service context info
+            msgContext.getSystemContext().
+                    fillServiceContextAndServiceGroupContext(msgContext);
+        }
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/InstanceDispatcher.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java Thu Sep 15 11:52:11 2005
@@ -1,75 +1,76 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing;
-
-
-/**
- * Interface AddressingConstants
- */
-public interface AddressingConstants {
-
-    // ====================== Common Message Addressing Properties ===================
-    public static final String WSA_MESSAGE_ID = "MessageID";
-    public static final String WSA_RELATES_TO = "RelatesTo";
-    public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE = "RelationshipType";
-    public static final String WSA_TO = "To";
-    public static final String WSA_FROM = "From";
-    public static final String WSA_REPLY_TO = "ReplyTo";
-    public static final String WSA_FAULT_TO = "FaultTo";
-    public static final String WSA_ACTION = "Action";
-
-    // ====================== Common EPR Elements ============================
-    public static final String EPR_ADDRESS = "Address";
-    public static final String EPR_REFERENCE_PARAMETERS = "ReferenceParameters";
-    public static final String EPR_SERVICE_NAME = "ServiceName";
-
-    // ======================================================================
-
-    public interface Submission {
-        // ====================== Addressing Submission Version Constants ===================
-        public static final String WSA_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/08/addressing";
-        public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "wsa:Reply";
-        public static final String WSA_ANONYMOUS_URL = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
-
-        public static final String EPR_REFERENCE_PROPERTIES = "ReferenceProperties";
-        public static final String EPR_PORT_TYPE = "PortType";
-        public static final String EPR_SERVICE_NAME_PORT_NAME = "PortName";
-        // ==================================================================================
-
-    }
-
-    public interface Final {
-        // ====================== Addressing 1.0 Final Version Constants ====================
-        public static final String WSA_NAMESPACE = "http://www.w3.org/2005/02/addressing";
-        public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "http://www.w3.org/2005/02/addressing/reply";
-        public static final String WSA_ANONYMOUS_URL = "http://www.w3.org/2005/02/addressing/role/anonymous";
-
-        public static final String WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE = "IsReferenceParameter";
-        public static final String WSA_TYPE_ATTRIBUTE_VALUE = "true";
-
-        public static final String WSA_INTERFACE_NAME = "InterfaceName";
-        public static final String WSA_SERVICE_NAME_ENDPOINT_NAME = "EndpointName";
-        public static final String WSA_POLICIES = "Policies";
-        public static final String WSA_METADATA = "Metadata";
-        // ==================================================================================
-
-    }
-
-
-    public static final String WS_ADDRESSING_VERSION = "WSAddressingVersion";
-    public static final String WSA_DEFAULT_PRFIX = "wsa";
-
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.addressing;
+
+
+/**
+ * Interface AddressingConstants
+ */
+public interface AddressingConstants {
+
+    // ====================== Common Message Addressing Properties ===================
+    public static final String WSA_MESSAGE_ID = "MessageID";
+    public static final String WSA_RELATES_TO = "RelatesTo";
+    public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE = "RelationshipType";
+    public static final String WSA_TO = "To";
+    public static final String WSA_FROM = "From";
+    public static final String WSA_REPLY_TO = "ReplyTo";
+    public static final String WSA_FAULT_TO = "FaultTo";
+    public static final String WSA_ACTION = "Action";
+
+    // ====================== Common EPR Elements ============================
+    public static final String EPR_ADDRESS = "Address";
+    public static final String EPR_REFERENCE_PARAMETERS = "ReferenceParameters";
+    public static final String EPR_SERVICE_NAME = "ServiceName";
+
+    // ======================================================================
+
+    public interface Submission {
+        // ====================== Addressing Submission Version Constants ===================
+        public static final String WSA_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/08/addressing";
+        public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "wsa:Reply";
+        public static final String WSA_ANONYMOUS_URL = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
+
+        public static final String EPR_REFERENCE_PROPERTIES = "ReferenceProperties";
+        public static final String EPR_PORT_TYPE = "PortType";
+        public static final String EPR_SERVICE_NAME_PORT_NAME = "PortName";
+        // ==================================================================================
+
+    }
+
+    public interface Final {
+        // ====================== Addressing 1.0 Final Version Constants ====================
+        public static final String WSA_NAMESPACE = "http://www.w3.org/2005/02/addressing";
+        public static final String WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "http://www.w3.org/2005/02/addressing/reply";
+        public static final String WSA_ANONYMOUS_URL = "http://www.w3.org/2005/02/addressing/role/anonymous";
+
+        public static final String WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE = "IsReferenceParameter";
+        public static final String WSA_TYPE_ATTRIBUTE_VALUE = "true";
+
+        public static final String WSA_INTERFACE_NAME = "InterfaceName";
+        public static final String WSA_SERVICE_NAME_ENDPOINT_NAME = "EndpointName";
+        public static final String WSA_POLICIES = "Policies";
+        public static final String WSA_METADATA = "Metadata";
+        // ==================================================================================
+
+    }
+
+
+    public static final String WS_ADDRESSING_VERSION = "WSAddressingVersion";
+    public static final String WSA_DEFAULT_PRFIX = "wsa";
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java Thu Sep 15 11:52:11 2005
@@ -1,68 +1,69 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing;
-
-import javax.xml.namespace.QName;
-
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Iterator;
-
-/**
- * Class AnyContentType
- */
-public class AnyContentType implements Serializable {
-    /**
-     * Field anyContentTypeName
-     */
-    private String anyContentTypeName;
-
-    /**
-     * Field valueHolder
-     */
-    private HashMap valueHolder;
-
-    /**
-     * Constructor AnyContentType
-     */
-    public AnyContentType() {
-        valueHolder = new HashMap(5);
-    }
-
-    /**
-     * Method addReferenceValue
-     *
-     * @param name
-     * @param value
-     */
-    public void addReferenceValue(QName name, String value) {
-        valueHolder.put(name, value);
-    }
-
-    /**
-     * Method getReferenceValue
-     *
-     * @param name
-     * @return
-     */
-    public String getReferenceValue(QName name) {
-        return (String) valueHolder.get(name);
-    }
-
-    public Iterator getKeys() {
-        return valueHolder.keySet().iterator();
-    }
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.addressing;
+
+import javax.xml.namespace.QName;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Iterator;
+
+/**
+ * Class AnyContentType
+ */
+public class AnyContentType implements Serializable {
+    /**
+     * Field anyContentTypeName
+     */
+    private String anyContentTypeName;
+
+    /**
+     * Field valueHolder
+     */
+    private HashMap valueHolder;
+
+    /**
+     * Constructor AnyContentType
+     */
+    public AnyContentType() {
+        valueHolder = new HashMap(5);
+    }
+
+    /**
+     * Method addReferenceValue
+     *
+     * @param name
+     * @param value
+     */
+    public void addReferenceValue(QName name, String value) {
+        valueHolder.put(name, value);
+    }
+
+    /**
+     * Method getReferenceValue
+     *
+     * @param name
+     * @return
+     */
+    public String getReferenceValue(QName name) {
+        return (String) valueHolder.get(name);
+    }
+
+    public Iterator getKeys() {
+        return valueHolder.keySet().iterator();
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java Thu Sep 15 11:52:11 2005
@@ -1,171 +1,171 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing;
-
-import org.apache.axis2.om.OMElement;
-
-import javax.xml.namespace.QName;
-import java.io.Serializable;
-
-/**
- * Class EndpointReference
- * TODO : Policy has not been integrated to this
- */
-public class EndpointReference implements Serializable {
-    /**
-     * Required property. may be a logical address or identifier for the service endpoint
-     */
-    private String address;
-
-    /**
-     * Field interfaceName
-     */
-    private QName interfaceName;
-
-    /**
-     * Field referenceProperties
-     */
-    private AnyContentType referenceProperties;
-
-    /**
-     * Field referenceParameters
-     */
-    private AnyContentType referenceParameters;
-
-    /**
-     * Field serviceName
-     */
-    private ServiceName serviceName;
-
-    private OMElement policies;
-
-    private AnyContentType metadata;
-
-    /**
-     * @param address
-     */
-    public EndpointReference(String address) {
-        this.address = address;
-    }
-
-    /**
-     * Method getValue
-     *
-     * @return
-     */
-    public String getAddress() {
-        return address;
-    }
-
-    /**
-     * Method setValue
-     *
-     * @param address
-     */
-    public void setAddress(String address) {
-        this.address = address;
-    }
-
-    /**
-     * Method getInterfaceName
-     *
-     * @return
-     */
-    public QName getInterfaceName() {
-        return interfaceName;
-    }
-
-    /**
-     * Method setInterfaceName
-     *
-     * @param interfaceName
-     */
-    public void setInterfaceName(QName interfaceName) {
-        this.interfaceName = interfaceName;
-    }
-
-    /**
-     * Method getReferenceProperties
-     *
-     * @return
-     */
-    public AnyContentType getReferenceProperties() {
-        return referenceProperties;
-    }
-
-    /**
-     * Method setReferenceProperties
-     *
-     * @param referenceProperties
-     */
-    public void setReferenceProperties(AnyContentType referenceProperties) {
-        this.referenceProperties = referenceProperties;
-    }
-
-    /**
-     * Method getReferenceParameters
-     *
-     * @return
-     */
-    public AnyContentType getReferenceParameters() {
-        return referenceParameters;
-    }
-
-    /**
-     * Method setReferenceParameters
-     *
-     * @param referenceParameters
-     */
-    public void setReferenceParameters(AnyContentType referenceParameters) {
-        this.referenceParameters = referenceParameters;
-    }
-
-    /**
-     * Method getServiceName
-     *
-     * @return
-     */
-    public ServiceName getServiceName() {
-        return serviceName;
-    }
-
-    /**
-     * Method setServiceName
-     *
-     * @param serviceName
-     */
-    public void setServiceName(ServiceName serviceName) {
-        this.serviceName = serviceName;
-    }
-
-    public OMElement getPolicies() {
-        return policies;
-    }
-
-    public void setPolicies(OMElement policies) {
-        this.policies = policies;
-    }
-
-    public AnyContentType getMetadata() {
-        return metadata;
-    }
-
-    public void setMetadata(AnyContentType metadata) {
-        this.metadata = metadata;
-    }
-
-
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.addressing;
+
+import org.apache.axis2.om.OMElement;
+
+import javax.xml.namespace.QName;
+import java.io.Serializable;
+
+/**
+ * Class EndpointReference
+ * TODO : Policy has not been integrated to this
+ */
+public class EndpointReference implements Serializable {
+    /**
+     * Required property. may be a logical address or identifier for the service endpoint
+     */
+    private String address;
+
+    /**
+     * Field interfaceName
+     */
+    private QName interfaceName;
+
+    /**
+     * Field referenceProperties
+     */
+    private AnyContentType referenceProperties;
+
+    /**
+     * Field referenceParameters
+     */
+    private AnyContentType referenceParameters;
+
+    /**
+     * Field serviceName
+     */
+    private ServiceName serviceName;
+
+    private OMElement policies;
+
+    private AnyContentType metadata;
+
+    /**
+     * @param address
+     */
+    public EndpointReference(String address) {
+        this.address = address;
+    }
+
+    /**
+     * Method getValue
+     *
+     * @return
+     */
+    public String getAddress() {
+        return address;
+    }
+
+    /**
+     * Method setValue
+     *
+     * @param address
+     */
+    public void setAddress(String address) {
+        this.address = address;
+    }
+
+    /**
+     * Method getInterfaceName
+     *
+     * @return
+     */
+    public QName getInterfaceName() {
+        return interfaceName;
+    }
+
+    /**
+     * Method setInterfaceName
+     *
+     * @param interfaceName
+     */
+    public void setInterfaceName(QName interfaceName) {
+        this.interfaceName = interfaceName;
+    }
+
+    /**
+     * Method getReferenceProperties
+     *
+     * @return
+     */
+    public AnyContentType getReferenceProperties() {
+        return referenceProperties;
+    }
+
+    /**
+     * Method setReferenceProperties
+     *
+     * @param referenceProperties
+     */
+    public void setReferenceProperties(AnyContentType referenceProperties) {
+        this.referenceProperties = referenceProperties;
+    }
+
+    /**
+     * Method getReferenceParameters
+     *
+     * @return
+     */
+    public AnyContentType getReferenceParameters() {
+        return referenceParameters;
+    }
+
+    /**
+     * Method setReferenceParameters
+     *
+     * @param referenceParameters
+     */
+    public void setReferenceParameters(AnyContentType referenceParameters) {
+        this.referenceParameters = referenceParameters;
+    }
+
+    /**
+     * Method getServiceName
+     *
+     * @return
+     */
+    public ServiceName getServiceName() {
+        return serviceName;
+    }
+
+    /**
+     * Method setServiceName
+     *
+     * @param serviceName
+     */
+    public void setServiceName(ServiceName serviceName) {
+        this.serviceName = serviceName;
+    }
+
+    public OMElement getPolicies() {
+        return policies;
+    }
+
+    public void setPolicies(OMElement policies) {
+        this.policies = policies;
+    }
+
+    public AnyContentType getMetadata() {
+        return metadata;
+    }
+
+    public void setMetadata(AnyContentType metadata) {
+        this.metadata = metadata;
+    }
+
+
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java Thu Sep 15 11:52:11 2005
@@ -1,241 +1,241 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing;
-
-import org.apache.axis2.addressing.miheaders.RelatesTo;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPHeader;
-
-import java.io.Serializable;
-import java.util.ArrayList;
-
-/**
- * This holds the WSA Message Information Headers
- */
-public class MessageInformationHeaders implements Serializable {
-
-    /**
-     * The address of the intended receiver of the message. This is mandatory
-     */
-    private EndpointReference to;
-
-    /**
-     * Reference of the endpoint where the message originated from
-     */
-    private EndpointReference from;
-
-    /**
-     * Pair of values that indicate how this message related to another message
-     */
-    private RelatesTo relatesTo;
-
-    /**
-     * identifies the intended receiver for replies to the message
-     */
-    private EndpointReference replyTo;
-
-    /**
-     * identifies the intended receiver for faults related to the message
-     */
-    private EndpointReference faultTo;
-
-    /**
-     * Field action
-     */
-    private String action;
-
-    /**
-     * Field messageId
-     */
-    private String messageId;
-
-    private ArrayList referenceParameters;
-
-
-    /**
-     * Addressing Header MUST have a to and an action
-     *
-     * @param wsaTo
-     * @param action
-     */
-    public MessageInformationHeaders(EndpointReference wsaTo,
-                                               String action) {
-        this.to = wsaTo;
-        this.action = action;
-    }
-
-    public MessageInformationHeaders() {
-    }
-
-    /**
-     * Method toOM
-     *
-     * @param soapHeader
-     */
-    public void toOM(SOAPHeader soapHeader) {
-        throw new UnsupportedOperationException();
-    }
-
-    // ------------------- Setters and Getters --------------------------------------
-
-    /**
-     * Method getTo
-     *
-     * @return
-     */
-    public EndpointReference getTo() {
-
-        return to;
-    }
-
-    /**
-     * Method setTo
-     *
-     * @param to
-     */
-    public void setTo(EndpointReference to) {
-        this.to = to;
-    }
-
-    /**
-     * Method getFrom
-     *
-     * @return
-     */
-    public EndpointReference getFrom() {
-        return from;
-    }
-
-    /**
-     * Method setFrom
-     *
-     * @param from
-     */
-    public void setFrom(EndpointReference from) {
-        this.from = from;
-    }
-
-    /**
-     * Method getReplyTo
-     *
-     * @return
-     */
-    public EndpointReference getReplyTo() {
-
-        return replyTo;
-    }
-
-    /**
-     * Method setReplyTo
-     *
-     * @param replyTo
-     */
-    public void setReplyTo(EndpointReference replyTo) {
-        this.replyTo = replyTo;
-    }
-
-    /**
-     * Method getFaultTo
-     *
-     * @return
-     */
-    public EndpointReference getFaultTo() {
-
-        return faultTo;
-    }
-
-    /**
-     * Method setFaultTo
-     *
-     * @param faultTo
-     */
-    public void setFaultTo(EndpointReference faultTo) {
-        this.faultTo = faultTo;
-    }
-
-    /**
-     * Method getAction
-     *
-     * @return
-     */
-    public String getAction() {
-        return action;
-    }
-
-    /**
-     * Method setAction
-     *
-     * @param action
-     */
-    public void setAction(String action) {
-        this.action = action;
-    }
-
-    /**
-     * Method getMessageId
-     *
-     * @return
-     */
-    public String getMessageId() {
-        return messageId;
-    }
-
-    /**
-     * Method setMessageId
-     *
-     * @param messageId
-     */
-    public void setMessageId(String messageId) {
-        this.messageId = messageId;
-    }
-
-    /**
-     * Method getRelatesTo
-     *
-     * @return
-     */
-    public RelatesTo getRelatesTo() {
-
-        return relatesTo;
-    }
-
-    /**
-     * Method setRelatesTo
-     *
-     * @param relatesTo
-     */
-    public void setRelatesTo(RelatesTo relatesTo) {
-
-        this.relatesTo = relatesTo;
-    }
-
-    public ArrayList getReferenceParameters() {
-        return referenceParameters;
-    }
-
-    public void setReferenceParameters(ArrayList referenceParameters) {
-        this.referenceParameters = referenceParameters;
-    }
-
-    public void addReferenceParameter(OMElement referenceParameter) {
-        if (referenceParameters == null) {
-            referenceParameters = new ArrayList(5);
-        }
-        referenceParameters.add(referenceParameter);
-    }
-
-    // --------------------------------------------------------------------------------------------
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.addressing;
+
+import org.apache.axis2.addressing.miheaders.RelatesTo;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPHeader;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+
+/**
+ * This holds the WSA Message Information Headers
+ */
+public class MessageInformationHeaders implements Serializable {
+
+    /**
+     * The address of the intended receiver of the message. This is mandatory
+     */
+    private EndpointReference to;
+
+    /**
+     * Reference of the endpoint where the message originated from
+     */
+    private EndpointReference from;
+
+    /**
+     * Pair of values that indicate how this message related to another message
+     */
+    private RelatesTo relatesTo;
+
+    /**
+     * identifies the intended receiver for replies to the message
+     */
+    private EndpointReference replyTo;
+
+    /**
+     * identifies the intended receiver for faults related to the message
+     */
+    private EndpointReference faultTo;
+
+    /**
+     * Field action
+     */
+    private String action;
+
+    /**
+     * Field messageId
+     */
+    private String messageId;
+
+    private ArrayList referenceParameters;
+
+
+    /**
+     * Addressing Header MUST have a to and an action
+     *
+     * @param wsaTo
+     * @param action
+     */
+    public MessageInformationHeaders(EndpointReference wsaTo,
+                                               String action) {
+        this.to = wsaTo;
+        this.action = action;
+    }
+
+    public MessageInformationHeaders() {
+    }
+
+    /**
+     * Method toOM
+     *
+     * @param soapHeader
+     */
+    public void toOM(SOAPHeader soapHeader) {
+        throw new UnsupportedOperationException();
+    }
+
+    // ------------------- Setters and Getters --------------------------------------
+
+    /**
+     * Method getTo
+     *
+     * @return
+     */
+    public EndpointReference getTo() {
+
+        return to;
+    }
+
+    /**
+     * Method setTo
+     *
+     * @param to
+     */
+    public void setTo(EndpointReference to) {
+        this.to = to;
+    }
+
+    /**
+     * Method getFrom
+     *
+     * @return
+     */
+    public EndpointReference getFrom() {
+        return from;
+    }
+
+    /**
+     * Method setFrom
+     *
+     * @param from
+     */
+    public void setFrom(EndpointReference from) {
+        this.from = from;
+    }
+
+    /**
+     * Method getReplyTo
+     *
+     * @return
+     */
+    public EndpointReference getReplyTo() {
+
+        return replyTo;
+    }
+
+    /**
+     * Method setReplyTo
+     *
+     * @param replyTo
+     */
+    public void setReplyTo(EndpointReference replyTo) {
+        this.replyTo = replyTo;
+    }
+
+    /**
+     * Method getFaultTo
+     *
+     * @return
+     */
+    public EndpointReference getFaultTo() {
+
+        return faultTo;
+    }
+
+    /**
+     * Method setFaultTo
+     *
+     * @param faultTo
+     */
+    public void setFaultTo(EndpointReference faultTo) {
+        this.faultTo = faultTo;
+    }
+
+    /**
+     * Method getAction
+     *
+     * @return
+     */
+    public String getAction() {
+        return action;
+    }
+
+    /**
+     * Method setAction
+     *
+     * @param action
+     */
+    public void setAction(String action) {
+        this.action = action;
+    }
+
+    /**
+     * Method getMessageId
+     *
+     * @return
+     */
+    public String getMessageId() {
+        return messageId;
+    }
+
+    /**
+     * Method setMessageId
+     *
+     * @param messageId
+     */
+    public void setMessageId(String messageId) {
+        this.messageId = messageId;
+    }
+
+    /**
+     * Method getRelatesTo
+     *
+     * @return
+     */
+    public RelatesTo getRelatesTo() {
+
+        return relatesTo;
+    }
+
+    /**
+     * Method setRelatesTo
+     *
+     * @param relatesTo
+     */
+    public void setRelatesTo(RelatesTo relatesTo) {
+
+        this.relatesTo = relatesTo;
+    }
+
+    public ArrayList getReferenceParameters() {
+        return referenceParameters;
+    }
+
+    public void setReferenceParameters(ArrayList referenceParameters) {
+        this.referenceParameters = referenceParameters;
+    }
+
+    public void addReferenceParameter(OMElement referenceParameter) {
+        if (referenceParameters == null) {
+            referenceParameters = new ArrayList(5);
+        }
+        referenceParameters.add(referenceParameter);
+    }
+
+    // --------------------------------------------------------------------------------------------
 }

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java Thu Sep 15 11:52:11 2005
@@ -1,87 +1,87 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing;
-
-import java.io.Serializable;
-
-import javax.xml.namespace.QName;
-
-/**
- * Class ServiceName
- */
-public class ServiceName implements Serializable{
-    /**
-     * Field name
-     */
-    private QName name;
-
-    /**
-     * Field endpointName
-     */
-    private String endpointName;
-
-    /**
-     * @param name
-     */
-    public ServiceName(QName name) {
-        this.name = name;
-    }
-
-    /**
-     * @param name
-     * @param portName
-     */
-    public ServiceName(QName name, String portName) {
-        this.name = name;
-        this.endpointName = portName;
-    }
-
-    /**
-     * Method getName
-     *
-     * @return
-     */
-    public QName getName() {
-        return name;
-    }
-
-    /**
-     * Method setName
-     *
-     * @param name
-     */
-    public void setName(QName name) {
-        this.name = name;
-    }
-
-    /**
-     * Method getEndpointName
-     *
-     * @return
-     */
-    public String getEndpointName() {
-        return endpointName;
-    }
-
-    /**
-     * Method setEndpointName
-     *
-     * @param endpointName
-     */
-    public void setEndpointName(String endpointName) {
-        this.endpointName = endpointName;
-    }
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.addressing;
+
+import java.io.Serializable;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Class ServiceName
+ */
+public class ServiceName implements Serializable{
+    /**
+     * Field name
+     */
+    private QName name;
+
+    /**
+     * Field endpointName
+     */
+    private String endpointName;
+
+    /**
+     * @param name
+     */
+    public ServiceName(QName name) {
+        this.name = name;
+    }
+
+    /**
+     * @param name
+     * @param portName
+     */
+    public ServiceName(QName name, String portName) {
+        this.name = name;
+        this.endpointName = portName;
+    }
+
+    /**
+     * Method getName
+     *
+     * @return
+     */
+    public QName getName() {
+        return name;
+    }
+
+    /**
+     * Method setName
+     *
+     * @param name
+     */
+    public void setName(QName name) {
+        this.name = name;
+    }
+
+    /**
+     * Method getEndpointName
+     *
+     * @return
+     */
+    public String getEndpointName() {
+        return endpointName;
+    }
+
+    /**
+     * Method setEndpointName
+     *
+     * @param endpointName
+     */
+    public void setEndpointName(String endpointName) {
+        this.endpointName = endpointName;
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/RelatesTo.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/RelatesTo.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/RelatesTo.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/RelatesTo.java Thu Sep 15 11:52:11 2005
@@ -1,89 +1,90 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing.miheaders;
-
-import java.io.Serializable;
-
-/**
- * Class RelatesTo
- */
-public class RelatesTo implements Serializable{
-    /**
-     * Field value
-     */
-    private String value;
-
-    /**
-     * Field relationshipType
-     */
-    private String relationshipType;
-
-    /**
-     * Constructor RelatesTo
-     *
-     * @param address
-     */
-    public RelatesTo(String address) {
-        this.value = address;
-    }
-
-    /**
-     * Constructor RelatesTo
-     *
-     * @param value
-     * @param relationshipType
-     */
-    public RelatesTo(String value, String relationshipType) {
-        this.value = value;
-        this.relationshipType = relationshipType;
-    }
-
-    /**
-     * Method getValue
-     *
-     * @return
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * Method setValue
-     *
-     * @param value
-     */
-    public void setValue(String value) {
-        this.value = value;
-    }
-
-    /**
-     * Method getRelationshipType
-     *
-     * @return
-     */
-    public String getRelationshipType() {
-        return relationshipType;
-    }
-
-    /**
-     * Method setRelationshipType
-     *
-     * @param relationshipType
-     */
-    public void setRelationshipType(String relationshipType) {
-        this.relationshipType = relationshipType;
-    }
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.addressing.miheaders;
+
+import java.io.Serializable;
+
+/**
+ * Class RelatesTo
+ */
+public class RelatesTo implements Serializable{
+    /**
+     * Field value
+     */
+    private String value;
+
+    /**
+     * Field relationshipType
+     */
+    private String relationshipType;
+
+    /**
+     * Constructor RelatesTo
+     *
+     * @param address
+     */
+    public RelatesTo(String address) {
+        this.value = address;
+    }
+
+    /**
+     * Constructor RelatesTo
+     *
+     * @param value
+     * @param relationshipType
+     */
+    public RelatesTo(String value, String relationshipType) {
+        this.value = value;
+        this.relationshipType = relationshipType;
+    }
+
+    /**
+     * Method getValue
+     *
+     * @return
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Method setValue
+     *
+     * @param value
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Method getRelationshipType
+     *
+     * @return
+     */
+    public String getRelationshipType() {
+        return relationshipType;
+    }
+
+    /**
+     * Method setRelationshipType
+     *
+     * @param relationshipType
+     */
+    public void setRelationshipType(String relationshipType) {
+        this.relationshipType = relationshipType;
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/RelatesTo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/om/AddressingHeaders.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/om/AddressingHeaders.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/om/AddressingHeaders.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/om/AddressingHeaders.java Thu Sep 15 11:52:11 2005
@@ -1,200 +1,201 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.addressing.om;
-
-import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.miheaders.RelatesTo;
-
-/**
- * Class AddressingHeaders
- */
-public class AddressingHeaders {
-    /**
-     * Field wsaTo
-     */
-    private EndpointReference wsaTo;
-
-    /**
-     * Field wsaFrom
-     */
-    private EndpointReference wsaFrom;
-
-    /**
-     * Field wsaReply
-     */
-    private EndpointReference wsaReply;
-
-    /**
-     * Field wsaFaultTo
-     */
-    private EndpointReference wsaFaultTo;
-
-    /**
-     * Field action
-     */
-    private String action;
-
-    /**
-     * Field messageId
-     */
-    private String messageId;
-
-    /**
-     * Field relatesTo
-     */
-    private RelatesTo relatesTo;
-
-    /**
-     * Addressing Header MUST have a to and an action
-     *
-     * @param wsaTo
-     * @param action
-     */
-    public AddressingHeaders(EndpointReference wsaTo, String action) {
-        this.wsaTo = wsaTo;
-        this.action = action;
-    }
-
-    // ------------------- Setters and Getters --------------------------------------
-
-    /**
-     * Method getWsaTo
-     *
-     * @return
-     */
-    public EndpointReference getWsaTo() {
-        return wsaTo;
-    }
-
-    /**
-     * Method setWsaTo
-     *
-     * @param wsaTo
-     */
-    public void setWsaTo(EndpointReference wsaTo) {
-        this.wsaTo = wsaTo;
-    }
-
-    /**
-     * Method getWsaFrom
-     *
-     * @return
-     */
-    public EndpointReference getWsaFrom() {
-        return wsaFrom;
-    }
-
-    /**
-     * Method setWsaFrom
-     *
-     * @param wsaFrom
-     */
-    public void setWsaFrom(EndpointReference wsaFrom) {
-        this.wsaFrom = wsaFrom;
-    }
-
-    /**
-     * Method getWsaReply
-     *
-     * @return
-     */
-    public EndpointReference getWsaReply() {
-        return wsaReply;
-    }
-
-    /**
-     * Method setWsaReply
-     *
-     * @param wsaReply
-     */
-    public void setWsaReply(EndpointReference wsaReply) {
-        this.wsaReply = wsaReply;
-    }
-
-    /**
-     * Method getWsaFaultTo
-     *
-     * @return
-     */
-    public EndpointReference getWsaFaultTo() {
-        return wsaFaultTo;
-    }
-
-    /**
-     * Method setWsaFaultTo
-     *
-     * @param wsaFaultTo
-     */
-    public void setWsaFaultTo(EndpointReference wsaFaultTo) {
-        this.wsaFaultTo = wsaFaultTo;
-    }
-
-    /**
-     * Method getAction
-     *
-     * @return
-     */
-    public String getAction() {
-        return action;
-    }
-
-    /**
-     * Method setAction
-     *
-     * @param action
-     */
-    public void setAction(String action) {
-        this.action = action;
-    }
-
-    /**
-     * Method getMessageId
-     *
-     * @return
-     */
-    public String getMessageId() {
-        return messageId;
-    }
-
-    /**
-     * Method setMessageId
-     *
-     * @param messageId
-     */
-    public void setMessageId(String messageId) {
-        this.messageId = messageId;
-    }
-
-    /**
-     * Method getRelatesTo
-     *
-     * @return
-     */
-    public RelatesTo getRelatesTo() {
-        return relatesTo;
-    }
-
-    /**
-     * Method setRelatesTo
-     *
-     * @param relatesTo
-     */
-    public void setRelatesTo(RelatesTo relatesTo) {
-        this.relatesTo = relatesTo;
-    }
-
-    // --------------------------------------------------------------------------------------------
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.addressing.om;
+
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.addressing.miheaders.RelatesTo;
+
+/**
+ * Class AddressingHeaders
+ */
+public class AddressingHeaders {
+    /**
+     * Field wsaTo
+     */
+    private EndpointReference wsaTo;
+
+    /**
+     * Field wsaFrom
+     */
+    private EndpointReference wsaFrom;
+
+    /**
+     * Field wsaReply
+     */
+    private EndpointReference wsaReply;
+
+    /**
+     * Field wsaFaultTo
+     */
+    private EndpointReference wsaFaultTo;
+
+    /**
+     * Field action
+     */
+    private String action;
+
+    /**
+     * Field messageId
+     */
+    private String messageId;
+
+    /**
+     * Field relatesTo
+     */
+    private RelatesTo relatesTo;
+
+    /**
+     * Addressing Header MUST have a to and an action
+     *
+     * @param wsaTo
+     * @param action
+     */
+    public AddressingHeaders(EndpointReference wsaTo, String action) {
+        this.wsaTo = wsaTo;
+        this.action = action;
+    }
+
+    // ------------------- Setters and Getters --------------------------------------
+
+    /**
+     * Method getWsaTo
+     *
+     * @return
+     */
+    public EndpointReference getWsaTo() {
+        return wsaTo;
+    }
+
+    /**
+     * Method setWsaTo
+     *
+     * @param wsaTo
+     */
+    public void setWsaTo(EndpointReference wsaTo) {
+        this.wsaTo = wsaTo;
+    }
+
+    /**
+     * Method getWsaFrom
+     *
+     * @return
+     */
+    public EndpointReference getWsaFrom() {
+        return wsaFrom;
+    }
+
+    /**
+     * Method setWsaFrom
+     *
+     * @param wsaFrom
+     */
+    public void setWsaFrom(EndpointReference wsaFrom) {
+        this.wsaFrom = wsaFrom;
+    }
+
+    /**
+     * Method getWsaReply
+     *
+     * @return
+     */
+    public EndpointReference getWsaReply() {
+        return wsaReply;
+    }
+
+    /**
+     * Method setWsaReply
+     *
+     * @param wsaReply
+     */
+    public void setWsaReply(EndpointReference wsaReply) {
+        this.wsaReply = wsaReply;
+    }
+
+    /**
+     * Method getWsaFaultTo
+     *
+     * @return
+     */
+    public EndpointReference getWsaFaultTo() {
+        return wsaFaultTo;
+    }
+
+    /**
+     * Method setWsaFaultTo
+     *
+     * @param wsaFaultTo
+     */
+    public void setWsaFaultTo(EndpointReference wsaFaultTo) {
+        this.wsaFaultTo = wsaFaultTo;
+    }
+
+    /**
+     * Method getAction
+     *
+     * @return
+     */
+    public String getAction() {
+        return action;
+    }
+
+    /**
+     * Method setAction
+     *
+     * @param action
+     */
+    public void setAction(String action) {
+        this.action = action;
+    }
+
+    /**
+     * Method getMessageId
+     *
+     * @return
+     */
+    public String getMessageId() {
+        return messageId;
+    }
+
+    /**
+     * Method setMessageId
+     *
+     * @param messageId
+     */
+    public void setMessageId(String messageId) {
+        this.messageId = messageId;
+    }
+
+    /**
+     * Method getRelatesTo
+     *
+     * @return
+     */
+    public RelatesTo getRelatesTo() {
+        return relatesTo;
+    }
+
+    /**
+     * Method setRelatesTo
+     *
+     * @param relatesTo
+     */
+    public void setRelatesTo(RelatesTo relatesTo) {
+        this.relatesTo = relatesTo;
+    }
+
+    // --------------------------------------------------------------------------------------------
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/om/AddressingHeaders.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AbstractCallbackSupporter.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AbstractCallbackSupporter.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AbstractCallbackSupporter.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AbstractCallbackSupporter.java Thu Sep 15 11:52:11 2005
@@ -1,64 +1,64 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.axis2.clientapi;
-
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMNode;
-import org.apache.axis2.om.OMText;
-
-import javax.xml.namespace.QName;
-import java.util.Iterator;
-
-
-public abstract class AbstractCallbackSupporter {
-
-    protected boolean runOptimizer = false;
-
-    /**
-     *
-     * @param element
-     * @param qNames
-     */
-    protected static void optimizeContent(OMElement element, QName[] qNames){
-        int length = qNames.length;
-        QName qName;
-        for (int i = 0; i < length; i++) {
-            qName = qNames[i];
-            markElementsAsOptimized(qName,element);
-        }
-    }
-
-    /**
-     *
-     * @param qName
-     * @param rootElt
-     */
-    private static void markElementsAsOptimized(QName qName,OMElement rootElt){
-        if (rootElt.getQName().equals(qName)){
-            //get the text node and mark it
-            OMNode node = rootElt.getFirstChild();
-            if (node.getType()==OMNode.TEXT_NODE){
-                ((OMText)node).setOptimize(true);
-            }
-
-        }
-        Iterator childElements = rootElt.getChildElements();
-        while (childElements.hasNext()) {
-            markElementsAsOptimized(qName,(OMElement)childElements.next());
-        }
-    }
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.axis2.clientapi;
+
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.om.OMNode;
+import org.apache.axis2.om.OMText;
+
+import javax.xml.namespace.QName;
+import java.util.Iterator;
+
+
+public abstract class AbstractCallbackSupporter {
+
+    protected boolean runOptimizer = false;
+
+    /**
+     *
+     * @param element
+     * @param qNames
+     */
+    protected static void optimizeContent(OMElement element, QName[] qNames){
+        int length = qNames.length;
+        QName qName;
+        for (int i = 0; i < length; i++) {
+            qName = qNames[i];
+            markElementsAsOptimized(qName,element);
+        }
+    }
+
+    /**
+     *
+     * @param qName
+     * @param rootElt
+     */
+    private static void markElementsAsOptimized(QName qName,OMElement rootElt){
+        if (rootElt.getQName().equals(qName)){
+            //get the text node and mark it
+            OMNode node = rootElt.getFirstChild();
+            if (node.getType()==OMNode.TEXT_NODE){
+                ((OMText)node).setOptimize(true);
+            }
+
+        }
+        Iterator childElements = rootElt.getChildElements();
+        while (childElements.hasNext()) {
+            markElementsAsOptimized(qName,(OMElement)childElements.next());
+        }
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AbstractCallbackSupporter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AsyncResult.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AsyncResult.java?rev=289289&r1=289288&r2=289289&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AsyncResult.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AsyncResult.java Thu Sep 15 11:52:11 2005
@@ -1,50 +1,50 @@
-/*
- * Copyright 2004,2005 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.axis2.clientapi;
-
-import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.soap.SOAPEnvelope;
-
-/**
- * This Class represents the results of a Async Invocation, this is one return to the
- * Callback. This class is almost always created by the Axis2 and returned.
- */
-public class AsyncResult {
-
-    public AsyncResult(MessageContext result) {
-        this.result = result;
-    }
-    /**
-     * Field result
-     */
-    private MessageContext result;
-
-    /**
-     * @return SOAPEnvelope
-     */
-    public SOAPEnvelope getResponseEnvelope() {
-        if (result != null) {
-            return result.getEnvelope();
-        } else {
-            return null;
-        }
-
-    }
-
-    public MessageContext getResponseMessageContext() {
-        return result;
-    }
-}
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.axis2.clientapi;
+
+import org.apache.axis2.context.MessageContext;
+import org.apache.axis2.soap.SOAPEnvelope;
+
+/**
+ * This Class represents the results of a Async Invocation, this is one return to the
+ * Callback. This class is almost always created by the Axis2 and returned.
+ */
+public class AsyncResult {
+
+    public AsyncResult(MessageContext result) {
+        this.result = result;
+    }
+    /**
+     * Field result
+     */
+    private MessageContext result;
+
+    /**
+     * @return SOAPEnvelope
+     */
+    public SOAPEnvelope getResponseEnvelope() {
+        if (result != null) {
+            return result.getEnvelope();
+        } else {
+            return null;
+        }
+
+    }
+
+    public MessageContext getResponseMessageContext() {
+        return result;
+    }
+}

Propchange: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/clientapi/AsyncResult.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message