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.miloss.fgsms.wsn.broker;
23  
24  import javax.annotation.Resource;
25  import javax.jws.WebMethod;
26  import javax.jws.WebParam;
27  import javax.jws.WebResult;
28  import javax.jws.WebService;
29  import javax.jws.soap.SOAPBinding;
30  import javax.xml.bind.annotation.XmlSeeAlso;
31  import javax.xml.datatype.DatatypeFactory;
32  import javax.xml.ws.WebServiceContext;
33  import org.apache.log4j.Logger;
34  import org.oasis_open.docs.wsn.br_2.DestroyRegistration;
35  import org.oasis_open.docs.wsn.br_2.DestroyRegistrationResponse;
36  import org.oasis_open.docs.wsn.brw_2.ResourceNotDestroyedFault;
37  import org.oasis_open.docs.wsn.brw_2.ResourceUnknownFault;
38  
39  /**
40   *
41   * @author Administrator
42   */
43  @WebService(name = "PublisherRegistrationManager", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "PublisherRegistrationManagerService", portName = "PublisherRegistrationManagerPort"
44  ,wsdlLocation = "brw-2impl.wsdl")
45  @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
46  @XmlSeeAlso({
47      org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
48      org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class,
49      org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
50      org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
51      org.oasis_open.docs.wsn.br_2.ObjectFactory.class
52  })
53  public class PublisherRegistrationManagerService implements org.oasis_open.docs.wsn.brw_2.PublisherRegistrationManager{
54      
55        private DatatypeFactory df = null;
56      @Resource
57      private WebServiceContext ctx;
58      final static Logger log = Logger.getLogger("WS-NotificationBroker");
59      /**
60       * 
61       * @param destroyRegistrationRequest
62       * @return
63       *     returns org.oasis_open.docs.wsn.br_2.DestroyRegistrationResponse
64       * @throws ResourceNotDestroyedFault
65       * @throws ResourceUnknownFault
66       */
67      @WebMethod(operationName = "DestroyRegistration", action = "DestroyRegistration")
68      @WebResult(name = "DestroyRegistrationResponse", targetNamespace = "http://docs.oasis-open.org/wsn/br-2", partName = "DestroyRegistrationResponse")
69      public DestroyRegistrationResponse destroyRegistration(
70          @WebParam(name = "DestroyRegistration", targetNamespace = "http://docs.oasis-open.org/wsn/br-2", partName = "DestroyRegistrationRequest")
71          DestroyRegistration destroyRegistrationRequest)
72          throws ResourceNotDestroyedFault, ResourceUnknownFault
73      {return null;}
74  
75  }