01: /*
02: * Portions Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun in the LICENSE file that accompanied this code.
10: *
11: * This code is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14: * version 2 for more details (a copy is included in the LICENSE file that
15: * accompanied this code).
16: *
17: * You should have received a copy of the GNU General Public License version
18: * 2 along with this work; if not, write to the Free Software Foundation,
19: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20: *
21: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25: package com.sun.xml.internal.ws.wsdl.parser;
26:
27: import javax.xml.namespace.QName;
28:
29: /**
30: * Interface defining WSDL-related constants.
31: *
32: * @author WS Development Team
33: */
34: public interface WSDLConstants {
35: // namespace URIs
36: public static final String NS_XMLNS = "http://www.w3.org/2001/XMLSchema";
37: public static final String NS_WSDL = "http://schemas.xmlsoap.org/wsdl/";
38: public static final String NS_SOAP11_HTTP_BINDING = "http://schemas.xmlsoap.org/soap/http";
39:
40: public static final QName QNAME_SCHEMA = new QName(NS_XMLNS,
41: "schema");
42:
43: // QNames
44: public static final QName QNAME_BINDING = new QName(NS_WSDL,
45: "binding");
46: public static final QName QNAME_DEFINITIONS = new QName(NS_WSDL,
47: "definitions");
48: public static final QName QNAME_DOCUMENTATION = new QName(NS_WSDL,
49: "documentation");
50: public static final QName NS_SOAP_BINDING_ADDRESS = new QName(
51: "http://schemas.xmlsoap.org/wsdl/soap/", "address");
52: public static final QName NS_SOAP_BINDING = new QName(
53: "http://schemas.xmlsoap.org/wsdl/soap/", "binding");
54: public static final QName NS_SOAP12_BINDING = new QName(
55: "http://schemas.xmlsoap.org/wsdl/soap12/", "binding");
56: public static final QName NS_SOAP12_BINDING_ADDRESS = new QName(
57: "http://schemas.xmlsoap.org/wsdl/soap12/", "address");
58:
59: //public static final QName QNAME_FAULT = new QName(NS_WSDL, "fault");
60: public static final QName QNAME_IMPORT = new QName(NS_WSDL,
61: "import");
62:
63: //public static final QName QNAME_INPUT = new QName(NS_WSDL, "input");
64: public static final QName QNAME_MESSAGE = new QName(NS_WSDL,
65: "message");
66: public static final QName QNAME_PART = new QName(NS_WSDL, "part");
67: public static final QName QNAME_OPERATION = new QName(NS_WSDL,
68: "operation");
69: public static final QName QNAME_INPUT = new QName(NS_WSDL, "input");
70: public static final QName QNAME_OUTPUT = new QName(NS_WSDL,
71: "output");
72:
73: //public static final QName QNAME_OUTPUT = new QName(NS_WSDL, "output");
74: //public static final QName QNAME_PART = new QName(NS_WSDL, "part");
75: public static final QName QNAME_PORT = new QName(NS_WSDL, "port");
76: public static final QName QNAME_ADDRESS = new QName(NS_WSDL,
77: "address");
78: public static final QName QNAME_PORT_TYPE = new QName(NS_WSDL,
79: "portType");
80: public static final QName QNAME_FAULT = new QName(NS_WSDL, "fault");
81: public static final QName QNAME_SERVICE = new QName(NS_WSDL,
82: "service");
83: public static final QName QNAME_TYPES = new QName(NS_WSDL, "types");
84:
85: public static final String ATTR_TRANSPORT = "transport";
86: public static final String ATTR_LOCATION = "location";
87: public static final String ATTR_NAME = "name";
88: public static final String ATTR_TNS = "targetNamespace";
89:
90: //public static final QName QNAME_ATTR_ARRAY_TYPE = new QName(NS_WSDL, "arrayType");
91: }
|