2fd8836a4f3dee7cf2766c414a1e36b122d2adbc
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Modifications Copyright (C) 2018 IBM.
8  * ================================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.so.adapters.network.async.client;
24
25 import java.net.URL;
26
27 import javax.xml.namespace.QName;
28 import javax.xml.ws.Service;
29 import javax.xml.ws.WebEndpoint;
30 import javax.xml.ws.WebServiceClient;
31 import javax.xml.ws.WebServiceException;
32 import javax.xml.ws.WebServiceFeature;
33
34
35 /**
36  * This class was generated by the JAX-WS RI.
37  * JAX-WS RI 2.2.9-b14002
38  * Generated source version: 2.2
39  * 
40  */
41 @WebServiceClient(name = "networkAdapterNotify", targetNamespace = "http://org.onap.so/networkNotify", wsdlLocation = "/NetworkAdapterNotify.wsdl")
42 public class NetworkAdapterNotify_Service
43     extends Service
44 {
45
46     private static final URL NETWORKADAPTERNOTIFY_WSDL_LOCATION;
47     private static final WebServiceException NETWORKADAPTERNOTIFY_EXCEPTION;
48     private static final QName NETWORKADAPTERNOTIFY_QNAME = new QName("http://org.onap.so/networkNotify", "networkAdapterNotify");
49
50     static {
51         NETWORKADAPTERNOTIFY_WSDL_LOCATION = org.onap.so.adapters.network.async.client.NetworkAdapterNotify_Service.class.getResource("/NetworkAdapterNotify.wsdl");
52         WebServiceException e = null;
53         if (NETWORKADAPTERNOTIFY_WSDL_LOCATION == null) {
54             e = new WebServiceException("Cannot find '/NetworkAdapterNotify.wsdl' wsdl. Place the resource correctly in the classpath.");
55         }
56         NETWORKADAPTERNOTIFY_EXCEPTION = e;
57     }
58
59     public NetworkAdapterNotify_Service() {
60         super(__getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME);
61     }
62
63     public NetworkAdapterNotify_Service(WebServiceFeature... features) {
64         super(__getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME, features);
65     }
66
67     public NetworkAdapterNotify_Service(URL wsdlLocation) {
68         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME);
69     }
70
71     public NetworkAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
72         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME, features);
73     }
74
75     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
76         super(wsdlLocation, serviceName);
77     }
78
79     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
80         super(wsdlLocation, serviceName, features);
81     }
82
83     /**
84      * 
85      * @return
86      *     returns NetworkAdapterNotify
87      */
88     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
89     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort() {
90         return super.getPort(new QName("http://org.onap.so/networkNotify", "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class);
91     }
92
93     /**
94      * 
95      * @param features
96      *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
97      * @return
98      *     returns NetworkAdapterNotify
99      */
100     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
101     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort(WebServiceFeature... features) {
102         return super.getPort(new QName("http://org.onap.so/networkNotify", "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class, features);
103     }
104
105     private static URL __getWsdlLocation() {
106         if (NETWORKADAPTERNOTIFY_EXCEPTION!= null) {
107             throw NETWORKADAPTERNOTIFY_EXCEPTION;
108         }
109         return NETWORKADAPTERNOTIFY_WSDL_LOCATION;
110     }
111
112 }