1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.ws.security;
19
20 import javax.xml.namespace.QName;
21
22 /***
23 * SOAP 1.1 constants
24 *
25 * @author Glen Daniels (gdaniels@apache.org)
26 * @author Andras Avar (andras.avar@nokia.com)
27 */
28 public class SOAP11Constants implements SOAPConstants {
29 private static QName headerQName = new QName(WSConstants.URI_SOAP11_ENV,
30 WSConstants.ELEM_HEADER);
31 private static QName bodyQName = new QName(WSConstants.URI_SOAP11_ENV,
32 WSConstants.ELEM_BODY);
33 private static QName roleQName = new QName(WSConstants.URI_SOAP11_ENV,
34 WSConstants.ATTR_ACTOR);
35
36 public String getEnvelopeURI() {
37 return WSConstants.URI_SOAP11_ENV;
38 }
39
40 public QName getHeaderQName() {
41 return headerQName;
42 }
43
44 public QName getBodyQName() {
45 return bodyQName;
46 }
47
48 /***
49 * Obtain the QName for the role attribute (actor/role)
50 */
51 public QName getRoleAttributeQName() {
52 return roleQName;
53 }
54
55 /***
56 * Obtain the "next" role/actor URI
57 */
58 public String getNextRoleURI() {
59 return WSConstants.URI_SOAP11_NEXT_ACTOR;
60 }
61
62 /***
63 * Obtain the Mustunderstand string
64 */
65 public String getMustunderstand() {
66 return "1";
67 }
68
69 }