1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
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
62
63
64
65
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 }