axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r225841 - in /webservices/axis/trunk/java/modules: addressing/src/org/apache/axis2/handlers/addressing/ addressing/test/org/apache/axis2/handlers/addressing/ core/src/org/apache/axis2/addressing/ core/src/org/apache/axis2/clientapi/ core/sr...
Date Thu, 28 Jul 2005 18:24:49 GMT
Author: gdaniels
Date: Thu Jul 28 11:24:18 2005
New Revision: 225841

URL: http://svn.apache.org/viewcvs?rev=225841&view=rev
Log:
Refactoring (pull unnecessary field from EndpointReference, rename MessagingInformationHeaders)

Removed:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeadersCollection.java
Modified:
    webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
    webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
    webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingInHandlerTest.java
    webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java
    webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java
    webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
    webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
    webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
    webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
    webservices/axis/trunk/java/modules/samples/src/sample/mtom/imagetransfer/client/MTOMClientModel.java
    webservices/axis/trunk/java/modules/samples/src/sample/mtom/interop/client/InteropClientModel.java
    webservices/axis/trunk/java/modules/samples/src/sample/yahooservices/RESTSearch/RESTSearchClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java
    webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDispatchingTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/groovy/GroovyServiceTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/processingModel/SoapProcessingModelTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/rest/RESTBasedEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/swa/EchoRawSwATest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java

