1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="AdapterSubscription"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:adapters:general:adapterbpel:adaptersubscription"
|
---|
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:adaptersubscription" xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:ns0="http://docs.oasis-open.org/wsn/b-2" xmlns:ns1="http://www.w3.org/2005/08/addressing">
|
---|
12 | <import namespace="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" location="Interfaces/wsdl/AdapterSubscriptionManagement.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
13 | <import namespace="http://docs.oasis-open.org/wsrf/rw-2" location="Interfaces/wsdl/rw-2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
14 | <partnerLinks>
|
---|
15 | <partnerLink name="AdapterSubscriptionPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" partnerLinkType="tns:AdapterNotificationProducer" myRole="AdapterNotificationProducerPortTypeRole"/>
|
---|
16 | </partnerLinks>
|
---|
17 | <variables>
|
---|
18 | <variable name="SubscribeCdcBioPackageOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeCdcBioPackageResponseMessage"/>
|
---|
19 | <variable name="SubscribeCdcBioPackageIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeCdcBioPackageRequestMessage"/>
|
---|
20 | <variable name="SubscribeDocumentOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeDocumentResponseMessage"/>
|
---|
21 | <variable name="SubscribeDocumentIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeDocumentRequestMessage"/>
|
---|
22 | <variable name="SubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeResponseMessage"/>
|
---|
23 | <variable name="SubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" messageType="tns:SubscribeRequestMessage"/>
|
---|
24 | </variables>
|
---|
25 | <sequence>
|
---|
26 | <pick name="SubscriptionPick" createInstance="yes">
|
---|
27 | <onMessage partnerLink="AdapterSubscriptionPL" operation="Subscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeIn">
|
---|
28 | <sequence name="Sequence1">
|
---|
29 | <assign name="AssignSubscribeResponse">
|
---|
30 | <copy>
|
---|
31 | <from>sxxf:current-dateTime()</from>
|
---|
32 | <to>$SubscribeOut.SubscribeResponse/ns0:CurrentTime</to>
|
---|
33 | </copy>
|
---|
34 | <copy>
|
---|
35 | <from>'AdapterSubscriptionAddress'</from>
|
---|
36 | <to>$SubscribeOut.SubscribeResponse/ns0:SubscriptionReference/ns1:Address</to>
|
---|
37 | </copy>
|
---|
38 | </assign>
|
---|
39 | <reply name="ReplySubscribe" partnerLink="AdapterSubscriptionPL" operation="Subscribe" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeOut"/>
|
---|
40 | </sequence>
|
---|
41 | </onMessage>
|
---|
42 | <onMessage partnerLink="AdapterSubscriptionPL" operation="SubscribeDocument" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeDocumentIn">
|
---|
43 | <sequence name="Sequence2">
|
---|
44 | <assign name="AssignSubscribeDocumentResponse">
|
---|
45 | <copy>
|
---|
46 | <from>sxxf:current-dateTime()</from>
|
---|
47 | <to>$SubscribeDocumentOut.SubscribeDocumentResponse/ns0:CurrentTime</to>
|
---|
48 | </copy>
|
---|
49 | <copy>
|
---|
50 | <from>'AdapterDocumentSubscriptionAddress'</from>
|
---|
51 | <to>$SubscribeDocumentOut.SubscribeDocumentResponse/ns0:SubscriptionReference/ns1:Address</to>
|
---|
52 | </copy>
|
---|
53 | </assign>
|
---|
54 | <reply name="ReplySubscribeDocument" partnerLink="AdapterSubscriptionPL" operation="SubscribeDocument" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeDocumentOut"/>
|
---|
55 | </sequence>
|
---|
56 | </onMessage>
|
---|
57 | <onMessage partnerLink="AdapterSubscriptionPL" operation="SubscribeCdcBioPackage" xmlns:tns="urn:gov:hhs:fha:nhinc:adaptersubscriptionmanagement" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeCdcBioPackageIn">
|
---|
58 | <sequence name="Sequence3">
|
---|
59 | <assign name="AssignSubscribeCdcBioPackage">
|
---|
60 | <copy>
|
---|
61 | <from>sxxf:current-dateTime()</from>
|
---|
62 | <to>$SubscribeCdcBioPackageOut.SubscribeCdcBioPackageResponse/ns0:CurrentTime</to>
|
---|
63 | </copy>
|
---|
64 | <copy>
|
---|
65 | <from>'AdapterCdcBioPackageSubscriptionAddress'</from>
|
---|
66 | <to>$SubscribeCdcBioPackageOut.SubscribeCdcBioPackageResponse/ns0:SubscriptionReference/ns1:Address</to>
|
---|
67 | </copy>
|
---|
68 | </assign>
|
---|
69 | <reply name="ReplySubscribeCdcBioPackage" partnerLink="AdapterSubscriptionPL" operation="SubscribeCdcBioPackage" portType="tns:AdapterNotificationProducerPortType" variable="SubscribeCdcBioPackageOut"/>
|
---|
70 | </sequence>
|
---|
71 | </onMessage>
|
---|
72 | </pick>
|
---|
73 | </sequence>
|
---|
74 | </process>
|
---|