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.java2wsdl;
020:
021: public interface Java2WSDLConstants {
022:
023: String SOAP11_PREFIX = "soap";
024: String SOAP12_PREFIX = "soap12";
025: String DEFAULT_WSDL_NAMESPACE_PREFIX = "wsdl";
026: String DEFAULT_SCHEMA_NAMESPACE_PREFIX = "xs";
027: String DEFAULT_TARGET_NAMESPACE_PREFIX = "axis2";
028: String TARGETNAMESPACE_PREFIX = "tns";
029: String SCHEMA_NAMESPACE_PRFIX = "ns";
030: String FORM_DEFAULT_QUALIFIED = "qualified";
031: String FORM_DEFAULT_UNQUALIFIED = "unqualified";
032: String DOC_LIT_BARE_PARAMETER = "doclitBare";
033:
034: String DEFAULT_TARGET_NAMESPACE = "http://ws.apache.org/axis2";
035: String WSDL_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/";
036: String AXIS2_XSD = "http://org.apache.axis2/xsd";
037: String URI_WSDL12_SOAP = "http://schemas.xmlsoap.org/wsdl/soap12/";
038: String URI_WSDL11_SOAP = "http://schemas.xmlsoap.org/wsdl/soap/";
039: String TRANSPORT_URI = "http://schemas.xmlsoap.org/soap/http";
040: String DEFAULT_LOCATION_URL = "http://localhost:8080/axis2/services/";
041: String WSAD_NS = "http://www.w3.org/2006/05/addressing/wsdl";
042:
043: String HTTP_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/http/";
044: String MIME_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/mime/";
045: String HTTP_PREFIX = "http";
046: String MIME_PREFIX = "mime";
047: String URN_PREFIX = "urn";
048: String COLON_SEPARATOR = ":";
049:
050: String BINDING_NAME_SUFFIX = "SOAP11Binding";
051: String SOAP12BINDING_NAME_SUFFIX = "SOAP12Binding";
052: String HTTP_BINDING = "HttpBinding";
053: String PORT_TYPE_SUFFIX = "PortType";
054: String PORT_NAME_SUFFIX = "Port";
055: String MESSAGE_LOCAL_NAME = "message";
056: String ATTRIBUTE_NAME = "name";
057: String REQUEST_MESSAGE = "RequestMessage";
058: String RESPONSE_MESSAGE = "ResponseMessage";
059: String FAULT_MESSAGE = "Message";
060: String MESSAGE_SUFFIX = "Request";
061: String REQUEST = "Request";
062: String RESPONSE = "Response";
063: String RESULT = "Result";
064: String PORT_TYPE_LOCAL_NAME = "portType";
065: String OPERATION_LOCAL_NAME = "operation";
066: String IN_PUT_LOCAL_NAME = "input";
067: String OUT_PUT_LOCAL_NAME = "output";
068: String SERVICE_LOCAL_NAME = "service";
069: String BINDING_LOCAL_NAME = "binding";
070: String PORT = "port";
071: String SOAP12PORT = "SOAP12port";
072: String SOAP11PORT = "SOAP11port";
073: String HTTP_PORT = "Httpport";
074: String PART_ATTRIBUTE_NAME = "part";
075: String ELEMENT_ATTRIBUTE_NAME = "element";
076: String FAULT_LOCAL_NAME = "fault";
077:
078: String SOAP_ADDRESS = "address";
079: String LOCATION = "location";
080: String TRANSPORT = "transport";
081: String STYLE = "style";
082: String SOAP_ACTION = "soapAction";
083: String SOAP_BODY = "body";
084: String SOAP_USE = "use";
085: String DOCUMENT = "document";
086: String LITERAL = "literal";
087: //
088: // Schema XSD Namespaces
089: //
090: String URI_2001_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
091:
092: String ATTR_FORM_DEFAULT_OPTION = "afd";
093: String ATTR_FORM_DEFAULT_OPTION_LONG = "attributeFormDefault";
094: String CLASSNAME_OPTION = "cn";
095: String CLASSNAME_OPTION_LONG = "className";
096: String CLASSPATH_OPTION = "cp";
097: String CLASSPATH_OPTION_LONG = "classPath";
098: String DOC_LIT_BARE = "dlb";
099: String DOC_LIT_BARE_LONG = "doclitbare";
100: String ELEMENT_FORM_DEFAULT_OPTION = "efd";
101: String ELEMENT_FORM_DEFAULT_OPTION_LONG = "elementFormDefault";
102: String EXTRA_CLASSES_DEFAULT_OPTION = "xc";
103: String EXTRA_CLASSES_DEFAULT_OPTION_LONG = "extraClasses";
104: String JAVA_PKG_2_NSMAP_OPTION = "p2n";
105: String JAVA_PKG_2_NSMAP_OPTION_LONG = "package2Namespace";
106: String LOCATION_OPTION = "l";
107: String LOCATION_OPTION_LONG = "location";
108: String NAMESPACE_GENERATOR_OPTION = "nsg";
109: String NAMESPACE_GENERATOR_OPTION_LONG = "namespaceGenerator";
110: String OUTPUT_FILENAME_OPTION = "of";
111: String OUTPUT_FILENAME_OPTION_LONG = "outputFilename";
112: String OUTPUT_LOCATION_OPTION = "o";
113: String OUTPUT_LOCATION_OPTION_LONG = "output";
114: String SCHEMA_GENERATOR_OPTION = "sg";
115: String SCHEMA_GENERATOR_OPTION_LONG = "schemaGenerator";
116: String SCHEMA_TARGET_NAMESPACE_OPTION = "stn";
117: String SCHEMA_TARGET_NAMESPACE_OPTION_LONG = "schemaTargetnamespace";
118: String SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION = "stp";
119: String SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION_LONG = "schemaTargetnamespacePrefix";
120: String SERVICE_NAME_OPTION = "sn";
121: String SERVICE_NAME_OPTION_LONG = "serviceName";
122: String STYLE_OPTION = "st";
123: String STYLE_OPTION_LONG = "style";
124: String TARGET_NAMESPACE_OPTION = "tn";
125: String TARGET_NAMESPACE_OPTION_LONG = "targetNamespace";
126: String TARGET_NAMESPACE_PREFIX_OPTION = "tp";
127: String TARGET_NAMESPACE_PREFIX_OPTION_LONG = "targetNamespacePrefix";
128: String USE_OPTION = "u";
129: String USE_OPTION_LONG = "use";
130: String WSDL_VERSION_OPTION = "wv";
131: String WSDL_VERSION_OPTION_LONG = "wsdl-version";
132:
133: String AXIS2_NAMESPACE_PREFIX = "ns1";
134:
135: public static final String SOLE_INPUT = "SOLE_INPUT";
136:
137: String WSDL_VERSION_2 = "2.0";
138: String WSDL_VERSION_2_OPTIONAL = "2";
139: String WSDL_VERSION_1 = "1.1";
140: String PARAMETERS = "parameters";
141: }
|