View Javadoc
1   /**
2    * This Source Code Form is subject to the terms of the Mozilla Public
3    * License, v. 2.0. If a copy of the MPL was not distributed with this
4    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5    *
6    * If it is not possible or desirable to put the notice in a particular
7    * file, then You may include the notice in a location (such as a LICENSE
8    * file in a relevant directory) where a recipient would be likely to look
9    * for such a notice.
10  
11   * 
12   */
13   
14  /*  ---------------------------------------------------------------------------
15   *  U.S. Government, Department of the Army
16   *  Army Materiel Command
17   *  Research Development Engineering Command
18   *  Communications Electronics Research Development and Engineering Center
19   *  ---------------------------------------------------------------------------
20   */
21  
22  package org.oasis_open.docs.wsn.client;
23  
24  import java.net.MalformedURLException;
25  import java.net.URL;
26  import java.util.logging.Logger;
27  import javax.xml.namespace.QName;
28  import javax.xml.ws.Service;
29  import javax.xml.ws.WebEndpoint;
30  import javax.xml.ws.WebServiceClient;
31  import javax.xml.ws.WebServiceFeature;
32  import org.oasis_open.docs.wsn.brw_2.PublisherRegistrationManager;
33  import org.oasis_open.docs.wsn.brw_2.PullPoint;
34  
35  
36  /**
37   * This class was generated by the JAX-WS RI.
38   * JAX-WS RI 2.1.6 in JDK 6
39   * Generated source version: 2.1
40   * 
41   */
42  @WebServiceClient(name = "PublisherRegistrationManagerService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2"
43          //wsdlLocation = "classpath:/brw-2impl.wsdl"
44          )
45  public class PublisherRegistrationManagerService
46      extends Service
47  {
48  
49      private final static URL PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION;
50      private final static Logger logger = Logger.getLogger(PublisherRegistrationManagerService.class.getName());
51  
52      static {
53            ClassLoader cl = Thread.currentThread().getContextClassLoader();
54          if (cl != null) {
55              PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
56          } else {
57              PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = PublisherRegistrationManagerService.class.getClassLoader().getResource("brw-2impl.wsdl");
58          }
59      }
60  
61      public PublisherRegistrationManagerService(URL wsdlLocation, QName serviceName) {
62          super(wsdlLocation, serviceName);
63      }
64  
65      public PublisherRegistrationManagerService() {
66          super(PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerService"));
67      }
68  
69      /**
70       * 
71       * @return
72       *     returns PublisherRegistrationManager
73       */
74      @WebEndpoint(name = "PublisherRegistrationManagerPort")
75      public PublisherRegistrationManager getPublisherRegistrationManagerPort() {
76          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class);
77      }
78  
79      /**
80       * 
81       * @param features
82       *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
83       * @return
84       *     returns PublisherRegistrationManager
85       */
86      @WebEndpoint(name = "PublisherRegistrationManagerPort")
87      public PublisherRegistrationManager getPublisherRegistrationManagerPort(WebServiceFeature... features) {
88          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class, features);
89      }
90  
91  }