source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Gateway/NhincHiemSubscriptionEJB/src/java/gov/hhs/fha/nhinc/hiemunsubscribe/HiemUnsubscribe.java@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 1.4 KB
Line 
1/*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5
6package gov.hhs.fha.nhinc.hiemunsubscribe;
7
8import javax.annotation.Resource;
9import javax.ejb.Stateless;
10import javax.jws.WebService;
11import javax.jws.HandlerChain;
12import javax.xml.ws.WebServiceContext;
13import org.oasis_open.docs.wsn.bw_2.ResourceUnknownFault;
14import org.oasis_open.docs.wsn.bw_2.SubscriptionManager;
15import org.oasis_open.docs.wsn.bw_2.UnableToDestroySubscriptionFault;
16import org.apache.commons.logging.Log;
17import org.apache.commons.logging.LogFactory;
18
19/**
20 *
21 * @author jhoppesc
22 */
23@WebService(serviceName = "SubscriptionManagerService", portName = "SubscriptionManagerPort", endpointInterface = "org.oasis_open.docs.wsn.bw_2.SubscriptionManager", targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", wsdlLocation = "META-INF/wsdl/HiemUnsubscribe/NhinSubscription.wsdl")
24@Stateless
25@HandlerChain(file = "HiemUnsubscribeSoapHeaderHandler.xml")
26public class HiemUnsubscribe implements SubscriptionManager {
27
28 @Resource
29 private WebServiceContext context;
30 private static Log log = LogFactory.getLog(HiemUnsubscribe.class);
31
32 public org.oasis_open.docs.wsn.b_2.UnsubscribeResponse unsubscribe(org.oasis_open.docs.wsn.b_2.Unsubscribe unsubscribeRequest) throws ResourceUnknownFault, UnableToDestroySubscriptionFault {
33 return new HiemUnsubscribeImpl().unsubscribe(unsubscribeRequest, context);
34 }
35
36}
Note: See TracBrowser for help on using the repository browser.