1 | /*
|
---|
2 | * To change this template, choose Tools | Templates
|
---|
3 | * and open the template in the editor.
|
---|
4 | */
|
---|
5 |
|
---|
6 | package gov.hhs.fha.nhinc.hiemsubscription;
|
---|
7 |
|
---|
8 | import javax.annotation.Resource;
|
---|
9 | import javax.ejb.Stateless;
|
---|
10 | import javax.jws.WebService;
|
---|
11 | import javax.xml.ws.WebServiceContext;
|
---|
12 | import org.oasis_open.docs.wsn.bw_2.InvalidFilterFault;
|
---|
13 | import org.oasis_open.docs.wsn.bw_2.InvalidMessageContentExpressionFault;
|
---|
14 | import org.oasis_open.docs.wsn.bw_2.InvalidProducerPropertiesExpressionFault;
|
---|
15 | import org.oasis_open.docs.wsn.bw_2.InvalidTopicExpressionFault;
|
---|
16 | import org.oasis_open.docs.wsn.bw_2.NotificationProducer;
|
---|
17 | import org.oasis_open.docs.wsn.bw_2.NotifyMessageNotSupportedFault;
|
---|
18 | import org.oasis_open.docs.wsn.bw_2.ResourceUnknownFault;
|
---|
19 | import org.oasis_open.docs.wsn.bw_2.SubscribeCreationFailedFault;
|
---|
20 | import org.oasis_open.docs.wsn.bw_2.TopicExpressionDialectUnknownFault;
|
---|
21 | import org.oasis_open.docs.wsn.bw_2.TopicNotSupportedFault;
|
---|
22 | import org.oasis_open.docs.wsn.bw_2.UnacceptableInitialTerminationTimeFault;
|
---|
23 | import org.oasis_open.docs.wsn.bw_2.UnrecognizedPolicyRequestFault;
|
---|
24 | import org.oasis_open.docs.wsn.bw_2.UnsupportedPolicyRequestFault;
|
---|
25 | import org.apache.commons.logging.Log;
|
---|
26 | import org.apache.commons.logging.LogFactory;
|
---|
27 |
|
---|
28 | /**
|
---|
29 | *
|
---|
30 | * @author jhoppesc
|
---|
31 | */
|
---|
32 | @WebService(serviceName = "NotificationProducerService", portName = "NotificationProducerPort", endpointInterface = "org.oasis_open.docs.wsn.bw_2.NotificationProducer", targetNamespace = "http://docs.oasis-open.org/wsn/bw-2", wsdlLocation = "META-INF/wsdl/HiemSubscription/NhinSubscription.wsdl")
|
---|
33 | @Stateless
|
---|
34 | public class HiemSubscription implements NotificationProducer {
|
---|
35 |
|
---|
36 | @Resource
|
---|
37 | private WebServiceContext context;
|
---|
38 | private static Log log = LogFactory.getLog(HiemSubscription.class);
|
---|
39 |
|
---|
40 | public org.oasis_open.docs.wsn.b_2.SubscribeResponse subscribe(org.oasis_open.docs.wsn.b_2.Subscribe subscribeRequest) throws UnrecognizedPolicyRequestFault, InvalidProducerPropertiesExpressionFault, InvalidMessageContentExpressionFault, UnacceptableInitialTerminationTimeFault, TopicNotSupportedFault, UnsupportedPolicyRequestFault, NotifyMessageNotSupportedFault, TopicExpressionDialectUnknownFault, SubscribeCreationFailedFault, ResourceUnknownFault, InvalidTopicExpressionFault, InvalidFilterFault {
|
---|
41 | return HiemSubscriptionImpl.subscribe(subscribeRequest, context);
|
---|
42 | }
|
---|
43 |
|
---|
44 | }
|
---|