1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="EntityComponentInternalCdcSubscribeOrch"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:entityinternalorchbpel:entitycomponentinternalcdcsubscribeorch"
|
---|
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:entityinternalorchbpel:entitycomponentinternalcdcsubscribeorch"
|
---|
12 | xmlns:nccommonsub="urn:gov:hhs:fha:nhinc:common:subscription"
|
---|
13 | xmlns:subdte="urn:gov:hhs:fha:nhinc:common:subscriptiondte"
|
---|
14 | xmlns:nccommonentity="urn:gov:hhs:fha:nhinc:common:nhinccommonentity"
|
---|
15 | xmlns:nccommon="urn:gov:hhs:fha:nhinc:common:nhinccommon"
|
---|
16 | xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
|
---|
17 | xmlns:nccommonproxy="urn:gov:hhs:fha:nhinc:common:nhinccommonproxy">
|
---|
18 | <import namespace="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" location="Interfaces/wsdl/EntityComponentInternalCdcSubscribeOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
19 | <import namespace="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" location="Interfaces/wsdl/NhincComponentInternalSubscriptionDte.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
20 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" location="Interfaces/wsdl/NhincComponentSubscriptionReferenceRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
21 | <import namespace="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" location="Interfaces/wsdl/NhincProxySubscriptionManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
22 | <import namespace="http://docs.oasis-open.org/wsrf/rw-2" location="Interfaces/wsdl/rw-2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
23 | <partnerLinks>
|
---|
24 | <partnerLink name="SubscriptionDtePL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" partnerLinkType="tns:NhincComponentInternalSubscriptionDte" partnerRole="NhincComponentInternalSubscriptionDtePortTypeRole"/>
|
---|
25 | <partnerLink name="SubscriptionRefRepositoryPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" partnerLinkType="tns:NhincComponentSubscriptionReferenceRepository" partnerRole="NhincComponentSubscriptionReferenceRepositoryPortTypeRole"/>
|
---|
26 | <partnerLink name="NhincProxySubscriptionPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" partnerLinkType="tns:NhincProxyNotificationProducer" partnerRole="NhincProxyNotificationProducerPortTypeRole"/>
|
---|
27 | <partnerLink name="EntityCdcSubscribePL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" partnerLinkType="tns:EntityComponentInternalCdcSubscribeOrch" myRole="EntityComponentInternalCdcSubscribeOrchPortTypeRole"/>
|
---|
28 | </partnerLinks>
|
---|
29 | <variables>
|
---|
30 | <variable name="CdcSubscribeDocumentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" messageType="tns:CdcSubscribeDocumentRequestMessage"/>
|
---|
31 | </variables>
|
---|
32 | <sequence>
|
---|
33 | <receive name="ReceiveCdcSubscribe" createInstance="yes" partnerLink="EntityCdcSubscribePL" operation="CdcSubscribeDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" portType="tns:EntityComponentInternalCdcSubscribeOrchPortType" variable="CdcSubscribeDocumentIn"/>
|
---|
34 | <scope name="ProcessCdcSubscribeScope">
|
---|
35 | <variables>
|
---|
36 | <variable name="CreateSubscribeResponseOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateSubscribeResponseResponseMessage"/>
|
---|
37 | <variable name="CreateSubscribeResponseIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateSubscribeResponseRequestMessage"/>
|
---|
38 | <variable name="StoreRespSubRefOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceResponse"/>
|
---|
39 | <variable name="StoreRespSubRefIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceRequest"/>
|
---|
40 | <variable name="TransformNhinSubRespToSubRefOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformNhinSubscribeResponseToSubscriptionReferenceResponseMessage"/>
|
---|
41 | <variable name="TransformNhinSubRespToSubRefIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformNhinSubscribeResponseToSubscriptionReferenceRequestMessage"/>
|
---|
42 | <variable name="NhincSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" messageType="tns:SubscribeResponseMessage"/>
|
---|
43 | <variable name="NhincSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" messageType="tns:SubscribeRequestMessage"/>
|
---|
44 | <variable name="TransformToNhinSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformInternalSubscriptionItemToNhinSubscribeResponseMessage"/>
|
---|
45 | <variable name="TransformToNhinSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformInternalSubscriptionItemToNhinSubscribeRequestMessage"/>
|
---|
46 | <variable name="CreateChildSubscriptionItemOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateChildSubscriptionItemResponseMessage"/>
|
---|
47 | <variable name="CreateChildSubscriptionItemIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:CreateChildSubscriptionItemRequestMessage"/>
|
---|
48 | <variable name="StoreSubscriptionOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceResponse"/>
|
---|
49 | <variable name="StoreSubscriptionIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" messageType="tns:StoreSubscriptionReferenceRequest"/>
|
---|
50 | <variable name="SubscriptionItemOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItemResponseMessage"/>
|
---|
51 | <variable name="SubscriptionItemIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" messageType="tns:TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItemRequestMessage"/>
|
---|
52 | <variable name="CdcSubscribeDocumentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" messageType="tns:CdcSubscribeDocumentResponseMessage"/>
|
---|
53 | </variables>
|
---|
54 | <sequence name="ProcessCdcSubscribeSeq">
|
---|
55 | <assign name="AssignTransformToSubscriptionItem">
|
---|
56 | <copy>
|
---|
57 | <from variable="CdcSubscribeDocumentIn" part="CdcSubscribeDocumentRequest"/>
|
---|
58 | <to>$SubscriptionItemIn.TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItem/nccommonentity:SubscribeCdcBioPackageRequest</to>
|
---|
59 | </copy>
|
---|
60 | </assign>
|
---|
61 | <invoke name="InvokeTransformToSubscriptionItem" partnerLink="SubscriptionDtePL" operation="TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItem" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="SubscriptionItemIn" outputVariable="SubscriptionItemOut"/>
|
---|
62 | <assign name="AssignStoreSubscription">
|
---|
63 | <copy>
|
---|
64 | <from>$SubscriptionItemOut.TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
65 | <to variable="StoreSubscriptionIn" part="SubscriptionItem"/>
|
---|
66 | </copy>
|
---|
67 | </assign>
|
---|
68 | <invoke name="InvokeStoreSubscription" partnerLink="SubscriptionRefRepositoryPL" operation="StoreSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" portType="tns:NhincComponentSubscriptionReferenceRepositoryPortType" inputVariable="StoreSubscriptionIn" outputVariable="StoreSubscriptionOut"/>
|
---|
69 | <forEach name="ForEachTarget" parallel="no" counterName="TargetCtr">
|
---|
70 | <startCounterValue>1</startCounterValue>
|
---|
71 | <finalCounterValue>count($CdcSubscribeDocumentIn.CdcSubscribeDocumentRequest/nccommonentity:nhinTargetCommunities/nccommon:nhinTargetCommunity)</finalCounterValue>
|
---|
72 | <scope name="ForEachTargetScope">
|
---|
73 | <sequence name="ForEachTargetSeq">
|
---|
74 | <assign name="AssignCreateChildSubscriptionItem">
|
---|
75 | <copy>
|
---|
76 | <from variable="StoreSubscriptionOut" part="SubscriptionReference"/>
|
---|
77 | <to>$SubscriptionItemOut.TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItem/nccommonsub:SubscriptionItem/nccommonsub:SubscriptionReference</to>
|
---|
78 | </copy>
|
---|
79 | <copy>
|
---|
80 | <from>$SubscriptionItemOut.TransformEntitySubscribeCdcBioPackageToInternalSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
81 | <to>$CreateChildSubscriptionItemIn.CreateChildSubscriptionItem/subdte:ParentSubscriptionItem</to>
|
---|
82 | </copy>
|
---|
83 | <copy>
|
---|
84 | <from>$CdcSubscribeDocumentIn.CdcSubscribeDocumentRequest/nccommonentity:nhinTargetCommunities/nccommon:nhinTargetCommunity[$TargetCtr]/nccommon:homeCommunity/nccommon:homeCommunityId</from>
|
---|
85 | <to>$CreateChildSubscriptionItemIn.CreateChildSubscriptionItem/subdte:TargetCommunityId</to>
|
---|
86 | </copy>
|
---|
87 | </assign>
|
---|
88 | <invoke name="InvokeCreateChildSubscriptionItem" partnerLink="SubscriptionDtePL" operation="CreateChildSubscriptionItem" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateChildSubscriptionItemIn" outputVariable="CreateChildSubscriptionItemOut"/>
|
---|
89 | <assign name="AssignCreateNhinSubscribe">
|
---|
90 | <copy>
|
---|
91 | <from>$CreateChildSubscriptionItemOut.CreateChildSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
92 | <to>$TransformToNhinSubscribeIn.TransformInternalSubscriptionItemToNhinSubscribe/nccommonsub:SubscriptionItem</to>
|
---|
93 | </copy>
|
---|
94 | </assign>
|
---|
95 | <invoke name="InvokeCreateNhinSubscribe" partnerLink="SubscriptionDtePL" operation="TransformInternalSubscriptionItemToNhinSubscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="TransformToNhinSubscribeIn" outputVariable="TransformToNhinSubscribeOut"/>
|
---|
96 | <assign name="AssignNhincProxy">
|
---|
97 | <copy>
|
---|
98 | <from>$TransformToNhinSubscribeOut.TransformInternalSubscriptionItemToNhinSubscribe/wsnt:Subscribe</from>
|
---|
99 | <to>$NhincSubscribeIn.SubscribeRequest/wsnt:Subscribe</to>
|
---|
100 | </copy>
|
---|
101 | <copy>
|
---|
102 | <from>$CdcSubscribeDocumentIn.CdcSubscribeDocumentRequest/nccommonentity:assertion</from>
|
---|
103 | <to>$NhincSubscribeIn.SubscribeRequest/nccommonproxy:assertion</to>
|
---|
104 | </copy>
|
---|
105 | <copy>
|
---|
106 | <from>$CdcSubscribeDocumentIn.CdcSubscribeDocumentRequest/nccommonentity:nhinTargetCommunities/nccommon:nhinTargetCommunity[$TargetCtr]/nccommon:homeCommunity</from>
|
---|
107 | <to>$NhincSubscribeIn.SubscribeRequest/nccommonproxy:nhinTargetSystem/nccommon:homeCommunity</to>
|
---|
108 | </copy>
|
---|
109 | </assign>
|
---|
110 | <invoke name="InvokeNhincProxy" partnerLink="NhincProxySubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincproxysubscriptionmanagement" portType="tns:NhincProxyNotificationProducerPortType" inputVariable="NhincSubscribeIn" outputVariable="NhincSubscribeOut"/>
|
---|
111 | <assign name="AssignTransformResponseToSubRef">
|
---|
112 | <copy>
|
---|
113 | <from variable="NhincSubscribeOut" part="SubscribeResponse"/>
|
---|
114 | <to>$TransformNhinSubRespToSubRefIn.TransformNhinSubscribeResponseToSubscriptionReference/wsnt:SubscribeResponse</to>
|
---|
115 | </copy>
|
---|
116 | </assign>
|
---|
117 | <invoke name="InvokeTransformResponseToSubRef" partnerLink="SubscriptionDtePL" operation="TransformNhinSubscribeResponseToSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="TransformNhinSubRespToSubRefIn" outputVariable="TransformNhinSubRespToSubRefOut"/>
|
---|
118 | <assign name="AssignStoreRespSubRef">
|
---|
119 | <copy>
|
---|
120 | <from>$TransformNhinSubRespToSubRefOut.TransformNhinSubscribeResponseToSubscriptionReference/nccommonsub:SubscriptionReference</from>
|
---|
121 | <to>$CreateChildSubscriptionItemOut.CreateChildSubscriptionItem/nccommonsub:SubscriptionItem/nccommonsub:SubscriptionReference</to>
|
---|
122 | </copy>
|
---|
123 | <copy>
|
---|
124 | <from>$CreateChildSubscriptionItemOut.CreateChildSubscriptionItem/nccommonsub:SubscriptionItem</from>
|
---|
125 | <to variable="StoreRespSubRefIn" part="SubscriptionItem"/>
|
---|
126 | </copy>
|
---|
127 | </assign>
|
---|
128 | <invoke name="InvokeStoreRespSubRef" partnerLink="SubscriptionRefRepositoryPL" operation="StoreSubscriptionReference" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubscriptionreferencerepository" portType="tns:NhincComponentSubscriptionReferenceRepositoryPortType" inputVariable="StoreRespSubRefIn" outputVariable="StoreRespSubRefOut"/>
|
---|
129 | </sequence>
|
---|
130 | </scope>
|
---|
131 | </forEach>
|
---|
132 | <assign name="AssignCreateSubResp">
|
---|
133 | <copy>
|
---|
134 | <from variable="StoreSubscriptionOut" part="SubscriptionReference"/>
|
---|
135 | <to>$CreateSubscribeResponseIn.CreateSubscribeResponse/nccommonsub:SubscriptionReference</to>
|
---|
136 | </copy>
|
---|
137 | </assign>
|
---|
138 | <invoke name="InvokeCreateSubResp" partnerLink="SubscriptionDtePL" operation="CreateSubscribeResponse" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincinternalcomponentpolicyenginetransform" portType="tns:NhincComponentInternalSubscriptionDtePortType" inputVariable="CreateSubscribeResponseIn" outputVariable="CreateSubscribeResponseOut"/>
|
---|
139 | <assign name="AssignResponse">
|
---|
140 | <copy>
|
---|
141 | <from>$CreateSubscribeResponseOut.CreateSubscribeResponse/wsnt:SubscribeResponse</from>
|
---|
142 | <to>$CdcSubscribeDocumentOut.CdcSubscribeDocumentResponse/wsnt:SubscribeResponse</to>
|
---|
143 | </copy>
|
---|
144 | </assign>
|
---|
145 | <reply name="ReplyCdcSubscribe" partnerLink="EntityCdcSubscribePL" operation="CdcSubscribeDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalcdcsubscribeorch" portType="tns:EntityComponentInternalCdcSubscribeOrchPortType" variable="CdcSubscribeDocumentOut"/>
|
---|
146 | </sequence>
|
---|
147 | </scope>
|
---|
148 | </sequence>
|
---|
149 | </process>
|
---|