01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19:
20: package org.apache.axis2.jaxws.util;
21:
22: import javax.wsdl.Definition;
23: import javax.xml.namespace.QName;
24: import java.net.URL;
25: import java.util.ArrayList;
26:
27: public interface WSDLWrapper {
28: public static final QName POLICY = new QName(Constants.POLICY,
29: "Policy");
30: public static final QName POLICY_REFERENCE = new QName(
31: Constants.POLICY_REFERENCE, "PolicyReference");
32: public static final QName SCHEMA = new QName(Constants.SCHEMA,
33: "schema");
34: public static final QName SOAP_11_BINDING = new QName(
35: Constants.URI_WSDL_SOAP11_BINDING, "binding");
36: public static final QName SOAP_11_BODY = new QName(
37: Constants.URI_WSDL_SOAP11_BODY, "body");
38: public static final QName SOAP_11_HEADER = new QName(
39: Constants.URI_WSDL_SOAP11_HEADER, "header");
40: public static final QName SOAP_11_OPERATION = new QName(
41: Constants.URI_WSDL_SOAP11, "operation");
42: public static final QName SOAP_12_BINDING = new QName(
43: Constants.URI_WSDL_SOAP12_BINDING, "binding");
44: public static final QName SOAP_12_BODY = new QName(
45: Constants.URI_WSDL_SOAP12_BODY, "body");
46: public static final QName SOAP_12_HEADER = new QName(
47: Constants.URI_WSDL_SOAP12_HEADER, "header");
48: public static final QName SOAP_12_OPERATION = new QName(
49: Constants.URI_WSDL_SOAP11, "operation");
50:
51: public Object getFirstPortBinding(QName serviceQname);
52:
53: public String getOperationName(QName serviceQname, QName portQname);
54:
55: public ArrayList getPortBinding(QName serviceQname);
56:
57: public String getPortBinding(QName serviceQname, QName portQname);
58:
59: public String[] getPorts(QName serviceQname);
60:
61: public Object getService(QName serviceQname);
62:
63: public String getSOAPAction(QName serviceQname);
64:
65: public String getSOAPAction(QName serviceQname, QName portQname);
66:
67: public String getSOAPAction(QName serviceQname, QName portQName,
68: QName operationQname);
69:
70: public URL getWSDLLocation();
71:
72: public String getTargetNamespace();
73:
74: public Definition getDefinition();
75: }
|