402d0af8e4ddd061c35e9911a40e2c5505d7ad07
[so.git] /
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 import javax.xml.namespace.QName;
25 import javax.xml.ws.Service;
26 import javax.xml.ws.WebEndpoint;
27 import javax.xml.ws.WebServiceClient;
28 import javax.xml.ws.WebServiceException;
29 import javax.xml.ws.WebServiceFeature;
30
31
32 /**
33  * This class was generated by the JAX-WS RI. JAX-WS RI 2.2.9-b14002 Generated source version: 2.2
34  *
35  */
36 @WebServiceClient(name = "vnfAdapterNotify", targetNamespace = "http://org.onap.so/vnfNotify",
37         wsdlLocation = "/VnfAdapterNotify.wsdl")
38 public class VnfAdapterNotify_Service extends Service {
39
40     private static final URL VNFADAPTERNOTIFY_WSDL_LOCATION;
41     private static final WebServiceException VNFADAPTERNOTIFY_EXCEPTION;
42     private static final String VNF_NOTIFY_URL = "http://org.onap.so/vnfNotify";
43     private static final QName VNFADAPTERNOTIFY_QNAME = new QName(VNF_NOTIFY_URL, "vnfAdapterNotify");
44
45     static {
46         VNFADAPTERNOTIFY_WSDL_LOCATION = org.onap.so.adapters.vnf.async.client.VnfAdapterNotify_Service.class
47                 .getResource("/VnfAdapterNotify.wsdl");
48         WebServiceException e = null;
49         if (VNFADAPTERNOTIFY_WSDL_LOCATION == null) {
50             e = new WebServiceException(
51                     "Cannot find '/VnfAdapterNotify.wsdl' wsdl. Place the resource correctly in the classpath.");
52         }
53         VNFADAPTERNOTIFY_EXCEPTION = e;
54     }
55
56     public VnfAdapterNotify_Service() {
57         super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME);
58     }
59
60     public VnfAdapterNotify_Service(WebServiceFeature... features) {
61         super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME, features);
62     }
63
64     public VnfAdapterNotify_Service(URL wsdlLocation) {
65         super(wsdlLocation, VNFADAPTERNOTIFY_QNAME);
66     }
67
68     public VnfAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
69         super(wsdlLocation, VNFADAPTERNOTIFY_QNAME, features);
70     }
71
72     public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
73         super(wsdlLocation, serviceName);
74     }
75
76     public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
77         super(wsdlLocation, serviceName, features);
78     }
79
80     /**
81      *
82      * @return returns VnfAdapterNotify
83      */
84     @WebEndpoint(name = "MsoVnfAdapterAsyncImplPort")
85     public VnfAdapterNotify getMsoVnfAdapterAsyncImplPort() {
86         return super.getPort(new QName(VNF_NOTIFY_URL, "MsoVnfAdapterAsyncImplPort"), VnfAdapterNotify.class);
87     }
88
89     /**
90      *
91      * @param features A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features
92      *        not in the <code>features</code> parameter will have their default values.
93      * @return returns VnfAdapterNotify
94      */
95     @WebEndpoint(name = "MsoVnfAdapterAsyncImplPort")
96     public VnfAdapterNotify getMsoVnfAdapterAsyncImplPort(WebServiceFeature... features) {
97         return super.getPort(new QName(VNF_NOTIFY_URL, "MsoVnfAdapterAsyncImplPort"), VnfAdapterNotify.class, features);
98     }
99
100     private static URL getWsdlLocation() {
101         if (VNFADAPTERNOTIFY_EXCEPTION != null) {
102             throw VNFADAPTERNOTIFY_EXCEPTION;
103         }
104         return VNFADAPTERNOTIFY_WSDL_LOCATION;
105     }
106
107 }