axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r372447 - in /webservices/axis2/trunk/java/modules: common/src/org/apache/axis2/util/UUIDGenerator.java core/src/org/apache/axis2/client/InOnlyMEPClient.java core/src/org/apache/axis2/client/InOutMEPClient.java
Date Thu, 26 Jan 2006 05:17:39 GMT
Author: chinthaka
Date: Wed Jan 25 21:17:25 2006
New Revision: 372447

URL: http://svn.apache.org/viewcvs?rev=372447&view=rev
Log:
Making the UUID to look like urn:uuid:<theUniqueID>

Modified:
    webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/util/UUIDGenerator.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOnlyMEPClient.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOutMEPClient.java

Modified: webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/util/UUIDGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/util/UUIDGenerator.java?rev=372447&r1=372446&r2=372447&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/util/UUIDGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/util/UUIDGenerator.java
Wed Jan 25 21:17:25 2006
@@ -47,7 +47,7 @@
         if(++incrementingValue >= Long.MAX_VALUE){
             incrementingValue = 0;
         }
-        return baseUUID + new Date().getTime() + incrementingValue;
+        return "urn:uuid:" + baseUUID + new Date().getTime() + incrementingValue;
     }
 
     protected static String getInitialUUID() {

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOnlyMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOnlyMEPClient.java?rev=372447&r1=372446&r2=372447&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOnlyMEPClient.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOnlyMEPClient.java
Wed Jan 25 21:17:25 2006
@@ -53,7 +53,7 @@
         prepareInvocation(axisop, msgctx);
 
         if (msgctx.getMessageID() == null) {
-            String messageID = String.valueOf("uuid:" + UUIDGenerator.getUUID());
+            String messageID = String.valueOf(UUIDGenerator.getUUID());
 
             msgctx.setMessageID(messageID);
         }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOutMEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOutMEPClient.java?rev=372447&r1=372446&r2=372447&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOutMEPClient.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/InOutMEPClient.java
Wed Jan 25 21:17:25 2006
@@ -174,7 +174,7 @@
             throws AxisFault {
 
         // The message ID is sent all the time
-        String messageID = String.valueOf("uuid:" + UUIDGenerator.getUUID());
+        String messageID = String.valueOf(UUIDGenerator.getUUID());
 
         msgctx.setMessageID(messageID);
 
@@ -308,7 +308,7 @@
             checkTransport(msgctx);
 
             // Use message id all the time!
-            String messageID = String.valueOf("uuid:" + UUIDGenerator.getUUID());
+            String messageID = String.valueOf(UUIDGenerator.getUUID());
 
             msgctx.setMessageID(messageID);
 



Mime
View raw message