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  package org.oasis_open.docs.wsn.client;
22  
23  import java.net.MalformedURLException;
24  import java.net.URL;
25  import java.util.logging.Logger;
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.WebServiceFeature;
31  import org.oasis_open.docs.wsn.brw_2.PullPoint;
32  
33  /**
34   * This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 in JDK 6 Generated
35   * source version: 2.1
36   *
37   */
38  @WebServiceClient(name = "PullPointService", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2"
39  //wsdlLocation = "classpath:/rw-2impl.wsdl"
40          )
41  public class PullPointService
42          extends Service {
43  
44      private final static URL PULLPOINTSERVICE_WSDL_LOCATION;
45      private final static Logger logger = Logger.getLogger(PullPointService.class.getName());
46  
47      static {
48          ClassLoader cl = Thread.currentThread().getContextClassLoader();
49          if (cl != null) {
50              PULLPOINTSERVICE_WSDL_LOCATION = cl.getResource("brw-2impl.wsdl");
51          } else {
52              PULLPOINTSERVICE_WSDL_LOCATION = PullPoint.class.getClassLoader().getResource("brw-2impl.wsdl");
53          }
54      }
55  
56      public PullPointService(URL wsdlLocation, QName serviceName) {
57          super(wsdlLocation, serviceName);
58      }
59  
60      public PullPointService() {
61          super(PULLPOINTSERVICE_WSDL_LOCATION, new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointService"));
62      }
63  
64      /**
65       *
66       * @return returns PullPoint
67       */
68      @WebEndpoint(name = "PullPointBindingPort")
69      public PullPoint getPullPointBindingPort() {
70          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointBindingPort"), PullPoint.class);
71      }
72  
73      /**
74       *
75       * @param features A list of {@link javax.xml.ws.WebServiceFeature} to
76       * configure on the proxy. Supported features not in
77       * the <code>features</code> parameter will have their default values.
78       * @return returns PullPoint
79       */
80      @WebEndpoint(name = "PullPointBindingPort")
81      public PullPoint getPullPointBindingPort(WebServiceFeature... features) {
82          return super.getPort(new QName("http://docs.oasis-open.org/wsn/brw-2", "PullPointBindingPort"), PullPoint.class, features);
83      }
84  }