f408f227c68339fe3d8831297f0dc965835bf378
[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 String URL="http://org.onap.so/networkNotify";
49     private static final QName NETWORKADAPTERNOTIFY_QNAME = new QName(URL, "networkAdapterNotify");
50
51     static {
52         NETWORKADAPTERNOTIFY_WSDL_LOCATION = org.onap.so.adapters.network.async.client.NetworkAdapterNotify_Service.class.getResource("/NetworkAdapterNotify.wsdl");
53         WebServiceException e = null;
54         if (NETWORKADAPTERNOTIFY_WSDL_LOCATION == null) {
55             e = new WebServiceException("Cannot find '/NetworkAdapterNotify.wsdl' wsdl. Place the resource correctly in the classpath.");
56         }
57         NETWORKADAPTERNOTIFY_EXCEPTION = e;
58     }
59
60     public NetworkAdapterNotify_Service() {
61         super(__getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME);
62     }
63
64     public NetworkAdapterNotify_Service(WebServiceFeature... features) {
65         super(__getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME, features);
66     }
67
68     public NetworkAdapterNotify_Service(URL wsdlLocation) {
69         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME);
70     }
71
72     public NetworkAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
73         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME, features);
74     }
75
76     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
77         super(wsdlLocation, serviceName);
78     }
79
80     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
81         super(wsdlLocation, serviceName, features);
82     }
83
84     /**
85      * 
86      * @return
87      *     returns NetworkAdapterNotify
88      */
89     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
90     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort() {
91         return super.getPort(new QName(URL, "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class);
92     }
93
94     /**
95      * 
96      * @param features
97      *     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.
98      * @return
99      *     returns NetworkAdapterNotify
100      */
101     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
102     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort(WebServiceFeature... features) {
103         return super.getPort(new QName(URL, "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class, features);
104     }
105
106     private static URL __getWsdlLocation() {
107         if (NETWORKADAPTERNOTIFY_EXCEPTION!= null) {
108             throw NETWORKADAPTERNOTIFY_EXCEPTION;
109         }
110         return NETWORKADAPTERNOTIFY_WSDL_LOCATION;
111     }
112
113 }