Merge "Replace String Literal with Constant"
[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 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 QName VNFADAPTERNOTIFY_QNAME = new QName("http://org.onap.so/vnfNotify", "vnfAdapterNotify");
43
44     static {
45         VNFADAPTERNOTIFY_WSDL_LOCATION = org.onap.so.adapters.vnf.async.client.VnfAdapterNotify_Service.class
46                 .getResource("/VnfAdapterNotify.wsdl");
47         WebServiceException e = null;
48         if (VNFADAPTERNOTIFY_WSDL_LOCATION == null) {
49             e = new WebServiceException(
50                     "Cannot find '/VnfAdapterNotify.wsdl' wsdl. Place the resource correctly in the classpath.");
51         }
52         VNFADAPTERNOTIFY_EXCEPTION = e;
53     }
54
55     public VnfAdapterNotify_Service() {
56         super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME);
57     }
58
59     public VnfAdapterNotify_Service(WebServiceFeature... features) {
60         super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME, features);
61     }
62
63     public VnfAdapterNotify_Service(URL wsdlLocation) {
64         super(wsdlLocation, VNFADAPTERNOTIFY_QNAME);
65     }
66
67     public VnfAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
68         super(wsdlLocation, VNFADAPTERNOTIFY_QNAME, features);
69     }
70
71     public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
72         super(wsdlLocation, serviceName);
73     }
74
75     public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
76         super(wsdlLocation, serviceName, features);
77     }
78
79     /**
80      * 
81      * @return returns VnfAdapterNotify
82      */
83     @WebEndpoint(name = "MsoVnfAdapterAsyncImplPort")
84     public VnfAdapterNotify getMsoVnfAdapterAsyncImplPort() {
85         return super.getPort(new QName("http://org.onap.so/vnfNotify", "MsoVnfAdapterAsyncImplPort"),
86                 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("http://org.onap.so/vnfNotify", "MsoVnfAdapterAsyncImplPort"),
98                 VnfAdapterNotify.class, features);
99     }
100
101     private static URL getWsdlLocation() {
102         if (VNFADAPTERNOTIFY_EXCEPTION != null) {
103             throw VNFADAPTERNOTIFY_EXCEPTION;
104         }
105         return VNFADAPTERNOTIFY_WSDL_LOCATION;
106     }
107
108 }