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