1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="NhincComponentInternalSubDiscovery201309Orch"
|
---|
4 | targetNamespace="http://enterprise.netbeans.org/bpel/NhincInternalOrchBPEL/NhincComponentInternalSubDiscovery201309Orch"
|
---|
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="http://enterprise.netbeans.org/bpel/NhincInternalOrchBPEL/NhincComponentInternalSubDiscovery201309Orch"
|
---|
12 | xmlns:hl7="urn:hl7-org:v3"
|
---|
13 | xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
|
---|
14 | xmlns:ncevent="urn:gov:hhs:fha:nhinc:common:eventcommon"
|
---|
15 | xmlns:ncpolicydte="urn:gov:hhs:fha:nhinc:common:policyenginedte"
|
---|
16 | xmlns:oasis="urn:oasis:names:tc:xacml:2.0:context:schema:os"
|
---|
17 | xmlns:nccommadapt="urn:gov:hhs:fha:nhinc:common:nhinccommonadapter"
|
---|
18 | xmlns:ns0="urn:gov:hhs:fha:nhinc:common:connectionmanagerinfo"
|
---|
19 | xmlns:propacc="urn:gov:hhs:fha:nhinc:common:propertyaccess"
|
---|
20 | xmlns:ns2="urn:gov:hhs:fha:nhinc:common:nhinccommon"
|
---|
21 | xmlns:ns3="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
|
---|
22 | <import namespace="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" location="Interfaces/wsdl/NhincComponentInternalSubDiscovery201309Orch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
23 | <import namespace="urn:gov:hhs:fha:nhinc:nhincproxysubjectdiscovery" location="Interfaces/wsdl/NhincProxySubjectDiscovery.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
24 | <import namespace="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" location="Interfaces/wsdl/NhincComponentInternalPolicyEngineFacade.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
25 | <import namespace="urn:gov:hhs:fha:nhinc:adapterreidentification" location="Interfaces/wsdl/AdapterReidentification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
26 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" location="Interfaces/wsdl/NhincComponentSubDiscTransforms.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
27 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" location="Interfaces/wsdl/NhincComponentConnectionManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
28 | <import namespace="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" location="Interfaces/wsdl/NhincComponentPropAccessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
29 | <partnerLinks>
|
---|
30 | <partnerLink name="NhincPropAccessorPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" partnerLinkType="tns:NhincComponentPropAccessor" partnerRole="NhincComponentPropAccessorPortTypeRole"/>
|
---|
31 | <partnerLink name="NhincConnectionMgrPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" partnerLinkType="tns:NhincComponentConnectionManager" partnerRole="NhincComponentConnectionManagerPortTypeRole"/>
|
---|
32 | <partnerLink name="NhincInternalPolicyEngineFacadaPL" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" partnerLinkType="tns:NhincComponentInternalPolicyEngineFacade" partnerRole="NhincComponentInternalPolicyEngineFacadePortTypeRole"/>
|
---|
33 | <partnerLink name="AdapterReidentificationPL" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterreidentification" partnerLinkType="tns:AdapterReidentification" partnerRole="AdapterReidentificationPortTypeRole"/>
|
---|
34 | <partnerLink name="NhincSubDiscTransformsPL" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" partnerLinkType="tns:NhincComponentSubDiscTransforms" partnerRole="NhincComponentSubDiscTransformsPortTypeRole"/>
|
---|
35 | <partnerLink name="NhincInternalSubDisc201309OrchPL" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" partnerLinkType="tns:NhincComponentInternalSubDiscovery201309Orch" myRole="NhincComponentInternalSubDiscovery201309OrchPortTypeRole"/>
|
---|
36 | </partnerLinks>
|
---|
37 | <variables>
|
---|
38 | <variable name="GetRealIdentOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" messageType="tns:GetRealIdentResponseMessage"/>
|
---|
39 | <variable name="GetRealIdentIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" messageType="tns:GetRealIdentRequestMessage"/>
|
---|
40 | <variable name="GetConnectionInfoEndpointByServiceNameOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameResponseMessage"/>
|
---|
41 | <variable name="GetConnectionInfoEndpointByServiceNameIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" messageType="tns:GetConnectionInfoEndpointByServiceNameRequestMessage"/>
|
---|
42 | <variable name="GetHcidPropOut" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyResponseMessage"/>
|
---|
43 | <variable name="GetHcidPropIn" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" messageType="tns:GetPropertyRequestMessage"/>
|
---|
44 | <variable name="CreateFault201310Out" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateFault201310ResponseMessage"/>
|
---|
45 | <variable name="CreateFault201310In" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" messageType="tns:CreateFault201310RequestMessage"/>
|
---|
46 | <variable name="GetAdapterReidentRealIdentifierOut" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterreidentification" messageType="tns:GetRealIdentifierResponseMessage"/>
|
---|
47 | <variable name="GetAdapterReidentRealIdentifierIn" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterreidentification" messageType="tns:GetRealIdentifierRequestMessage"/>
|
---|
48 | <variable name="CheckPolicySubjectReidentificationOut" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" messageType="tns:CheckPolicyResponseMessage"/>
|
---|
49 | <variable name="CheckPolicySubjectReidentificationIn" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" messageType="tns:CheckPolicySubjectReidentificationRequestMessage"/>
|
---|
50 | </variables>
|
---|
51 | <sequence>
|
---|
52 | <receive name="ReceiveGetRealId" createInstance="yes" partnerLink="NhincInternalSubDisc201309OrchPL" operation="GetRealIdent" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" portType="tns:NhincComponentInternalSubDiscovery201309OrchPortType" variable="GetRealIdentIn"/>
|
---|
53 | <assign name="AssignCheckPolicy201309">
|
---|
54 | <copy>
|
---|
55 | <from>'Outbound'</from>
|
---|
56 | <to>$CheckPolicySubjectReidentificationIn.CheckPolicySubjectReidentificationRequest/ncevent:direction</to>
|
---|
57 | </copy>
|
---|
58 | <copy>
|
---|
59 | <from>'Nhin'</from>
|
---|
60 | <to>$CheckPolicySubjectReidentificationIn.CheckPolicySubjectReidentificationRequest/ncevent:interface</to>
|
---|
61 | </copy>
|
---|
62 | <copy>
|
---|
63 | <from variable="GetRealIdentIn" part="GetRealIdentRequest"/>
|
---|
64 | <to>$CheckPolicySubjectReidentificationIn.CheckPolicySubjectReidentificationRequest/ncevent:message</to>
|
---|
65 | </copy>
|
---|
66 | </assign>
|
---|
67 | <invoke name="InvokeCheckPolicy201309" partnerLink="NhincInternalPolicyEngineFacadaPL" operation="CheckPolicySubjectReidentification" xmlns:tns="urn:gov:hhs:fha:nhinc:NhincComponentInternalPolicyEngineFacade" portType="tns:NhincComponentInternalPolicyEngineFacadePortType" inputVariable="CheckPolicySubjectReidentificationIn" outputVariable="CheckPolicySubjectReidentificationOut"/>
|
---|
68 | <if name="IfPermit">
|
---|
69 | <condition>'Permit' = $CheckPolicySubjectReidentificationOut.CheckPolicyResponse/nccommadapt:response/oasis:Result/oasis:Decision</condition>
|
---|
70 | <sequence name="InvokeAdapterReidentSeq">
|
---|
71 | <assign name="AssignGetHomeCommunityId">
|
---|
72 | <copy>
|
---|
73 | <from>'gateway'</from>
|
---|
74 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyFile</to>
|
---|
75 | </copy>
|
---|
76 | <copy>
|
---|
77 | <from>'localHomeCommunityId'</from>
|
---|
78 | <to>$GetHcidPropIn.GetPropertyRequest/propacc:propertyName</to>
|
---|
79 | </copy>
|
---|
80 | </assign>
|
---|
81 | <invoke name="InvokeGetHomeCommunityId" partnerLink="NhincPropAccessorPL" operation="GetProperty" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentpropaccessor" portType="tns:NhincComponentPropAccessorPortType" inputVariable="GetHcidPropIn" outputVariable="GetHcidPropOut"/>
|
---|
82 | <assign name="AssignReidentEPR">
|
---|
83 | <copy>
|
---|
84 | <from>'adapterreidentificationservice'</from>
|
---|
85 | <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/ns0:homeCommunityWithServiceName/ns0:serviceName</to>
|
---|
86 | </copy>
|
---|
87 | <copy>
|
---|
88 | <from>$GetHcidPropOut.GetPropertyResponse/propacc:propertyValue</from>
|
---|
89 | <to>$GetConnectionInfoEndpointByServiceNameIn.GetConnectionInfoEndpointByServiceNameRequest/ns0:homeCommunityWithServiceName/ns0:homeCommunity/ns2:homeCommunityId</to>
|
---|
90 | </copy>
|
---|
91 | </assign>
|
---|
92 | <invoke name="InvokeGetReidentEPR" partnerLink="NhincConnectionMgrPL" operation="GetConnectionInfoEndpointByServiceName" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentconnectionmanager" portType="tns:NhincComponentConnectionManagerPortType" inputVariable="GetConnectionInfoEndpointByServiceNameIn" outputVariable="GetConnectionInfoEndpointByServiceNameOut"/>
|
---|
93 | <assign name="Assign201309Response">
|
---|
94 | <sxt:trace>
|
---|
95 | <sxt:log level="info" location="onStart">
|
---|
96 | <ns3:from>'Invoke Adapter Reidentification'</ns3:from>
|
---|
97 | </sxt:log>
|
---|
98 | <sxt:log level="info" location="onStart">
|
---|
99 | <ns3:from variable="GetConnectionInfoEndpointByServiceNameOut" part="ConnectionInfoEndpoint"/>
|
---|
100 | </sxt:log>
|
---|
101 | <sxt:log level="info" location="onComplete">
|
---|
102 | <ns3:from variable="GetAdapterReidentRealIdentifierIn" part="GetRealIdentifierRequest"/>
|
---|
103 | </sxt:log>
|
---|
104 | </sxt:trace>
|
---|
105 | <copy>
|
---|
106 | <from>ns3:doXslTransform('urn:stylesheets:wrap2serviceref.xsl', $GetConnectionInfoEndpointByServiceNameOut.ConnectionInfoEndpoint/ns0:serviceConnectionInfoEndpoints/ns0:serviceConnectionInfoEndpoint/ns2:EPR/ns2:EndpointReference)</from>
|
---|
107 | <to partnerLink="AdapterReidentificationPL"/>
|
---|
108 | </copy>
|
---|
109 | <copy>
|
---|
110 | <from variable="GetRealIdentIn" part="GetRealIdentRequest"/>
|
---|
111 | <to variable="GetAdapterReidentRealIdentifierIn" part="GetRealIdentifierRequest"/>
|
---|
112 | </copy>
|
---|
113 | </assign>
|
---|
114 | <invoke name="InvokeAdapterReidentification" partnerLink="AdapterReidentificationPL" operation="GetRealIdentifier" xmlns:tns="urn:gov:hhs:fha:nhinc:adapterreidentification" portType="tns:AdapterReidentificationPortType" inputVariable="GetAdapterReidentRealIdentifierIn" outputVariable="GetAdapterReidentRealIdentifierOut"/>
|
---|
115 | <assign name="Assign201310Response">
|
---|
116 | <copy>
|
---|
117 | <from variable="GetAdapterReidentRealIdentifierOut" part="GetRealIdentifierResponse"/>
|
---|
118 | <to variable="GetRealIdentOut" part="GetRealIdentResponse"/>
|
---|
119 | </copy>
|
---|
120 | </assign>
|
---|
121 | </sequence>
|
---|
122 | <else>
|
---|
123 | <sequence>
|
---|
124 | <assign name="AssignCreateFault201310">
|
---|
125 | <copy>
|
---|
126 | <from>$GetRealIdentIn.GetRealIdentRequest/hl7:PRPA_IN201309UV/hl7:receiver/hl7:device/hl7:id/@root</from>
|
---|
127 | <to>$CreateFault201310In.CreateFault201310Request/hl7:senderOID</to>
|
---|
128 | </copy>
|
---|
129 | <copy>
|
---|
130 | <from>$GetRealIdentIn.GetRealIdentRequest/hl7:PRPA_IN201309UV/hl7:sender/hl7:device/hl7:id/@root</from>
|
---|
131 | <to>$CreateFault201310In.CreateFault201310Request/hl7:receiverOID</to>
|
---|
132 | </copy>
|
---|
133 | </assign>
|
---|
134 | <invoke name="InvokeCreateFault" partnerLink="NhincSubDiscTransformsPL" operation="CreateFault201310" xmlns:tns="urn:gov:hhs:fha:nhinc:nhinccomponentsubdisctransforms" portType="tns:NhincComponentSubDiscTransformsPortType" inputVariable="CreateFault201310In" outputVariable="CreateFault201310Out"/>
|
---|
135 | <assign name="Assign201310Fault">
|
---|
136 | <copy>
|
---|
137 | <from variable="CreateFault201310Out" part="CreateFault201310Response"/>
|
---|
138 | <to>$GetRealIdentOut.GetRealIdentResponse/hl7:PRPA_IN201310UV</to>
|
---|
139 | </copy>
|
---|
140 | </assign>
|
---|
141 | </sequence>
|
---|
142 | </else>
|
---|
143 | </if>
|
---|
144 | <reply name="Reply201309Response" partnerLink="NhincInternalSubDisc201309OrchPL" operation="GetRealIdent" xmlns:tns="http://j2ee.netbeans.org/wsdl/Interfaces/NhincComponentInternalSubDiscovery201309Orch" portType="tns:NhincComponentInternalSubDiscovery201309OrchPortType" variable="GetRealIdentOut"/>
|
---|
145 | </sequence>
|
---|
146 | </process>
|
---|