1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="EntityNotify"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:entitybpel:entitynotify"
|
---|
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:gateway:entitybpel:entitynotify"
|
---|
12 | xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon">
|
---|
13 | <import namespace="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" location="Interfaces/wsdl/EntityNotificationConsumer.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
14 | <import namespace="urn:gov:hhs:fha:nhinc:entitycomponentinternalnotifyorch" location="Interfaces/wsdl/EntityComponentInternalNotifyOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
15 | <import namespace="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcnotifyorch" location="Interfaces/wsdl/EntityComponentInternalCdcNotifyOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
16 | <partnerLinks>
|
---|
17 | <partnerLink name="DocumentNotifyPL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalnotifyorch" partnerLinkType="tns:EntityComponentInternalNotifyOrch" partnerRole="EntityComponentInternalNotifyOrchPortTypeRole"/>
|
---|
18 | <partnerLink name="CdcNotifyPL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcnotifyorch" partnerLinkType="tns:EntityComponentInternalCdcNotifyOrch" partnerRole="EntityComponentInternalCdcNotifyOrchPortTypeRole"/>
|
---|
19 | <partnerLink name="EntityNotifyPL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" partnerLinkType="tns:EntityNotificationConsumer" myRole="EntityNotificationConsumerPortTypeRole"/>
|
---|
20 | </partnerLinks>
|
---|
21 | <variables>
|
---|
22 | <variable name="NotifySubscribersOfCdcBioPackageIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" messageType="tns:NotifySubscribersOfCdcBioPackageRequestMessage"/>
|
---|
23 | <variable name="NotifySubscribersOfDocumentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" messageType="tns:NotifySubscribersOfDocumentRequestMessage"/>
|
---|
24 | </variables>
|
---|
25 | <sequence>
|
---|
26 | <pick name="PickNotifyMessages" createInstance="yes">
|
---|
27 | <onMessage partnerLink="EntityNotifyPL" operation="NotifySubscribersOfDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfDocumentIn">
|
---|
28 | <scope name="ProcessDocumentNotifyScope">
|
---|
29 | <variables>
|
---|
30 | <variable name="DocumentNotifyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalnotifyorch" messageType="tns:DocumentNotifyResponseMessage"/>
|
---|
31 | <variable name="DocumentNotifyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalnotifyorch" messageType="tns:DocumentNotifyRequestMessage"/>
|
---|
32 | <variable name="NotifySubscribersOfDocumentOut" messageType="tns:NotifySubscribersOfDocumentResponseMessage"/>
|
---|
33 | </variables>
|
---|
34 | <faultHandlers>
|
---|
35 | <catch faultName="sxeh:systemFault" faultVariable="systemFaultDocNotifyVar" faultMessageType="sxeh:faultMessage">
|
---|
36 | <sequence name="SystemFaultCdcNotifySeq">
|
---|
37 | <assign name="AssignDocNotifyFault">
|
---|
38 | <sxt:trace>
|
---|
39 | <sxt:log level="info" location="onStart">
|
---|
40 | <from>'EntityNotify.bpel - A system fault was encounterd processing a Document Notify message. Fault detials follow...'</from>
|
---|
41 | </sxt:log>
|
---|
42 | <sxt:log level="warning" location="onStart">
|
---|
43 | <from variable="systemFaultDocNotifyVar"/>
|
---|
44 | </sxt:log>
|
---|
45 | </sxt:trace>
|
---|
46 | <copy>
|
---|
47 | <from>'Internal Gateway Error'</from>
|
---|
48 | <to>$NotifySubscribersOfDocumentOut.NotifySubscribersOfDocumentResponse/nccommon:message</to>
|
---|
49 | </copy>
|
---|
50 | </assign>
|
---|
51 | <reply name="ReplyDocNotifyFault" partnerLink="EntityNotifyPL" operation="NotifySubscribersOfDocument" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfDocumentOut"/>
|
---|
52 | </sequence>
|
---|
53 | </catch>
|
---|
54 | </faultHandlers>
|
---|
55 | <sequence name="ProcessDocumentNotifySeq">
|
---|
56 | <empty name="AuditDocNotifyReq"/>
|
---|
57 | <assign name="AssignEntityDocumentNotify">
|
---|
58 | <copy>
|
---|
59 | <from variable="NotifySubscribersOfDocumentIn" part="NotifySubscribersOfDocumentRequest"/>
|
---|
60 | <to variable="DocumentNotifyIn" part="DocumentNotifyRequest"/>
|
---|
61 | </copy>
|
---|
62 | </assign>
|
---|
63 | <invoke name="InvokeEntityDocumentNotify" partnerLink="DocumentNotifyPL" operation="DocumentNotify" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalnotifyorch" portType="tns:EntityComponentInternalNotifyOrchPortType" inputVariable="DocumentNotifyIn" outputVariable="DocumentNotifyOut"/>
|
---|
64 | <assign name="AssignDocNotifyResp">
|
---|
65 | <copy>
|
---|
66 | <from variable="DocumentNotifyOut" part="DocumentNotifyResponse"/>
|
---|
67 | <to variable="NotifySubscribersOfDocumentOut" part="NotifySubscribersOfDocumentResponse"/>
|
---|
68 | </copy>
|
---|
69 | </assign>
|
---|
70 | <empty name="AuditDocNotifyResp"/>
|
---|
71 | <reply name="ReplyDocNotify" partnerLink="EntityNotifyPL" operation="NotifySubscribersOfDocument" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfDocumentOut"/>
|
---|
72 | </sequence>
|
---|
73 | </scope>
|
---|
74 | </onMessage>
|
---|
75 | <onMessage partnerLink="EntityNotifyPL" operation="NotifySubscribersOfCdcBioPackage" xmlns:tns="urn:gov:hhs:fha:nhinc:entitynotificationconsumer" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfCdcBioPackageIn">
|
---|
76 | <scope name="ProcessCdcNotifyScope">
|
---|
77 | <variables>
|
---|
78 | <variable name="CdcNotifyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcnotifyorch" messageType="tns:CdcNotifyResponseMessage"/>
|
---|
79 | <variable name="CdcNotifyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcnotifyorch" messageType="tns:CdcNotifyRequestMessage"/>
|
---|
80 | <variable name="NotifySubscribersOfCdcBioPackageOut" messageType="tns:NotifySubscribersOfCdcBioPackageResponseMessage"/>
|
---|
81 | </variables>
|
---|
82 | <faultHandlers>
|
---|
83 | <catch faultName="sxeh:systemFault" faultVariable="systemFaultCdcNotifyVar" faultMessageType="sxeh:faultMessage">
|
---|
84 | <sequence name="SystemFaultCdcNotifySeq">
|
---|
85 | <assign name="AssignCdcNotifyFault">
|
---|
86 | <sxt:trace>
|
---|
87 | <sxt:log level="info" location="onStart">
|
---|
88 | <from>'EntityNotify.bpel - A system fault was encounterd processing a Cdc Notify message. Fault detials follow...'</from>
|
---|
89 | </sxt:log>
|
---|
90 | <sxt:log level="warning" location="onStart">
|
---|
91 | <from variable="systemFaultCdcNotifyVar"/>
|
---|
92 | </sxt:log>
|
---|
93 | </sxt:trace>
|
---|
94 | <copy>
|
---|
95 | <from>'Internal Gateway Error'</from>
|
---|
96 | <to>$NotifySubscribersOfCdcBioPackageOut.NotifySubscribersOfCdcBioPackageResponse/nccommon:message</to>
|
---|
97 | </copy>
|
---|
98 | </assign>
|
---|
99 | <reply name="ReplyCdcNotifyFault" partnerLink="EntityNotifyPL" operation="NotifySubscribersOfCdcBioPackage" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfCdcBioPackageOut"/>
|
---|
100 | </sequence>
|
---|
101 | </catch>
|
---|
102 | </faultHandlers>
|
---|
103 | <sequence name="ProcessCdcNotifySeq">
|
---|
104 | <empty name="AuditCdcNotifyReq"/>
|
---|
105 | <assign name="AssignEntityCdcNotify">
|
---|
106 | <copy>
|
---|
107 | <from variable="NotifySubscribersOfCdcBioPackageIn" part="NotifySubscribersOfCdcBioPackageRequest"/>
|
---|
108 | <to variable="CdcNotifyIn" part="CdcNotifyRequest"/>
|
---|
109 | </copy>
|
---|
110 | </assign>
|
---|
111 | <invoke name="InvokeEntityCdcNotify" partnerLink="CdcNotifyPL" operation="CdcNotify" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcnotifyorch" portType="tns:EntityComponentInternalCdcNotifyOrchPortType" inputVariable="CdcNotifyIn" outputVariable="CdcNotifyOut"/>
|
---|
112 | <assign name="AssignCdcNotifyResp">
|
---|
113 | <copy>
|
---|
114 | <from variable="CdcNotifyOut" part="CdcNotifyResponse"/>
|
---|
115 | <to variable="NotifySubscribersOfCdcBioPackageOut" part="NotifySubscribersOfCdcBioPackageResponse"/>
|
---|
116 | </copy>
|
---|
117 | </assign>
|
---|
118 | <empty name="AuditCdcNotifyResp"/>
|
---|
119 | <reply name="ReplyCdcNotify" partnerLink="EntityNotifyPL" operation="NotifySubscribersOfCdcBioPackage" portType="tns:EntityNotificationConsumerPortType" variable="NotifySubscribersOfCdcBioPackageOut"/>
|
---|
120 | </sequence>
|
---|
121 | </scope>
|
---|
122 | </onMessage>
|
---|
123 | </pick>
|
---|
124 | </sequence>
|
---|
125 | </process>
|
---|