1 6 7 28 package javax.xml.soap; 29 30 import javax.xml.namespace.QName ; 31 32 35 public interface SOAPConstants { 36 48 public static final String DYNAMIC_SOAP_PROTOCOL = "Dynamic Protocol"; 49 50 56 public static final String SOAP_1_1_PROTOCOL = "SOAP 1.1 Protocol"; 57 58 65 public static final String SOAP_1_2_PROTOCOL = "SOAP 1.2 Protocol"; 66 67 72 public static final String DEFAULT_SOAP_PROTOCOL = SOAP_1_1_PROTOCOL; 73 74 78 public static final String 79 URI_NS_SOAP_1_1_ENVELOPE = "http://schemas.xmlsoap.org/soap/envelope/"; 80 84 public static final String 85 URI_NS_SOAP_1_2_ENVELOPE = "http://www.w3.org/2003/05/soap-envelope"; 86 87 91 public static final String 92 URI_NS_SOAP_ENVELOPE = URI_NS_SOAP_1_1_ENVELOPE; 93 94 102 public static final String 103 URI_NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; 104 105 109 public static final String 110 URI_NS_SOAP_1_2_ENCODING = "http://www.w3.org/2003/05/soap-encoding"; 111 112 116 public static final String 117 SOAP_1_1_CONTENT_TYPE = "text/xml"; 118 119 123 public static final String 124 SOAP_1_2_CONTENT_TYPE = "application/soap+xml"; 125 126 135 public static final String 136 URI_SOAP_ACTOR_NEXT = "http://schemas.xmlsoap.org/soap/actor/next"; 137 138 144 public static final String 145 URI_SOAP_1_2_ROLE_NEXT = URI_NS_SOAP_1_2_ENVELOPE + "/role/next"; 146 147 151 public static final String 152 URI_SOAP_1_2_ROLE_NONE = URI_NS_SOAP_1_2_ENVELOPE + "/role/none"; 153 154 158 public static final String 159 URI_SOAP_1_2_ROLE_ULTIMATE_RECEIVER = 160 URI_NS_SOAP_1_2_ENVELOPE + "/role/ultimateReceiver"; 161 162 166 public static final String SOAP_ENV_PREFIX = "env"; 167 168 172 public static final QName SOAP_VERSIONMISMATCH_FAULT = 173 new QName (URI_NS_SOAP_1_2_ENVELOPE, "VersionMismatch", SOAP_ENV_PREFIX); 174 175 179 public static final QName SOAP_MUSTUNDERSTAND_FAULT = 180 new QName (URI_NS_SOAP_1_2_ENVELOPE, "MustUnderstand", SOAP_ENV_PREFIX); 181 182 186 public static final QName SOAP_DATAENCODINGUNKNOWN_FAULT = 187 new QName (URI_NS_SOAP_1_2_ENVELOPE, "DataEncodingUnknown", SOAP_ENV_PREFIX); 188 189 193 public static final QName SOAP_SENDER_FAULT = 194 new QName (URI_NS_SOAP_1_2_ENVELOPE, "Sender", SOAP_ENV_PREFIX); 195 196 200 public static final QName SOAP_RECEIVER_FAULT = 201 new QName (URI_NS_SOAP_1_2_ENVELOPE, "Receiver", SOAP_ENV_PREFIX); 202 203 } 204 | Popular Tags |