Modified: webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java (original)
+++ webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java Thu Jul 28 11:24:18 2005
@@ -2,7 +2,7 @@
 
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.handlers.AbstractHandler;
@@ -104,7 +104,7 @@
      */
     private void extractReferenceParameters(
         SOAPHeader header,
-        MessageInformationHeadersCollection messageInformationHeaders) {
+        MessageInformationHeaders messageInformationHeaders) {
         Iterator headerBlocks = header.getChildren();
         while (headerBlocks.hasNext()) {
             SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) headerBlocks.next();
@@ -124,7 +124,7 @@
 
     private void extractAddressingFinalInformationFromHeaders(
         SOAPHeader header,
-        MessageInformationHeadersCollection messageInformationHeaders,
+        MessageInformationHeaders messageInformationHeaders,
         ArrayList addressingHeaders)
         throws AddressingException {
         extractCommonAddressingParameters(
@@ -136,7 +136,7 @@
 
     private void extractAddressingSubmissionInformationFromHeaders(
         SOAPHeader header,
-        MessageInformationHeadersCollection messageInformationHeaders,
+        MessageInformationHeaders messageInformationHeaders,
         ArrayList addressingHeaders)
         throws AddressingException {
         extractCommonAddressingParameters(
@@ -146,14 +146,14 @@
             Submission.WSA_NAMESPACE);
     }
 
-    public MessageInformationHeadersCollection extractCommonAddressingParameters(
+    public MessageInformationHeaders extractCommonAddressingParameters(
         SOAPHeader header,
-        MessageInformationHeadersCollection messageInformationHeadersCollection,
+        MessageInformationHeaders messageInformationHeadersCollection,
         ArrayList addressingHeaders,
         String addressingNamespace)
         throws AddressingException {
         if (messageInformationHeadersCollection == null) {
-            messageInformationHeadersCollection = new MessageInformationHeadersCollection();
+            messageInformationHeadersCollection = new MessageInformationHeaders();
         }
 
         Iterator addressingHeadersIt = addressingHeaders.iterator();
@@ -162,26 +162,26 @@
             EndpointReference epr = null;
             if (AddressingConstants.WSA_TO.equals(soapHeaderBlock.getLocalName())) {
                 //here the addressing epr overidde what ever already there is 
-                epr = new EndpointReference(AddressingConstants.WSA_TO, soapHeaderBlock.getText());
+                epr = new EndpointReference(soapHeaderBlock.getText());
                 messageInformationHeadersCollection.setTo(epr);
             } else if (AddressingConstants.WSA_FROM.equals(soapHeaderBlock.getLocalName())) {
                 epr = messageInformationHeadersCollection.getFrom();
                 if (epr == null) {
-                    epr = new EndpointReference(AddressingConstants.WSA_FROM, "");
+                    epr = new EndpointReference("");
                     messageInformationHeadersCollection.setFrom(epr);
                 }
                 extractEPRAddressInformation(soapHeaderBlock, epr, addressingNamespace);
             } else if (AddressingConstants.WSA_REPLY_TO.equals(soapHeaderBlock.getLocalName())) {
                 epr = messageInformationHeadersCollection.getReplyTo();
                 if (epr == null) {
-                    epr = new EndpointReference(AddressingConstants.WSA_REPLY_TO, "");
+                    epr = new EndpointReference("");
                     messageInformationHeadersCollection.setReplyTo(epr);
                 }
                 extractEPRAddressInformation(soapHeaderBlock, epr, addressingNamespace);
             } else if (AddressingConstants.WSA_FAULT_TO.equals(soapHeaderBlock.getLocalName())) {
                 epr = messageInformationHeadersCollection.getFaultTo();
                 if (epr == null) {
-                    epr = new EndpointReference(AddressingConstants.WSA_FAULT_TO, "");
+                    epr = new EndpointReference("");
                     messageInformationHeadersCollection.setFaultTo(epr);
                 }
                 extractEPRAddressInformation(soapHeaderBlock, epr, addressingNamespace);

Modified: webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java (original)
+++ webservices/axis/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java Thu Jul 28 11:24:18 2005
@@ -3,7 +3,7 @@
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.AnyContentType;
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.ServiceName;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
@@ -91,7 +91,7 @@
                         addressingNamespace, WSA_DEFAULT_PRFIX);
 
 
-        MessageInformationHeadersCollection messageInformationHeaders =
+        MessageInformationHeaders messageInformationHeaders =
                 msgContext.getMessageInformationHeaders();
         SOAPHeader soapHeader = msgContext.getEnvelope().getHeader();
 

Modified: webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingInHandlerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingInHandlerTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingInHandlerTest.java (original)
+++ webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingInHandlerTest.java Thu Jul 28 11:24:18 2005
@@ -3,7 +3,7 @@
 import junit.framework.TestCase;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.handlers.util.TestUtil;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPHeader;
@@ -57,7 +57,7 @@
                     testFileName);
 
             SOAPHeader header = ((SOAPEnvelope) omBuilder.getDocumentElement()).getHeader();
-            MessageInformationHeadersCollection messageInformationHeadersCollection =
+            MessageInformationHeaders messageInformationHeadersCollection =
                     inHandler.extractCommonAddressingParameters(header,
                             null,
                             header.getHeaderBlocksWithNSURI(

Modified: webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java (original)
+++ webservices/axis/trunk/java/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java Thu Jul 28 11:24:18 2005
@@ -4,7 +4,7 @@
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.AnyContentType;
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.ServiceName;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
@@ -52,8 +52,7 @@
     }
 
     public void testAddToSOAPHeader() throws Exception {
-        EndpointReference epr = new EndpointReference(WSA_TO,
-                "http://www.to.org/service/");
+        EndpointReference epr = new EndpointReference("http://www.to.org/service/");
         epr.setInterfaceName(
                 new QName("http://www.from.org/service/port/",
                         "Port",
@@ -93,18 +92,17 @@
     }
 
     public void testHeaderCreationFromMsgCtxtInformation() throws Exception {
-        MessageInformationHeadersCollection mIHeaders = new MessageInformationHeadersCollection();
+        MessageInformationHeaders mIHeaders = new MessageInformationHeaders();
 
         AnyContentType referenceValues = new AnyContentType();
 
-        EndpointReference epr = new EndpointReference(WSA_FROM,
-                "http://www.from.org/service/");
+        EndpointReference epr = new EndpointReference("http://www.from.org/service/");
         referenceValues.addReferenceValue(new QName("Reference2"),
                 "Value 200");
         epr.setReferenceParameters(referenceValues);
         mIHeaders.setFrom(epr);
 
-        epr = new EndpointReference(WSA_TO, "http://www.to.org/service/");
+        epr = new EndpointReference("http://www.to.org/service/");
         referenceValues = new AnyContentType();
         referenceValues.addReferenceValue(
                 new QName("http://reference.org", "Reference4", "myRef"),
@@ -128,8 +126,7 @@
         mIHeaders.setTo(epr);
 
         epr =
-                new EndpointReference(WSA_REPLY_TO,
-                        "http://www.replyTo.org/service/");
+                new EndpointReference("http://www.replyTo.org/service/");
         mIHeaders.setReplyTo(epr);
 
         mIHeaders.setMessageId("123456-7890");

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java Thu Jul 28 11:24:18 2005
@@ -25,14 +25,6 @@
  */
 public class EndpointReference {
     /**
-     * this can be one of the followings
-     * AddressingConstants.WSA_FROM
-     * AddressingConstants.WSA_REPLY_TO
-     * AddressingConstants.WSA_FAULT_TO
-     */
-    private String messageInformationHeaderType;
-
-    /**
      * Required property. may be a logical address or identifier for the service endpoint
      */
     private String address;
@@ -60,35 +52,10 @@
     private OMElement policies;
 
     /**
-     * @param messageInformationHeaderType this can be one of the followings
-     *                                     AddressingConstants.WSA_FROM
-     *                                     AddressingConstants.WSA_REPLY_TO
-     *                                     AddressingConstants.WSA_FAULT_TO
      * @param address
      */
-    public EndpointReference(String messageInformationHeaderType,
-                             String address) {
-        this.messageInformationHeaderType = messageInformationHeaderType;
+    public EndpointReference(String address) {
         this.address = address;
-    }
-
-    /**
-     * Method getMessageInformationHeaderType
-     *
-     * @return
-     */
-    public String getMessageInformationHeaderType() {
-        return messageInformationHeaderType;
-    }
-
-    /**
-     * Method setMessageInformationHeaderType
-     *
-     * @param messageInformationHeaderType
-     */
-    public void setMessageInformationHeaderType(
-            String messageInformationHeaderType) {
-        this.messageInformationHeaderType = messageInformationHeaderType;
     }
 
     /**

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/clientapi/InOnlyMEPClient.java Thu Jul 28 11:24:18 2005
@@ -20,7 +20,7 @@
 import javax.xml.namespace.QName;
 
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
@@ -37,13 +37,13 @@
  * This class Hnadles In-Only (fire and forget) MEP
  */
 public class InOnlyMEPClient extends MEPClient {
-    protected MessageInformationHeadersCollection messageInformationHeaders;
+    protected MessageInformationHeaders messageInformationHeaders;
     protected TransportOutDescription senderTransport;
 
 
     public InOnlyMEPClient(ServiceContext service) {
         super(service, WSDLConstants.MEP_URI_IN_ONLY);
-        messageInformationHeaders = new MessageInformationHeadersCollection();
+        messageInformationHeaders = new MessageInformationHeaders();
     }
 
     /**

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/context/MessageContext.java Thu Jul 28 11:24:18 2005
@@ -16,7 +16,7 @@
 package org.apache.axis2.context;
 
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.description.OperationDescription;
 import org.apache.axis2.description.Parameter;
@@ -70,7 +70,7 @@
      * information is present in the SOAP header.
      */
 
-    private MessageInformationHeadersCollection messageInformationHeaders;
+    private MessageInformationHeaders messageInformationHeaders;
 
     private OperationContext operationContext;
     private ServiceContext serviceContext;
@@ -164,7 +164,6 @@
      * @param sessionContext
      * @param transportIn
      * @param transportOut
-     * @param configurationContext
      * @throws AxisFault
      */
 
@@ -180,7 +179,7 @@
         } else {
             this.sessionContext = sessionContext;
         }
-        messageInformationHeaders = new MessageInformationHeadersCollection();
+        messageInformationHeaders = new MessageInformationHeaders();
         this.transportIn = transportIn;
         this.transportOut = transportOut;
         this.configurationContext = engineContext;
@@ -365,8 +364,6 @@
 
     /**
      * Method getExecutionChain
-     *
-     * @return
      */
 
     public void setWSAAction(String actionURI) {
@@ -385,7 +382,7 @@
         return messageInformationHeaders.getMessageId();
     }
 
-    public MessageInformationHeadersCollection getMessageInformationHeaders() {
+    public MessageInformationHeaders getMessageInformationHeaders() {
         return messageInformationHeaders;
     }
 
@@ -397,7 +394,6 @@
     }
 
     /**
-     * @param b
      */
     public void setPausedTrue(QName handlerName) {
         paused = true;
@@ -513,7 +509,7 @@
     /**
      * @param collection
      */
-    public void setMessageInformationHeaders(MessageInformationHeadersCollection collection) {
+    public void setMessageInformationHeaders(MessageInformationHeaders collection) {
         messageInformationHeaders = collection;
     }
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/receivers/AbstractInOutSyncMessageReceiver.java Thu Jul 28 11:24:18 2005
@@ -16,7 +16,7 @@
 package org.apache.axis2.receivers;
 
 import org.apache.axis2.addressing.AddressingConstants;
-import org.apache.axis2.addressing.MessageInformationHeadersCollection;
+import org.apache.axis2.addressing.MessageInformationHeaders;
 import org.apache.axis2.addressing.miheaders.RelatesTo;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.AxisEngine;
@@ -40,11 +40,11 @@
                         messgeCtx.getTransportOut());
 
         newmsgCtx.setMessageInformationHeaders(
-                new MessageInformationHeadersCollection());
-        MessageInformationHeadersCollection oldMessageInfoHeaders =
+                new MessageInformationHeaders());
+        MessageInformationHeaders oldMessageInfoHeaders =
                 messgeCtx.getMessageInformationHeaders();
-        MessageInformationHeadersCollection messageInformationHeaders =
-                new MessageInformationHeadersCollection();
+        MessageInformationHeaders messageInformationHeaders =
+                new MessageInformationHeaders();
         messageInformationHeaders.setTo(oldMessageInfoHeaders.getReplyTo());
         messageInformationHeaders.setFaultTo(
                 oldMessageInfoHeaders.getFaultTo());

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java Thu Jul 28 11:24:18 2005
@@ -68,7 +68,7 @@
             //fill up the Message Contexts
             msgContext.setWSAAction(soapActionHeader);
             msgContext.setSoapAction(soapActionHeader);
-            msgContext.setTo(new EndpointReference(AddressingConstants.WSA_TO, requestURI));
+            msgContext.setTo(new EndpointReference(requestURI));
             msgContext.setProperty(MessageContext.TRANSPORT_OUT, out);
             msgContext.setServerSide(true);
 
@@ -141,7 +141,7 @@
         }
         msgContext.setWSAAction(soapAction);
         msgContext.setSoapAction(soapAction);
-        msgContext.setTo(new EndpointReference(AddressingConstants.WSA_TO, requestURI));
+        msgContext.setTo(new EndpointReference(requestURI));
         msgContext.setProperty(MessageContext.TRANSPORT_OUT, out);
         msgContext.setServerSide(true);
         SOAPEnvelope envelope =

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/SimpleHTTPServer.java Thu Jul 28 11:24:18 2005
@@ -257,8 +257,7 @@
      * @see org.apache.axis2.transport.TransportListener#replyToEPR(java.lang.String)
      */
     public EndpointReference replyToEPR(String serviceName) {
-        return new EndpointReference(AddressingConstants.WSA_REPLY_TO,
-                "http://127.0.0.1:" + (serverSocket.getLocalPort()) +
+        return new EndpointReference("http://127.0.0.1:" + (serverSocket.getLocalPort()) +
                 "/axis/services/" +
                 serviceName);
     }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/MailWorker.java Thu Jul 28 11:24:18 2005
@@ -99,9 +99,7 @@
                     String emailAddress = recepainets[0].getAddress();
                     String emailSubject = mimeMessage.getSubject();
                     EndpointReference to =
-                        new EndpointReference(
-                            AddressingConstants.WSA_TO,
-                            emailAddress + "/" + (emailSubject != null ? emailSubject : ""));
+                        new EndpointReference(emailAddress + "/" + (emailSubject != null ? emailSubject : ""));
                 } else {
                     throw new AxisFault(Messages.getMessage("noRecep4Email"));
                 }
@@ -111,7 +109,7 @@
                     String replyTo = replyToAs[0].getAddress();
                     if (replyTo != null) {
                         msgContext.setReplyTo(
-                            new EndpointReference(AddressingConstants.WSA_REPLY_TO, replyTo));
+                            new EndpointReference(replyTo));
                     }
                 }
 

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/SimpleMailListener.java Thu Jul 28 11:24:18 2005
@@ -324,9 +324,7 @@
      */
     public EndpointReference replyToEPR(String serviceName) throws AxisFault {
         // TODO Auto-generated method stub
-        return new EndpointReference(
-            AddressingConstants.WSA_REPLY_TO,
-            replyTo + "/services/" + serviceName);
+        return new EndpointReference(replyTo + "/services/" + serviceName);
     }
 
 }

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/mail/server/MailSorter.java Thu Jul 28 11:24:18 2005
@@ -88,14 +88,13 @@
 
             String replyTo = ((InternetAddress) mimeMessage.getReplyTo()[0]).getAddress();
             if (replyTo != null) {
-                msgContext.setReplyTo(new EndpointReference(AddressingConstants.WSA_REPLY_TO, replyTo));
+                msgContext.setReplyTo(new EndpointReference(replyTo));
             }
 
             String recepainets = ((InternetAddress) mimeMessage.getAllRecipients()[0]).getAddress();
 
             if (recepainets != null) {
-                msgContext.setTo(new EndpointReference(AddressingConstants.WSA_FROM,
-                        recepainets + "/" + serviceURL));
+                msgContext.setTo(new EndpointReference(recepainets + "/" + serviceURL));
             }
 
             // add the SOAPEnvelope

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/tcp/TCPServer.java Thu Jul 28 11:24:18 2005
@@ -110,8 +110,7 @@
      * @see org.apache.axis2.transport.TransportListener#replyToEPR(java.lang.String)
      */
     public EndpointReference replyToEPR(String serviceName) throws AxisFault {
-        return new EndpointReference(AddressingConstants.WSA_REPLY_TO,
-                "tcp://127.0.0.1:" + (serversocket.getLocalPort()) +
+        return new EndpointReference("tcp://127.0.0.1:" + (serversocket.getLocalPort()) +
                 "/axis/services/" +
                 serviceName);
     }

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/addressing/EndpointReferenceTypeTest.java Thu Jul 28 11:24:18 2005
@@ -24,7 +24,6 @@
 public class EndpointReferenceTypeTest extends TestCase {
 
     EndpointReference endpointReference;
-    private String headerType = AddressingConstants.WSA_FROM;
     private String address = "htttp://wwww.openource.lk/~chinthaka";
 
     public static void main(String[] args) {
@@ -36,21 +35,7 @@
      */
     protected void setUp() throws Exception {
         super.setUp();
-        endpointReference = new EndpointReference(headerType, address);
-    }
-
-    public void testGetAndSetMessageInformationHeaderType() {
-        assertEquals(
-                "MessageInformationHeaderType not set properly in the constructor",
-                headerType,
-                endpointReference.getMessageInformationHeaderType());
-
-        endpointReference.setMessageInformationHeaderType(
-                AddressingConstants.WSA_REPLY_TO);
-        assertEquals(
-                "MessageInformationHeaderType not set properly in the setter method",
-                AddressingConstants.WSA_REPLY_TO,
-                endpointReference.getMessageInformationHeaderType());
+        endpointReference = new EndpointReference(address);
     }
 
     public void testGetAndSetAddress() {

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EnginePausingTest.java Thu Jul 28 11:24:18 2005
@@ -132,8 +132,7 @@
 
     public void testReceive() throws Exception {
         mc.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        "axis/services/NullService/DummyOp"));
+                new EndpointReference("axis/services/NullService/DummyOp"));
         AxisEngine engine = new AxisEngine(engineContext);
         engine.receive(mc);
         assertEquals(executedHandlers.size(), 14);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/EngineWithoutPhaseResolvingTest.java Thu Jul 28 11:24:18 2005
@@ -119,8 +119,7 @@
 
     public void testServerReceive() throws Exception {
         mc.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        "axis/services/NullService"));
+                new EndpointReference("axis/services/NullService"));
         AxisEngine engine = new AxisEngine(engineContext);
         mc.setServerSide(true);
         engine.receive(mc);

Modified: webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java (original)
+++ webservices/axis/trunk/java/modules/core/test/org/apache/axis2/engine/MessageContextInjectionTest.java Thu Jul 28 11:24:18 2005
@@ -46,8 +46,7 @@
 
 public class MessageContextInjectionTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "/axis/services/EchoXMLService/echoOMElement");
+            new EndpointReference("/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");
     private QName operationName = new QName("echoOMElement");

Modified: webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp (original)
+++ webservices/axis/trunk/java/modules/core/webapp/HappyAxis.jsp Thu Jul 28 11:24:18 2005
@@ -42,8 +42,7 @@
 <%IP=request.getRequestURL().toString();
     int lastindex = IP.lastIndexOf('/');
     IP = IP.substring(0,lastindex);
-    targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
-                    IP + "/services/Version/getVersion");
+    targetEPR = new EndpointReference(IP + "/services/Version/getVersion");
 %>
 <%!
     /*

Modified: webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java (original)
+++ webservices/axis/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPConnectionImpl.java Thu Jul 28 11:24:18 2005
@@ -50,8 +50,7 @@
                     Constants.TRANSPORT_HTTP,
                     true);
             call.setTo(
-                    new EndpointReference(AddressingConstants.WSA_TO,
-                            url.toString()));
+                    new EndpointReference(url.toString()));
             org.apache.axis2.soap.SOAPEnvelope responseEnv = (org.apache.axis2.soap.SOAPEnvelope) call.invokeBlocking(
                     "echo", envelope);
             SOAPEnvelopeImpl response = new SOAPEnvelopeImpl(responseEnv);

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableCreateQueue.java Thu Jul 28 11:24:18 2005
@@ -73,7 +73,7 @@
         String url = "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
         try {
             Call call = new Call();
-            call.setTo(new EndpointReference(AddressingConstants.WSA_TO, url));
+            call.setTo(new EndpointReference(url));
             call.setTransportInfo(Constants.TRANSPORT_HTTP,
                     Constants.TRANSPORT_HTTP,
                     false);

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableDeleteQueue.java Thu Jul 28 11:24:18 2005
@@ -62,7 +62,7 @@
         String url = "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
         try {
             Call call = new Call();
-            call.setTo(new EndpointReference(AddressingConstants.WSA_TO, url));
+            call.setTo(new EndpointReference(url));
             call.setTransportInfo(Constants.TRANSPORT_HTTP,
                     Constants.TRANSPORT_HTTP,
                     false);

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableListMyQueues.java Thu Jul 28 11:24:18 2005
@@ -62,7 +62,7 @@
         String url = "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
         try {
             Call call = new Call();
-            call.setTo(new EndpointReference(AddressingConstants.WSA_TO, url));
+            call.setTo(new EndpointReference(url));
             call.setTransportInfo(Constants.TRANSPORT_HTTP,
                     Constants.TRANSPORT_HTTP,
                     false);

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/amazonSimpleQueueService/util/RunnableReadQueue.java Thu Jul 28 11:24:18 2005
@@ -60,7 +60,7 @@
         String url = "http://webservices.amazon.com/onca/soap?Service=AWSSimpleQueueService";
         try {
             Call call = new Call();
-            call.setTo(new EndpointReference(AddressingConstants.WSA_TO, url));
+            call.setTo(new EndpointReference(url));
             call.setTransportInfo(Constants.TRANSPORT_HTTP,
                     Constants.TRANSPORT_HTTP,
                     false);

Modified: webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/amazon/search/AsynchronousClient.java Thu Jul 28 11:24:18 2005
@@ -152,8 +152,7 @@
             e.printStackTrace();
         }
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        url.toString()));
+                new EndpointReference(url.toString()));
         MessageContext requestContext = ClientUtil.getMessageContext();
         try {
             call.setTransportInfo(Constants.TRANSPORT_HTTP,

Modified: webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/google/search/AsynchronousClient.java Thu Jul 28 11:24:18 2005
@@ -93,8 +93,7 @@
         }
 
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        url.toString()));
+                new EndpointReference(url.toString()));
 
         MessageContext requestContext = ClientUtil.getMessageContext(this);
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/google/spellcheck/FormModel.java Thu Jul 28 11:24:18 2005
@@ -84,8 +84,7 @@
         }
 
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        url.toString()));
+                new EndpointReference(url.toString()));
         try {
             call.invokeNonBlocking("doGoogleSpellingSugg",
                     requestElement,
@@ -117,8 +116,7 @@
         }
 
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        url.toString()));
+                new EndpointReference(url.toString()));
         try {
             responseElement =
                     (OMElement) call.invokeBlocking("doGoogleSpellingSugg",

Modified: webservices/axis/trunk/java/modules/samples/src/sample/mtom/imagetransfer/client/MTOMClientModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/mtom/imagetransfer/client/MTOMClientModel.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/mtom/imagetransfer/client/MTOMClientModel.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/mtom/imagetransfer/client/MTOMClientModel.java Thu Jul 28 11:24:18 2005
@@ -37,9 +37,7 @@
 public class MTOMClientModel {
     private File inputFile = null;
 
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService");
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService");
 
     private QName operationName = new QName("mtomSample");
 
@@ -96,8 +94,7 @@
 
 
     public void setTargetEPR(String targetEPR) {
-        this.targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
-                targetEPR);
+        this.targetEPR = new EndpointReference(targetEPR);
 
     }
 

Modified: webservices/axis/trunk/java/modules/samples/src/sample/mtom/interop/client/InteropClientModel.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/mtom/interop/client/InteropClientModel.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/mtom/interop/client/InteropClientModel.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/mtom/interop/client/InteropClientModel.java Thu Jul 28 11:24:18 2005
@@ -35,9 +35,7 @@
 public class InteropClientModel {
     private File inputFile = null;
 
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/interopService");
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/interopService");
 
     private QName operationName = new QName("mtomSample");
 
@@ -77,7 +75,6 @@
     }
 
     public void setTargetEPR(String targetEPR) {
-        this.targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
-                targetEPR);
+        this.targetEPR = new EndpointReference(targetEPR);
     }
 }

Modified: webservices/axis/trunk/java/modules/samples/src/sample/yahooservices/RESTSearch/RESTSearchClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/sample/yahooservices/RESTSearch/RESTSearchClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/sample/yahooservices/RESTSearch/RESTSearchClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/sample/yahooservices/RESTSearch/RESTSearchClient.java Thu Jul 28 11:24:18 2005
@@ -29,7 +29,7 @@
     public static void main(String[] args) {
         try{
             Call call = new Call();
-            call.setTo(new EndpointReference(AddressingConstants.WSA_TO, eprGet));
+            call.setTo(new EndpointReference(eprGet));
             call.setTransportInfo(Constants.TRANSPORT_COMMONS_HTTP,Constants.TRANSPORT_HTTP, false);
             call.setDoREST(true);
             call.setRestThroughPOST(false);

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/ClientForWebServiceWithModule.java Thu Jul 28 11:24:18 2005
@@ -29,9 +29,7 @@
  */
 
 public class ClientForWebServiceWithModule {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyServiceWithModule/echo");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyServiceWithModule/echo");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingClient.java Thu Jul 28 11:24:18 2005
@@ -28,9 +28,7 @@
  */
 
 public class EchoBlockingClient {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService/echo");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService/echo");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoBlockingDualClient.java Thu Jul 28 11:24:18 2005
@@ -18,9 +18,7 @@
  * Time: 5:47:37 PM
  */
 public class EchoBlockingDualClient {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService/echo");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService/echo");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingClient.java Thu Jul 28 11:24:18 2005
@@ -21,9 +21,7 @@
  * Time: 5:08:44 PM
  */
 public class EchoNonBlockingClient {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService/echo");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService/echo");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/EchoNonBlockingDualClient.java Thu Jul 28 11:24:18 2005
@@ -22,9 +22,7 @@
  * Time: 5:30:52 PM
  */
 public class EchoNonBlockingDualClient {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService/echo");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService/echo");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/MailClient.java Thu Jul 28 11:24:18 2005
@@ -35,7 +35,7 @@
     public static void main(String[] args) throws AxisFault {
         MessageSender msgSender = new MessageSender();
         msgSender.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO, toEpr));
+                new EndpointReference(toEpr));
         msgSender.setSenderTransport(Constants.TRANSPORT_MAIL);
         msgSender.send("echo", getPayload());
     }

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/PingClient.java Thu Jul 28 11:24:18 2005
@@ -14,9 +14,7 @@
  * Time: 2:11:25 PM
  */
 public class PingClient {
-    private static EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:8080/axis2/services/MyService/ping");
+    private static EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:8080/axis2/services/MyService/ping");
 
     public static void main(String[] args) {
         try {

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/RESTClient.java Thu Jul 28 11:24:18 2005
@@ -40,7 +40,7 @@
     public static void main(String[] args) throws AxisFault {
 
         Call call = new Call();
-        call.setTo(new EndpointReference(AddressingConstants.WSA_TO, toEpr));
+        call.setTo(new EndpointReference(toEpr));
         call.setTransportInfo(Constants.TRANSPORT_HTTP,
                 Constants.TRANSPORT_HTTP,
                 false);

Modified: webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java (original)
+++ webservices/axis/trunk/java/modules/samples/src/userguide/clients/TCPClient.java Thu Jul 28 11:24:18 2005
@@ -40,7 +40,7 @@
     public static void main(String[] args) throws AxisFault {
 
         Call call = new Call();
-        call.setTo(new EndpointReference(AddressingConstants.WSA_TO, toEpr));
+        call.setTo(new EndpointReference(toEpr));
         call.setTransportInfo(Constants.TRANSPORT_TCP,
                 Constants.TRANSPORT_TCP,
                 false);

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java Thu Jul 28 11:24:18 2005
@@ -82,8 +82,7 @@
 
             Call call = new Call();
             EndpointReference targetEPR =
-                    new EndpointReference(AddressingConstants.WSA_TO,
-                            "http://127.0.0.1:"
+                    new EndpointReference("http://127.0.0.1:"
                     + (UtilServer.TESTING_PORT)
                     + "/axis/services/EchoXMLService1");
             call.setTransportInfo(Constants.TRANSPORT_HTTP,

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -41,8 +41,7 @@
 
 public class CommonsHTTPEchoRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLChunckedTest.java Thu Jul 28 11:24:18 2005
@@ -38,8 +38,7 @@
 
 public class EchoRawXMLChunckedTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java Thu Jul 28 11:24:18 2005
@@ -38,8 +38,7 @@
 
 public class EchoRawXMLLoadTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java Thu Jul 28 11:24:18 2005
@@ -38,8 +38,7 @@
 
 public class EchoRawXMLOnTwoChannelsSyncTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java Thu Jul 28 11:24:18 2005
@@ -41,8 +41,7 @@
 
 public class EchoRawXMLOnTwoChannelsTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/EchoRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -41,8 +41,7 @@
 
 public class EchoRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/HandlerFailureTest.java Thu Jul 28 11:24:18 2005
@@ -53,8 +53,7 @@
             (UtilServer.TESTING_PORT) +
             "/axis/services/" + SERVICE_NAME + "/" + OPERATION_NAME;
 //    private static final String ADDRESS = "http://127.0.0.1:8080/axis/services/" + SERVICE_NAME;
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO, ADDRESS);
+    private EndpointReference targetEPR = new EndpointReference(ADDRESS);
     private QName serviceName = new QName("", SERVICE_NAME);
     //private QName serviceName = new QName("", targetEPR.getValue());
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/OneWayRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -40,8 +40,7 @@
 
 public class OneWayRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/SOAPversionTest.java Thu Jul 28 11:24:18 2005
@@ -46,8 +46,7 @@
 
 public class SOAPversionTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDispatchingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDispatchingTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDispatchingTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/engine/ServiceDispatchingTest.java Thu Jul 28 11:24:18 2005
@@ -39,8 +39,7 @@
 
 public class ServiceDispatchingTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
@@ -89,8 +88,7 @@
         OMElement payload = TestingUtils.createDummyOMElement();
         org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        "http://127.0.0.1:5555/axis/services/EchoXMLService/echoOMElement"));
+                new EndpointReference("http://127.0.0.1:5555/axis/services/EchoXMLService/echoOMElement"));
         call.setTransportInfo(Constants.TRANSPORT_HTTP,
                 Constants.TRANSPORT_HTTP,
                 false);
@@ -110,8 +108,7 @@
         payload.addChild(value);
         org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        "http://127.0.0.1:5555/axis/services/EchoXMLService/"));
+                new EndpointReference("http://127.0.0.1:5555/axis/services/EchoXMLService/"));
         call.setTransportInfo(Constants.TRANSPORT_HTTP,
                 Constants.TRANSPORT_HTTP,
                 false);
@@ -136,8 +133,7 @@
 
         org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call();
         call.setTo(
-                new EndpointReference(AddressingConstants.WSA_TO,
-                        "http://127.0.0.1:5555/axis/services/"));
+                new EndpointReference("http://127.0.0.1:5555/axis/services/"));
         call.setTransportInfo(Constants.TRANSPORT_HTTP,
                 Constants.TRANSPORT_HTTP,
                 false);

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/groovy/GroovyServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/groovy/GroovyServiceTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/groovy/GroovyServiceTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/groovy/GroovyServiceTest.java Thu Jul 28 11:24:18 2005
@@ -51,8 +51,7 @@
 
 
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/GroovyService/echo");
     private QName serviceName = new QName("GroovyService");

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -46,8 +46,7 @@
 
 public class MailOneWayRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "foo@127.0.0.1" +
+            new EndpointReference("foo@127.0.0.1" +
             "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -57,8 +57,7 @@
 
 public class MailRequestResponseRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "foo@127.0.0.1" +
+            new EndpointReference("foo@127.0.0.1" +
             "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mail/MailetRequestResponceRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -53,8 +53,7 @@
  */
 public class MailetRequestResponceRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "axis2-server@127.0.0.1" +
+            new EndpointReference("axis2-server@127.0.0.1" +
             "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());
     private QName serviceName = new QName("EchoXMLService");

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java Thu Jul 28 11:24:18 2005
@@ -51,8 +51,7 @@
 import org.apache.commons.logging.LogFactory;
 
 public class EchoRawMTOMCommonsChunkingTest extends TestCase {
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO, "http://127.0.0.1:"
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:"
                     + (UtilServer.TESTING_PORT)
                     + "/axis/services/EchoXMLService/echoOMElement");
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java Thu Jul 28 11:24:18 2005
@@ -49,9 +49,7 @@
 import javax.xml.namespace.QName;
 
 public class EchoRawMTOMLoadTest extends TestCase {
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:"
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMTest.java Thu Jul 28 11:24:18 2005
@@ -51,8 +51,7 @@
 import java.io.InputStream;
 
 public class EchoRawMTOMTest extends TestCase {
-    private EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
-            "http://127.0.0.1:"
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java Thu Jul 28 11:24:18 2005
@@ -48,7 +48,7 @@
 import org.apache.commons.logging.LogFactory;
 
 public class EchoRawMTOMToBase64Test extends TestCase {
-    private EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO, "http://127.0.0.1:"
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoMTOMtoBase64");
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/processingModel/SoapProcessingModelTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/processingModel/SoapProcessingModelTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/processingModel/SoapProcessingModelTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/processingModel/SoapProcessingModelTest.java Thu Jul 28 11:24:18 2005
@@ -47,9 +47,7 @@
 
 public class SoapProcessingModelTest extends TestCase {
     private EndpointReference targetEPR =
-        new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:"
+        new EndpointReference("http://127.0.0.1:"
                 + (UtilServer.TESTING_PORT)
                 + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/rest/RESTBasedEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/rest/RESTBasedEchoRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/rest/RESTBasedEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/rest/RESTBasedEchoRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -46,8 +46,7 @@
 
 public class RESTBasedEchoRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "http://127.0.0.1:"
+            new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private Log log = LogFactory.getLog(getClass());

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/swa/EchoRawSwATest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/swa/EchoRawSwATest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/swa/EchoRawSwATest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/swa/EchoRawSwATest.java Thu Jul 28 11:24:18 2005
@@ -53,9 +53,7 @@
 import java.net.Socket;
 
 public class EchoRawSwATest extends TestCase {
-    private EndpointReference targetEPR = new EndpointReference(
-            AddressingConstants.WSA_TO,
-            "http://127.0.0.1:"
+    private EndpointReference targetEPR = new EndpointReference("http://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoSwAService/echoAttachment");
 

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -45,8 +45,7 @@
 
 public class TCPEchoRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "tcp://127.0.0.1:"
+            new EndpointReference("tcp://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private QName serviceName = new QName("EchoXMLService");

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java?rev=225841&r1=225840&r2=225841&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java (original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java Thu Jul 28 11:24:18 2005
@@ -43,8 +43,7 @@
 
 public class TCPTwoChannelEchoRawXMLTest extends TestCase {
     private EndpointReference targetEPR =
-            new EndpointReference(AddressingConstants.WSA_TO,
-                    "tcp://127.0.0.1:"
+            new EndpointReference("tcp://127.0.0.1:"
             + (UtilServer.TESTING_PORT)
             + "/axis/services/EchoXMLService/echoOMElement");
     private QName serviceName = new QName("EchoXMLService");



Mime
View raw message