View Javadoc
1   
2   package org.oasis_open.docs.wsn.brw_2;
3   
4   import java.net.MalformedURLException;
5   import java.net.URL;
6   import java.util.logging.Logger;
7   import javax.xml.namespace.QName;
8   import javax.xml.ws.Service;
9   import javax.xml.ws.WebEndpoint;
10  import javax.xml.ws.WebServiceClient;
11  import javax.xml.ws.WebServiceFeature;
12  
13  
14  /**
15   * This class was generated by the JAX-WS RI.
16   * JAX-WS RI 2.1.6 in JDK 6
17   * Generated source version: 2.1
18   * 
19   */
20  @WebServiceClient(name = "PublisherRegistrationManagerService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2")
21  public class PublisherRegistrationManagerService
22      extends Service
23  {
24  
25      private final static URL PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION;
26      private final static Logger logger = Logger.getLogger(org.oasis_open.docs.wsn.brw_2.PublisherRegistrationManagerService.class.getName());
27  
28     
29          static {
30             ClassLoader cl = Thread.currentThread().getContextClassLoader();
31          if (cl != null) {
32              PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
33          } else {
34              PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION = PublisherRegistrationManagerService.class.getClassLoader().getResource("brw-2impl.wsdl");
35          }
36      }
37  
38      public PublisherRegistrationManagerService(URL wsdlLocation, QName serviceName) {
39          super(wsdlLocation, serviceName);
40      }
41  
42      public PublisherRegistrationManagerService() {
43          super(PUBLISHERREGISTRATIONMANAGERSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerService"));
44      }
45  
46      /**
47       * 
48       * @return
49       *     returns PublisherRegistrationManager
50       */
51      @WebEndpoint(name = "PublisherRegistrationManagerPort")
52      public PublisherRegistrationManager getPublisherRegistrationManagerPort() {
53          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class);
54      }
55  
56      /**
57       * 
58       * @param features
59       *     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.
60       * @return
61       *     returns PublisherRegistrationManager
62       */
63      @WebEndpoint(name = "PublisherRegistrationManagerPort")
64      public PublisherRegistrationManager getPublisherRegistrationManagerPort(WebServiceFeature... features) {
65          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PublisherRegistrationManagerPort"), PublisherRegistrationManager.class, features);
66      }
67  
68  }