2  * ============LICENSE_START=======================================================
 
   4  * ================================================================================
 
   5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 
   6  * ================================================================================
 
   7  * Modifications Copyright (C) 2018 IBM.
 
   8  * ================================================================================
 
   9  * Licensed under the Apache License, Version 2.0 (the "License");
 
  10  * you may not use this file except in compliance with the License.
 
  11  * You may obtain a copy of the License at
 
  13  *      http://www.apache.org/licenses/LICENSE-2.0
 
  15  * Unless required by applicable law or agreed to in writing, software
 
  16  * distributed under the License is distributed on an "AS IS" BASIS,
 
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  18  * See the License for the specific language governing permissions and
 
  19  * limitations under the License.
 
  20  * ============LICENSE_END=========================================================
 
  23 package org.onap.so.adapters.network.async.client;
 
  26 import javax.xml.namespace.QName;
 
  27 import javax.xml.ws.Service;
 
  28 import javax.xml.ws.WebEndpoint;
 
  29 import javax.xml.ws.WebServiceClient;
 
  30 import javax.xml.ws.WebServiceException;
 
  31 import javax.xml.ws.WebServiceFeature;
 
  35  * This class was generated by the JAX-WS RI. JAX-WS RI 2.2.9-b14002 Generated source version: 2.2
 
  38 @WebServiceClient(name = "networkAdapterNotify", targetNamespace = "http://org.onap.so/networkNotify",
 
  39         wsdlLocation = "/NetworkAdapterNotify.wsdl")
 
  40 public class NetworkAdapterNotify_Service extends Service {
 
  42     private static final URL NETWORKADAPTERNOTIFY_WSDL_LOCATION;
 
  43     private static final WebServiceException NETWORKADAPTERNOTIFY_EXCEPTION;
 
  44     private static final String URL = "http://org.onap.so/networkNotify";
 
  45     private static final QName NETWORKADAPTERNOTIFY_QNAME = new QName(URL, "networkAdapterNotify");
 
  48         NETWORKADAPTERNOTIFY_WSDL_LOCATION =
 
  49                 org.onap.so.adapters.network.async.client.NetworkAdapterNotify_Service.class
 
  50                         .getResource("/NetworkAdapterNotify.wsdl");
 
  51         WebServiceException e = null;
 
  52         if (NETWORKADAPTERNOTIFY_WSDL_LOCATION == null) {
 
  53             e = new WebServiceException(
 
  54                     "Cannot find '/NetworkAdapterNotify.wsdl' wsdl. Place the resource correctly in the classpath.");
 
  56         NETWORKADAPTERNOTIFY_EXCEPTION = e;
 
  59     public NetworkAdapterNotify_Service() {
 
  60         super(getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME);
 
  63     public NetworkAdapterNotify_Service(WebServiceFeature... features) {
 
  64         super(getWsdlLocation(), NETWORKADAPTERNOTIFY_QNAME, features);
 
  67     public NetworkAdapterNotify_Service(URL wsdlLocation) {
 
  68         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME);
 
  71     public NetworkAdapterNotify_Service(URL wsdlLocation, WebServiceFeature... features) {
 
  72         super(wsdlLocation, NETWORKADAPTERNOTIFY_QNAME, features);
 
  75     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName) {
 
  76         super(wsdlLocation, serviceName);
 
  79     public NetworkAdapterNotify_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
 
  80         super(wsdlLocation, serviceName, features);
 
  85      * @return returns NetworkAdapterNotify
 
  87     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
 
  88     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort() {
 
  89         return super.getPort(new QName(URL, "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class);
 
  94      * @param features A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features
 
  95      *        not in the <code>features</code> parameter will have their default values.
 
  96      * @return returns NetworkAdapterNotify
 
  98     @WebEndpoint(name = "MsoNetworkAdapterAsyncImplPort")
 
  99     public NetworkAdapterNotify getMsoNetworkAdapterAsyncImplPort(WebServiceFeature... features) {
 
 100         return super.getPort(new QName(URL, "MsoNetworkAdapterAsyncImplPort"), NetworkAdapterNotify.class, features);
 
 103     private static URL getWsdlLocation() {
 
 104         if (NETWORKADAPTERNOTIFY_EXCEPTION != null) {
 
 105             throw NETWORKADAPTERNOTIFY_EXCEPTION;
 
 107         return NETWORKADAPTERNOTIFY_WSDL_LOCATION;