source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Gateway/NhinBPEL/src/NhinSubscription.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: 27.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<process
3 name="NhinSubscription"
4 targetNamespace="urn:gov:hhs:fha:nhinc:gateway:nhinbpel:nhinsubscription"
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:nhinbpel:nhinsubscription"
12 xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
13 xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns0="urn:gov:hhs:fha:nhinc:common:propertyaccess" xmlns:ns1="http://docs.oasis-open.org/wsrf/bf-2" xmlns:ns2="urn:gov:hhs:fha:nhinc:common:nhinccommoninternalorch" xmlns:ns3="urn:gov:hhs:fha:nhinc:common:nhinccommonadapter" xmlns:ns4="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo" xmlns:ns5="urn:gov:hhs:fha:nhinc:common:nhinccommon" xmlns:ns6="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:ns7="urn:gov:hhs:fha:nhinc:common:hiemauditlog" xmlns:ns8="urn:gov:hhs:fha:nhinc:common:auditlog">
14 <import namespace="urn:gov:hhs:fha:nhinc:nhincsubscription" location="Interfaces/wsdl/NhincSubscription.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
15 <import namespace="http://docs.oasis-open.org/wsrf/rw-2" location="Interfaces/wsdl/rw-2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
16 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" location="Interfaces/wsdl/NhincComponentPropAccessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
17 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubscriptionmanagementorch" location="Interfaces/wsdl/NhincComponentInternalSubscriptionManagementOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
18 <import namespace="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" location="Interfaces/wsdl/AdapterSubscriptionManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
19 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
20 <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" location="Interfaces/wsdl/NhincComponentInternalAuditRepository.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
21 <partnerLinks>
22 <partnerLink name="AuditLogPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" partnerLinkType="tns:NhincComponentInternalAuditRepository" partnerRole="NhincComponentInternalAuditRepositoryPortTypeRole"/>
23 <partnerLink name="PropAccessorPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" partnerLinkType="tns:NhincComponentPropAccessor" partnerRole="NhincComponentPropAccessorPortTypeRole"/>
24 <partnerLink name="InternalSubscriptionPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubscriptionmanagementorch" partnerLinkType="tns:NhincComponentInternalNotificationProducer" partnerRole="NhincComponentInternalNotificationProducerPortTypeRole"/>
25 <partnerLink name="ConnectionManagerPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
26 <partnerLink name="AdapterSubscribePL" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" partnerLinkType="tns:AdapterNotificationProducer" partnerRole="AdapterNotificationProducerPortTypeRole"/>
27 <partnerLink name="NhincSubscriptionPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" partnerLinkType="tns:NhincHiemSubscribe" myRole="NhincHiemSubscriberRole"/>
28 </partnerLinks>
29 <variables>
30 <variable name="SubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" messageType="tns:SubscribeResponseMessage"/>
31 <variable name="SubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" messageType="tns:SubscribeRequestMessage"/>
32 </variables>
33 <sequence>
34 <receive name="ReceiveNhincSubscription" createInstance="yes" partnerLink="NhincSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" portType="tns:NotificationProducer" variable="SubscribeIn">
35 <sxt:trace>
36 <sxt:log level="info" location="onStart">
37 <from>'Received subscription message from NHIN interface'</from>
38 </sxt:log>
39 </sxt:trace>
40 </receive>
41 <scope name="ProcessSubscriptionScope">
42 <variables>
43 <variable name="LogSubscribeRespRequestOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
44 <variable name="LogSubscribeRespRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogSubscribeRespRequestMessage"/>
45 <variable name="LogNhinSubscribeRequestOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogEventResponseMessage"/>
46 <variable name="LogNhinSubscribeRequestIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" messageType="tns:LogNhinSubscribeRequestMessage"/>
47 <variable name="GetConnectionInfoEndpointByServiceNameOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
48 <variable name="GetConnectionInfoEndpointByServiceNameIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
49 <variable name="AdapterSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeResponseMessage"/>
50 <variable name="AdapterSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeRequestMessage"/>
51 <variable name="InternalSubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubscriptionmanagementorch" messageType="tns:SubscribeResponse"/>
52 <variable name="InternalSubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubscriptionmanagementorch" messageType="tns:SubscribeRequest"/>
53 <variable name="SubscribeCreationFailedFaultVar" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" messageType="tns:SubscribeCreationFailedFault"/>
54 <variable name="NotifyMessageNotSupportedFaultVar" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" messageType="tns:NotifyMessageNotSupportedFault"/>
55 <variable name="PassthroughMode" type="xsd:boolean"/>
56 <variable name="ServiceSubscription" type="xsd:boolean"/>
57 <variable name="GetPropertyOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
58 <variable name="GetPropertyIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
59 </variables>
60 <faultHandlers>
61 <catch faultName="sxeh:systemFault" faultVariable="systemFaultVar" faultMessageType="sxeh:faultMessage">
62 <sequence name="SystemFaultSeq">
63 <assign name="AssignSubscribeCreationFailedInput">
64 <sxt:trace>
65 <sxt:log level="info" location="onStart">
66 <from>'System fault encountered processing a subscription message. Fault follows...'</from>
67 </sxt:log>
68 <sxt:log level="warning" location="onStart">
69 <from variable="systemFaultVar"/>
70 </sxt:log>
71 </sxt:trace>
72 <copy>
73 <from>sxxf:current-dateTime()</from>
74 <to>$SubscribeCreationFailedFaultVar.SubscribeCreationFailedFault/ns1:Timestamp</to>
75 </copy>
76 <copy>
77 <from>$SubscribeIn.SubscribeRequest/ns2:assertion</from>
78 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/ns7:assertion</to>
79 </copy>
80 <copy>
81 <from variable="SubscribeOut" part="SubscribeResponse"/>
82 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/wsnt:SubscribeResponse</to>
83 </copy>
84 <copy>
85 <from>'Inbound'</from>
86 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:direction</to>
87 </copy>
88 <copy>
89 <from>'Nhin'</from>
90 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:interface</to>
91 </copy>
92 </assign>
93 <invoke name="InvokeLogSubscribeRespFromFault" partnerLink="AuditLogPL" operation="LogSubscribeRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubscribeRespRequestIn" outputVariable="LogSubscribeRespRequestOut"/>
94 <reply name="ReplySubscribeCreationFailed" partnerLink="NhincSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" portType="tns:NotificationProducer" faultName="tns:SubscribeCreationFailedFault" variable="SubscribeCreationFailedFaultVar">
95 <sxt:trace>
96 <sxt:log level="info" location="onStart">
97 <ns6:from>'NhinSubscription.bpel - Completed logging subscribe response returned from fault'</ns6:from>
98 </sxt:log>
99 <sxt:log level="warning" location="onStart">
100 <ns6:from variable="LogSubscribeRespRequestOut"/>
101 </sxt:log>
102 </sxt:trace>
103 </reply>
104 <exit name="ExitAfterSubscribeCreationFault"/>
105 </sequence>
106 </catch>
107 </faultHandlers>
108 <sequence name="ProcessSubscriptionSeq">
109 <assign name="AssignLogNhinSubscribeRequestInput">
110 <copy>
111 <from>$SubscribeIn.SubscribeRequest/wsnt:Subscribe</from>
112 <to>$LogNhinSubscribeRequestIn.LogNhinSubscribeRequest/ns7:message/wsnt:Subscribe</to>
113 </copy>
114 <copy>
115 <from>$SubscribeIn.SubscribeRequest/ns2:assertion</from>
116 <to>$LogNhinSubscribeRequestIn.LogNhinSubscribeRequest/ns7:message/ns2:assertion</to>
117 </copy>
118 <copy>
119 <from>'Inbound'</from>
120 <to>$LogNhinSubscribeRequestIn.LogNhinSubscribeRequest/ns8:direction</to>
121 </copy>
122 <copy>
123 <from>'Nhin'</from>
124 <to>$LogNhinSubscribeRequestIn.LogNhinSubscribeRequest/ns8:interface</to>
125 </copy>
126 </assign>
127 <invoke name="InvokeLogNhinSubscribeRequest" partnerLink="AuditLogPL" operation="LogNhinSubscribeRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogNhinSubscribeRequestIn" outputVariable="LogNhinSubscribeRequestOut"/>
128 <assign name="AssignGetServiceSubscriptionFlagInput">
129 <sxt:trace>
130 <sxt:log level="info" location="onStart">
131 <ns6:from>'NhinSubscription.bpel - Completed log of inbound subscribe message'</ns6:from>
132 </sxt:log>
133 <sxt:log level="warning" location="onStart">
134 <ns6:from variable="LogNhinSubscribeRequestOut"/>
135 </sxt:log>
136 </sxt:trace>
137 <copy>
138 <from>'gateway'</from>
139 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyFile</to>
140 </copy>
141 <copy>
142 <from>'serviceSubscription'</from>
143 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyName</to>
144 </copy>
145 </assign>
146 <invoke name="InvokeGetServiceSubscriptionFlag" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
147 <assign name="AssignGetServiceSubscriptionFlagOutput">
148 <copy>
149 <from>$GetPropertyOut.GetPropertyResponse/ns0:propertyValue = 'true'</from>
150 <to variable="ServiceSubscription"/>
151 </copy>
152 </assign>
153 <if name="IfServiceSubscription">
154 <condition>$ServiceSubscription</condition>
155 <sequence name="ServiceSubscriptionSeq">
156 <assign name="AssignGetPassthroughFlagInput">
157 <sxt:trace>
158 <sxt:log level="info" location="onStart">
159 <from>'Subscription supported - processing'</from>
160 </sxt:log>
161 </sxt:trace>
162 <copy>
163 <from>'gateway'</from>
164 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyFile</to>
165 </copy>
166 <copy>
167 <from>'subscriptionPassthrough'</from>
168 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyName</to>
169 </copy>
170 </assign>
171 <invoke name="InvokeGetPassthroughFlag" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
172 <assign name="AssignGetPassthroughFlagOutput">
173 <copy>
174 <from>$GetPropertyOut.GetPropertyResponse/ns0:propertyValue = 'true'</from>
175 <to variable="PassthroughMode"/>
176 </copy>
177 </assign>
178 <if name="IfNotPassthrough">
179 <condition>not($PassthroughMode)</condition>
180 <sequence name="NotPassthroughSeq">
181 <assign name="AssignInternalSubscribeInput">
182 <sxt:trace>
183 <sxt:log level="info" location="onStart">
184 <from>'Subscription not in passthrough mode - processing internally'</from>
185 </sxt:log>
186 </sxt:trace>
187 <copy>
188 <from variable="SubscribeIn" part="SubscribeRequest"/>
189 <to variable="InternalSubscribeIn" part="SubscribeRequest"/>
190 </copy>
191 </assign>
192 <invoke name="InvokeInternalSubscription" partnerLink="InternalSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalsubscriptionmanagementorch" portType="tns:NhincComponentInternalNotificationProducerPortType" inputVariable="InternalSubscribeIn" outputVariable="InternalSubscribeOut"/>
193 <assign name="AssignInternalSubscribeOutput">
194 <copy>
195 <from variable="InternalSubscribeOut" part="SubscribeResponse"/>
196 <to variable="SubscribeOut" part="SubscribeResponse"/>
197 </copy>
198 </assign>
199 </sequence>
200 <else>
201 <sequence name="PassthroughSeq">
202 <assign name="AssignAdapterSubscribeInput">
203 <sxt:trace>
204 <sxt:log level="info" location="onStart">
205 <from>'In subscription passthrough mode - sending to adapter'</from>
206 </sxt:log>
207 </sxt:trace>
208 <copy>
209 <from>$SubscribeIn.SubscribeRequest/wsnt:Subscribe</from>
210 <to>$AdapterSubscribeIn.SubscribeRequest/wsnt:Subscribe</to>
211 </copy>
212 <copy>
213 <from>$SubscribeIn.SubscribeRequest/ns2:assertion</from>
214 <to>$AdapterSubscribeIn.SubscribeRequest/ns3:assertion</to>
215 </copy>
216 </assign>
217 <assign name="AssignGetHomeCommunityIdInput">
218 <copy>
219 <from>'gateway'</from>
220 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyFile</to>
221 </copy>
222 <copy>
223 <from>'localHomeCommunityId'</from>
224 <to>$GetPropertyIn.GetPropertyRequest/ns0:propertyName</to>
225 </copy>
226 </assign>
227 <invoke name="InvokeGetHomeCommunityId" partnerLink="PropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetPropertyIn" outputVariable="GetPropertyOut"/>
228 <assign name="AssignGetAdapterSubscribeEndpointInput">
229 <copy>
230 <from>$GetPropertyOut.GetPropertyResponse/ns0:propertyValue</from>
231 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/ns4:homeCommunityWithServiceName/ns4:homeCommunity/ns5:homeCommunityId</to>
232 </copy>
233 <copy>
234 <from>'adapternotificationproducerpassthrough'</from>
235 <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/ns4:homeCommunityWithServiceName/ns4:serviceName</to>
236 </copy>
237 </assign>
238 <invoke name="InvokeGetAdapterSubscribeEndpoint" partnerLink="ConnectionManagerPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
239 <assign name="AssignAdapterSubscribeEndpoint">
240 <copy>
241 <from>ns6:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/ns4:serviceConnectionInfoEndpoints/ns4:serviceConnectionInfoEndpoint/ns5:EPR/ns5:EndpointReference)</from>
242 <to partnerLink="AdapterSubscribePL"/>
243 </copy>
244 </assign>
245 <empty name="TODO_LogAuditBeforeAdapterSubscription"/>
246 <invoke name="InvokeAdapterSubscribe" partnerLink="AdapterSubscribePL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" portType="tns:AdapterNotificationProducerPortType" inputVariable="AdapterSubscribeIn" outputVariable="AdapterSubscribeOut"/>
247 <assign name="AssignAdapterSubscribeOutput">
248 <copy>
249 <from variable="AdapterSubscribeOut" part="SubscribeResponse"/>
250 <to variable="SubscribeOut" part="SubscribeResponse"/>
251 </copy>
252 </assign>
253 </sequence>
254 </else>
255 </if>
256 </sequence>
257 <else>
258 <sequence name="NotSupportedSeq">
259 <assign name="AssignNotifyNotSupportedInput">
260 <sxt:trace>
261 <sxt:log level="info" location="onStart">
262 <from>'Subscription not suported - returning'</from>
263 </sxt:log>
264 </sxt:trace>
265 <copy>
266 <from>sxxf:current-dateTime()</from>
267 <to>$NotifyMessageNotSupportedFaultVar.NotifyMessageNotSupportedFault/ns1:Timestamp</to>
268 </copy>
269 <copy>
270 <from>$SubscribeIn.SubscribeRequest/ns2:assertion</from>
271 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/ns7:assertion</to>
272 </copy>
273 <copy>
274 <from variable="SubscribeOut" part="SubscribeResponse"/>
275 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/wsnt:SubscribeResponse</to>
276 </copy>
277 <copy>
278 <from>'Inbound'</from>
279 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:direction</to>
280 </copy>
281 <copy>
282 <from>'Nhin'</from>
283 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:interface</to>
284 </copy>
285 </assign>
286 <invoke name="InvokeLogSubscribeRespNotSupported" partnerLink="AuditLogPL" operation="LogSubscribeRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubscribeRespRequestIn" outputVariable="LogSubscribeRespRequestOut"/>
287 <reply name="ReplyNotifyNotSupported" partnerLink="NhincSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" portType="tns:NotificationProducer" faultName="tns:NotifyMessageNotSupportedFault" variable="NotifyMessageNotSupportedFaultVar">
288 <sxt:trace>
289 <sxt:log level="info" location="onStart">
290 <ns6:from>'NhinSubscription.bpel - Completed logging audit on subscribe response for subscribe not supported'</ns6:from>
291 </sxt:log>
292 <sxt:log level="warning" location="onStart">
293 <ns6:from variable="LogSubscribeRespRequestOut"/>
294 </sxt:log>
295 </sxt:trace>
296 </reply>
297 <exit name="ExitAfterNotSupportedFault"/>
298 </sequence>
299 </else>
300 </if>
301 <assign name="AssignLogSubscribeRespRequestInput">
302 <copy>
303 <from>$SubscribeIn.SubscribeRequest/ns2:assertion</from>
304 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/ns7:assertion</to>
305 </copy>
306 <copy>
307 <from variable="SubscribeOut" part="SubscribeResponse"/>
308 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns7:message/wsnt:SubscribeResponse</to>
309 </copy>
310 <copy>
311 <from>'Inbound'</from>
312 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:direction</to>
313 </copy>
314 <copy>
315 <from>'Nhin'</from>
316 <to>$LogSubscribeRespRequestIn.LogSubscribeRespRequest/ns8:interface</to>
317 </copy>
318 </assign>
319 <invoke name="InvokeLogSubscribeRespRequest" partnerLink="AuditLogPL" operation="LogSubscribeRespRequest" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentinternalauditrepository" portType="tns:NhincComponentInternalAuditRepositoryPortType" inputVariable="LogSubscribeRespRequestIn" outputVariable="LogSubscribeRespRequestOut"/>
320 <reply name="ReplyNhincSubscription" partnerLink="NhincSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:nhincsubscription" portType="tns:NotificationProducer" variable="SubscribeOut">
321 <sxt:trace>
322 <sxt:log level="info" location="onStart">
323 <ns6:from>'NhinSubscription.bpel - Completed logging subscribe response returned to remote gateway.'</ns6:from>
324 </sxt:log>
325 <sxt:log level="warning" location="onStart">
326 <ns6:from variable="LogSubscribeRespRequestOut"/>
327 </sxt:log>
328 </sxt:trace>
329 </reply>
330 </sequence>
331 </scope>
332 </sequence>
333</process>
Note: See TracBrowser for help on using the repository browser.