001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.axis2.description;
020:
021: public interface WSDL2Constants {
022:
023: String WSDL_NAMESPACE = "http://www.w3.org/ns/wsdl";
024: String DEFAULT_WSDL_NAMESPACE_PREFIX = "wsdl2";
025: String DESCRIPTION = "description";
026: String URI_WSDL2_SOAP = "http://www.w3.org/ns/wsdl/soap";
027: String URI_WSDL2_HTTP = "http://www.w3.org/ns/wsdl/http";
028: String URI_WSDL2_EXTENSIONS = "http://www.w3.org/ns/wsdl-extensions";
029: String SOAP_PREFIX = "wsoap";
030: String HTTP_PREFIX = "whttp";
031: String WSDL_EXTENTION_PREFIX = "wsdlx";
032: String SOAP_ENV_PREFIX = "soap";
033: String DEFAULT_TARGET_NAMESPACE_PREFIX = "axis2";
034: String DOCUMENTATION = "documentation";
035:
036: String DEFAULT_SOAP11_ENDPOINT_NAME = "SOAP11Endpoint";
037: String DEFAULT_SOAP12_ENDPOINT_NAME = "SOAP12Endpoint";
038: String DEFAULT_HTTP_ENDPOINT_NAME = "HTTPEndpoint";
039: String DEFAULT_HTTPS_PREFIX = "Secure";
040: String DEFAULT_INTERFACE_NAME = "ServiceInterface";
041: String TYPES_LOCAL_NALE = "types";
042: String INTERFACE_LOCAL_NAME = "interface";
043: String INTERFACE_PREFIX = "Interface";
044: String OPERATION_LOCAL_NAME = "operation";
045: String ATTRIBUTE_NAME = "name";
046: String TARGET_NAMESPACE = "targetNamespace";
047: String ATTRIBUTE_REF = "ref";
048: String ATTRIBUTE_LOCATION = "location";
049: String ATTRIBUTE_CONTENT_ENCODING_DEFAULT = "contentEncodingDefault";
050: String ATTRIBUTE_CONTENT_ENCODING = "contentEncoding";
051: String ATTRIBUTE_QUERY_PARAMETER_SEPERATOR = "queryParameterSeparator";
052: String ATTRIBUTE_QUERY_PARAMETER_SEPERATOR_DEFAULT = "queryParameterSeparatorDefault";
053: String ATTRIBUTE_ACTION = "action";
054: String ATTRIBUTE_MEP = "mep";
055: String ATTRIBUTE_MEP_DEFAULT = "mepDefault";
056: String ATTRIBUTE_METHOD = "method";
057: String ATTRIBUTE_METHOD_DEFAULT = "methodDefault";
058: String ATTRIBUTE_MODULE = "module";
059: String ATTRIBUTE_IGNORE_UNCITED = "ignoreUncited";
060: String ATTRIBUTE_INPUT_SERIALIZATION = "inputSerialization";
061: String ATTRIBUTE_OUTPUT_SERIALIZATION = "outputSerialization";
062: String ATTRIBUTE_FAULT_SERIALIZATION = "faultSerialization";
063: String ATTRIBUTE_CODE = "code";
064: String ATTRIBUTE_SUBCODES = "subcodes";
065: String ATTRIBUTE_HEADER = "header";
066: String ATTRIBUTE_TYPE = "type";
067: String ATTRIBUTE_REQUIRED = "required";
068: String ATTRIBUTE_MUST_UNDERSTAND = "mustUnderstand";
069: String ATTRIBUTE_VERSION = "version";
070: String ATTRIBUTE_PROTOCOL = "protocol";
071: String ATTRIBUTE_SAFE = "safe";
072: String ATTRIBUTE_ADDRESS = "address";
073: String ATTRIBUTE_AUTHENTICATION_TYPE = "authenticationType";
074: String ATTRIBUTE_AUTHENTICATION_REALM = "authenticationRealm";
075: String ATTRIBUTE_STYLE = "style";
076: String OPERATION_STYLE = "operationStyle";
077: String IN_PUT_LOCAL_NAME = "input";
078: String OUT_PUT_LOCAL_NAME = "output";
079: String OUT_FAULT_LOCAL_NAME = "outfault";
080: String IN_FAULT_LOCAL_NAME = "infault";
081: String FAULT_LOCAL_NAME = "fault";
082: String ATTRIBUTE_NAME_PATTERN = "pattern";
083: String MESSAGE_LABEL = "messageLabel";
084: String ATTRIBUTE_ELEMENT = "element";
085:
086: String BINDING_LOCAL_NAME = "binding";
087: String ENDPOINT_LOCAL_NAME = "endpoint";
088: String SOAP_BINDING_PREFIX = "SOAPBinding";
089: String HTTP_PROTOCAL = "http://www.w3.org/2003/05/soap/bindings/HTTP";
090: String SERVICE_LOCAL_NAME = "service";
091:
092: String URI_WSOAP_MEP = "http://www.w3.org/2003/05/soap/mep/soap-response/";
093:
094: String ATTR_WSOAP_PROTOCOL = "wsoap:protocol";
095: String ATTR_WSOAP_VERSION = "wsoap:version";
096: String ATTR_WSOAP_CODE = "wsoap:code";
097: String ATTR_WSOAP_MEP = "wsoap:mep";
098: String ATTR_WSOAP_MODULE = "wsoap:module";
099: String ATTR_WSOAP_SUBCODES = "wsoap:subcodes";
100: String ATTR_WSOAP_HEADER = "wsoap:header";
101: String ATTR_WSOAP_ACTION = "wsoap:action";
102: String ATTR_WSOAP_ADDRESS = "wsoap:address";
103:
104: String ATTR_WHTTP_CONTENT_ENCODING = "whttp:contentEncoding";
105: String ATTR_WHTTP_LOCATION = "whttp:location";
106: String ATTR_WHTTP_HEADER = "whttp:header";
107: String ATTR_WHTTP_METHOD = "whttp:method";
108: String ATTR_WHTTP_CODE = "whttp:code";
109: String ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR = "whttp:queryParameterSeparator";
110: String ATTR_WHTTP_IGNORE_UNCITED = "whttp:ignoreUncited";
111: String ATTR_WHTTP_INPUT_SERIALIZATION = "whttp:inputSerialization";
112: String ATTR_WHTTP_OUTPUT_SERIALIZATION = "whttp:outputSerialization";
113: String ATTR_WHTTP_FAULT_SERIALIZATION = "whttp:faultSerialization";
114: String ATTR_WHTTP_AUTHENTICATION_TYPE = "whttp:authenticationType";
115: String ATTR_WHTTP_AUTHENTICATION_REALM = "whttp:authenticationRealm";
116:
117: String ATTR_WSDLX_SAFE = "wsdlx:safe";
118:
119: String SOAP_VERSION_1_1 = "1.1";
120: String SOAP_VERSION_1_2 = "1.2";
121:
122: String MESSAGE_LABEL_IN = "In";
123: String MESSAGE_LABEL_OUT = "Out";
124:
125: String HTTP_LOCATION_TABLE = "HTTPLocationTable";
126:
127: // This was taken from thye resolution of CR117 (WSDL 2.0 working group)
128: // http://www.w3.org/2002/ws/desc/5/cr-issues/issues.html?view=normal#CR117
129: // http://lists.w3.org/Archives/Public/www-ws-desc/2007Feb/0039.html
130: String LEGAL_CHARACTERS_IN_URL = "-._~!$&()*+,;=:@?/%";
131: String LEGAL_CHARACTERS_IN_PATH = "-._~!$'()*+,;=:@";
132: String LEGAL_CHARACTERS_IN_QUERY = "-._~!$'()*+,;=:@/?";
133: String TEMPLATE_ENCODE_ESCAPING_CHARACTER = "!";
134:
135: public String MEP_URI_IN_ONLY = "http://www.w3.org/ns/wsdl/in-only";
136: public String MEP_URI_ROBUST_IN_ONLY = "http://www.w3.org/ns/wsdl/robust-in-only";
137: public String MEP_URI_IN_OUT = "http://www.w3.org/ns/wsdl/in-out";
138: public String MEP_URI_IN_OPTIONAL_OUT = "http://www.w3.org/ns/wsdl/in-opt-out";
139: public String MEP_URI_OUT_ONLY = "http://www.w3.org/ns/wsdl/out-only";
140: public String MEP_URI_ROBUST_OUT_ONLY = "http://www.w3.org/ns/wsdl/robust-out-only";
141: public String MEP_URI_OUT_IN = "http://www.w3.org/ns/wsdl/out-in";
142: public String MEP_URI_OUT_OPTIONAL_IN = "http://www.w3.org/ns/wsdl/out-opt-in";
143:
144: public String STYLE_IRI = "http://www.w3.org/ns/wsdl/style/iri";
145: public String STYLE_RPC = "http://www.w3.org/ns/wsdl/style/rpc";
146: public String STYLE_MULTIPART = "http://www.w3.org/ns/wsdl/style/multipart";
147:
148: public String NMTOKEN_ANY = "#any";
149: public String NMTOKEN_NONE = "#none";
150: public String NMTOKEN_OTHER = "#other";
151: public String NMTOKEN_ELEMENT = "#element";
152: }
|