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 String VNF_NOTIFY_URL = "http://org.onap.so/vnfNotify";
43 private static final QName VNFADAPTERNOTIFY_QNAME = new QName(VNF_NOTIFY_URL, "vnfAdapterNotify");
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.");
53 VNFADAPTERNOTIFY_EXCEPTION = e;
56 public VnfAdapterNotify_Service() {
57 super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME);
60 public VnfAdapterNotify_Service(WebServiceFeature... features) {
61 super(getWsdlLocation(), VNFADAPTERNOTIFY_QNAME, features);
64 public VnfAdapterNotify_Service(URL wsdlLocation) {
65 super(wsdlLocation, VNFADAPTERNOTIFY_QNAME);
68 public VnfAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
69 super(wsdlLocation, VNFADAPTERNOTIFY_QNAME, features);
72 public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
73 super(wsdlLocation, serviceName);
76 public VnfAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
77 super(wsdlLocation, serviceName, features);
82 * @return returns VnfAdapterNotify
84 @WebEndpoint(name = "MsoVnfAdapterAsyncImplPort")
85 public VnfAdapterNotify getMsoVnfAdapterAsyncImplPort() {
86 return super.getPort(new QName(VNF_NOTIFY_URL, "MsoVnfAdapterAsyncImplPort"), 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(VNF_NOTIFY_URL, "MsoVnfAdapterAsyncImplPort"), VnfAdapterNotify.class, features);
100 private static URL getWsdlLocation() {
101 if (VNFADAPTERNOTIFY_EXCEPTION != null) {
102 throw VNFADAPTERNOTIFY_EXCEPTION;
104 return VNFADAPTERNOTIFY_WSDL_LOCATION;