source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Adapters/General/AdapterBPEL/src/AdapterNotify.bpel@ 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: 4.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<process
3 name="AdapterNotify"
4 targetNamespace="urn:gov:hhs:fha:nhinc:adapters:general:adapterbpel:adapternotify"
5 xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
6 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7 xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
8 xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
9 xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment"
10 xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
11 xmlns:tns="urn:gov:hhs:fha:nhinc:adapters:general:adapterbpel:adapternotify"
12 xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon">
13 <import namespace="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" location="Interfaces/wsdl/AdapterNotificationConsumer.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
14 <partnerLinks>
15 <partnerLink name="AdapterNotifyPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" partnerLinkType="tns:AdapterNotificationConsumer" myRole="AdapterNotificationConsumerPortTypeRole"/>
16 </partnerLinks>
17 <variables>
18 <variable name="NotifySubscribersOfCdcBioPackageOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifySubscribersOfCdcBioPackageResponseMessage"/>
19 <variable name="NotifySubscribersOfDocumentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifySubscribersOfDocumentResponseMessage"/>
20 <variable name="NotifyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifyResponseMessage"/>
21 <variable name="NotifySubscribersOfCdcBioPackageIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifySubscribersOfCdcBioPackageRequestMessage"/>
22 <variable name="NotifySubscribersOfDocumentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifySubscribersOfDocumentRequestMessage"/>
23 <variable name="NotifyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" messageType="tns:NotifyRequestMessage"/>
24 </variables>
25 <sequence>
26 <pick name="PickNotifyMessages" createInstance="yes">
27 <onMessage partnerLink="AdapterNotifyPL" operation="Notify" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" portType="tns:AdapterNotificationConsumerPortType" variable="NotifyIn">
28 <sequence name="GenericNotifySeq">
29 <assign name="AssignNotifyResp">
30 <copy>
31 <from>'Successful Notify'</from>
32 <to>$NotifyOut.NotifyResponse/nccommon:message</to>
33 </copy>
34 </assign>
35 <reply name="ReplyNotify" partnerLink="AdapterNotifyPL" operation="Notify" portType="tns:AdapterNotificationConsumerPortType" variable="NotifyOut"/>
36 </sequence>
37 </onMessage>
38 <onMessage partnerLink="AdapterNotifyPL" operation="NotifySubscribersOfDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" portType="tns:AdapterNotificationConsumerPortType" variable="NotifySubscribersOfDocumentIn">
39 <sequence name="DocumentNotifySeq">
40 <assign name="AssignDocNotifyResp">
41 <copy>
42 <from>'Successful Document Notify'</from>
43 <to>$NotifySubscribersOfDocumentOut.NotifySubscribersOfDocumentResponse/nccommon:message</to>
44 </copy>
45 </assign>
46 <reply name="ReplyDocumentNotify" partnerLink="AdapterNotifyPL" operation="NotifySubscribersOfDocument" portType="tns:AdapterNotificationConsumerPortType" variable="NotifySubscribersOfDocumentOut"/>
47 </sequence>
48 </onMessage>
49 <onMessage partnerLink="AdapterNotifyPL" operation="NotifySubscribersOfCdcBioPackage" xmlns:tns="urn:gov:hhs:fha:nhinc:adapternotificationconsumer" portType="tns:AdapterNotificationConsumerPortType" variable="NotifySubscribersOfCdcBioPackageIn">
50 <sequence name="CdcNotifySeq">
51 <assign name="AssignCdcNotifyResp">
52 <copy>
53 <from>'Successful Cdc Notify'</from>
54 <to>$NotifySubscribersOfCdcBioPackageOut.NotifySubscribersOfCdcBioPackageResponse/nccommon:message</to>
55 </copy>
56 </assign>
57 <reply name="ReplyCdcNotify" partnerLink="AdapterNotifyPL" operation="NotifySubscribersOfCdcBioPackage" portType="tns:AdapterNotificationConsumerPortType" variable="NotifySubscribersOfCdcBioPackageOut"/>
58 </sequence>
59 </onMessage>
60 </pick>
61 </sequence>
62</process>
Note: See TracBrowser for help on using the repository browser.