01: package org.apache.axis2.dataretrieval;
02:
03: import org.apache.axiom.om.OMElement;
04: import org.apache.axis2.AxisFault;
05: import org.apache.axis2.description.AxisService;
06: import org.apache.axis2.context.MessageContext;
07:
08: import javax.wsdl.Definition;
09:
10: /*
11: * Licensed to the Apache Software Foundation (ASF) under one
12: * or more contributor license agreements. See the NOTICE file
13: * distributed with this work for additional information
14: * regarding copyright ownership. The ASF licenses this file
15: * to you under the Apache License, Version 2.0 (the
16: * "License"); you may not use this file except in compliance
17: * with the License. You may obtain a copy of the License at
18: *
19: * http://www.apache.org/licenses/LICENSE-2.0
20: *
21: * Unless required by applicable law or agreed to in writing,
22: * software distributed under the License is distributed on an
23: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
24: * KIND, either express or implied. See the License for the
25: * specific language governing permissions and limitations
26: * under the License.
27: */
28:
29: /**
30: * Return a WSDL as an OMElement. This is used by any AxisService that wishes
31: * to override the standard AxisService2WSDL (see the org.apache.axis2.description
32: * package) method of getting WSDL. If one of these is present in the AxisService
33: * Parameters under the name "WSDLSupplier", it will be queried.
34: */
35: public interface WSDLSupplier {
36: Definition getWSDL(AxisService service) throws AxisFault;
37: }
|