axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r706895 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java
Date Wed, 22 Oct 2008 08:36:45 GMT
Author: nandana
Date: Wed Oct 22 01:36:44 2008
New Revision: 706895

URL: http://svn.apache.org/viewvc?rev=706895&view=rev
Log:
AXIS2-4066 WS-AddressingAndIdentity constants 

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java?rev=706895&r1=706894&r2=706895&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/addressing/AddressingConstants.java
Wed Oct 22 01:36:44 2008
@@ -48,6 +48,7 @@
     static final String DISABLE_ADDRESSING_FOR_IN_MESSAGES = "disableAddressingForInMessages";
     static final String ADDR_VALIDATE_ACTION = "addressing.validateAction";
     static final String ADDR_VALIDATE_INVOCATION_PATTERN = "addressing.validateInvocationPattern";
+    static final String ENDPOINT_REFERENCE = "EndpointReference";
 
     // ====================== WSDL Binding Constants ========================
     static final String USING_ADDRESSING = "UsingAddressing";
@@ -132,6 +133,26 @@
     static final String FAULT_ADDRESSING_DESTINATION_UNREACHABLE =
             "DestinationUnreachable";
     
+    // ==================== WS-AddressingAndIdentity ========================
+    
+    static final String ADDRESSING_IDENTITY_PREFIX = "wsid";
+    static final String ADDRESSING_IDENTITY_NS = 
+        "http://schemas.xmlsoap.org/ws/2006/02/addressingidentity";
+    static final String XML_SIG_PREFIX = "ds";
+    static final String XML_SIG_NS = "http://www.w3.org/2000/09/xmldsig#";
+    
+    static final String IDENTITY = "Identity";
+    static final String IDENTITY_KEY_INFO = "KeyInfo";
+    static final String IDENTITY_X509_DATA = "X509Data";
+    static final String IDENTITY_X509_CERT = "X509Certificate";
+    
+    static final String IDENTITY_PARAMETER = "WSAddressingAndIdentity";
+    
+    static final QName QNAME_IDENTITY = new QName(ADDRESSING_IDENTITY_NS,IDENTITY,ADDRESSING_IDENTITY_PREFIX);
+    static final QName QNAME_IDENTITY_KEY_INFO = new QName(XML_SIG_NS,IDENTITY_KEY_INFO,XML_SIG_PREFIX);
+    static final QName QNAME_IDENTITY_X509_DATA = new QName(XML_SIG_NS,IDENTITY_X509_DATA,XML_SIG_PREFIX);
+    static final QName QNAME_IDENTITY_X509_CERT = new QName(XML_SIG_NS,IDENTITY_X509_CERT,XML_SIG_PREFIX);
+    
     interface Final {
 
         // ====================== Addressing 1.0 Final Version Constants ====================
@@ -191,7 +212,8 @@
         static final QName WSAW_USING_ADDRESSING =
                 new QName(WSAW_NAMESPACE, USING_ADDRESSING);
         static final QName WSAW_ANONYMOUS = new QName(WSAW_NAMESPACE, USING_ADDRESSING);
-        static final QName WSA_ENDPOINT_REFERENCE = new QName(WSA_NAMESPACE,"EndpointReference");
+        static final QName WSA_ENDPOINT_REFERENCE = new QName(WSA_NAMESPACE, ENDPOINT_REFERENCE,
WSA_DEFAULT_PREFIX);
+        static final QName WSA_ADDRESS = new QName(WSA_NAMESPACE, EPR_ADDRESS,WSA_DEFAULT_PREFIX);
 
         final QName QNAME_WSA_TO = new QName(WSA_NAMESPACE, WSA_TO);
         final QName QNAME_WSA_FROM = new QName(WSA_NAMESPACE, WSA_FROM);



Mime
View raw message