KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > addressing > AddressingConstants


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis2.addressing;
17
18
19 /**
20  * Interface AddressingConstants
21  */

22 public interface AddressingConstants {
23
24     // ====================== Common Message Addressing Properties ===================
25
public static final String JavaDoc WSA_MESSAGE_ID = "MessageID";
26     public static final String JavaDoc WSA_RELATES_TO = "RelatesTo";
27     public static final String JavaDoc WSA_RELATES_TO_RELATIONSHIP_TYPE = "RelationshipType";
28     public static final String JavaDoc WSA_TO = "To";
29     public static final String JavaDoc WSA_FROM = "From";
30     public static final String JavaDoc WSA_REPLY_TO = "ReplyTo";
31     public static final String JavaDoc WSA_FAULT_TO = "FaultTo";
32     public static final String JavaDoc WSA_ACTION = "Action";
33
34     // ====================== Common EPR Elements ============================
35
public static final String JavaDoc EPR_ADDRESS = "Address";
36     public static final String JavaDoc EPR_REFERENCE_PARAMETERS = "ReferenceParameters";
37     public static final String JavaDoc EPR_SERVICE_NAME = "ServiceName";
38
39     // ======================================================================
40

41     public interface Submission {
42         // ====================== Addressing Submission Version Constants ===================
43
public static final String JavaDoc WSA_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/08/addressing";
44         public static final String JavaDoc WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "wsa:Reply";
45         public static final String JavaDoc WSA_ANONYMOUS_URL = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
46
47         public static final String JavaDoc EPR_REFERENCE_PROPERTIES = "ReferenceProperties";
48         public static final String JavaDoc EPR_PORT_TYPE = "PortType";
49         public static final String JavaDoc EPR_SERVICE_NAME_PORT_NAME = "PortName";
50         // ==================================================================================
51

52     }
53
54     public interface Final {
55         // ====================== Addressing 1.0 Final Version Constants ====================
56
public static final String JavaDoc WSA_NAMESPACE = "http://www.w3.org/2005/02/addressing";
57         public static final String JavaDoc WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE = "http://www.w3.org/2005/02/addressing/reply";
58         public static final String JavaDoc WSA_ANONYMOUS_URL = "http://www.w3.org/2005/02/addressing/role/anonymous";
59
60         public static final String JavaDoc WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE = "IsReferenceParameter";
61         public static final String JavaDoc WSA_TYPE_ATTRIBUTE_VALUE = "true";
62
63         public static final String JavaDoc WSA_INTERFACE_NAME = "InterfaceName";
64         public static final String JavaDoc WSA_SERVICE_NAME_ENDPOINT_NAME = "EndpointName";
65         public static final String JavaDoc WSA_POLICIES = "Policies";
66         // ==================================================================================
67

68     }
69
70
71     public static final String JavaDoc WS_ADDRESSING_VERSION = "WSAddressingVersion";
72     public static final String JavaDoc WSA_DEFAULT_PRFIX = "wsa";
73
74 }
75
Popular Tags