2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.adapters.vnf.async.client;
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;
33 * This class was generated by the JAX-WS RI. JAX-WS RI 2.2.9-b14002 Generated source version: 2.2
36 @WebServiceClient(name = "vnfAdapterNotify", targetNamespace = "http://org.onap.so/vnfNotify",
37 wsdlLocation = "/VnfAdapterNotify.wsdl")
38 public class VnfAdapterNotify_Service extends Service {
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");
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.");
52 VNFADAPTERNOTIFY_EXCEPTION = e;
55 public VnfAdapterNotify_Service() {
56 super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME);
59 public VnfAdapterNotify_Service(WebServiceFeature... features) {
60 super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME, features);
63 public VnfAdapterNotify_Service(URL wsdlLocation) {
64 super(wsdlLocation, VNFADAPTERNOTIFY_QNAME);
67 public VnfAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
68 super(wsdlLocation, VNFADAPTERNOTIFY_QNAME, features);
71 public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
72 super(wsdlLocation, serviceName);
75 public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
76 super(wsdlLocation, serviceName, features);
81 * @return returns VnfAdapterNotify
83 @WebEndpoint(name = "MsoVnfAdapterAsyncImplPort")
84 public VnfAdapterNotify getMsoVnfAdapterAsyncImplPort() {
85 return super.getPort(new QName("http://org.onap.so/vnfNotify", "MsoVnfAdapterAsyncImplPort"),
86 VnfAdapterNotify.class);
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
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);
101 private static URL getWsdlLocation() {
102 if (VNFADAPTERNOTIFY_EXCEPTION != null) {
103 throw VNFADAPTERNOTIFY_EXCEPTION;
105 return VNFADAPTERNOTIFY_WSDL_LOCATION;