1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <process
|
---|
3 | name="EntityUnsubscribe"
|
---|
4 | targetNamespace="urn:gov:hhs:fha:nhinc:gateway:entitybpel:entityunsubscribe"
|
---|
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:entityunsubscribe" xmlns:ns0="urn:gov:hhs:fha:nhinc:common:nhinccommonentity" xmlns:ns1="urn:gov:hhs:fha:nhinc:common:subscription" xmlns:ns2="urn:gov:hhs:fha:nhinc:common:nhinccommoninternalorch">
|
---|
12 | <import namespace="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" location="Interfaces/wsdl/EntitySubscriptionManagement.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 | <import namespace="urn:gov:hhs:fha:nhinc:entitycomponentinternalunsubscribeorch" location="Interfaces/wsdl/EntityComponentInternalUnsubscribeOrch.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
|
---|
15 | <partnerLinks>
|
---|
16 | <partnerLink name="InternalUnsubscribePL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalunsubscribeorch" partnerLinkType="tns:EntityComponentInternalUnsubscribeOrch" partnerRole="EntityComponentInternalUnsubscribeOrchPortTypeRole"/>
|
---|
17 | <partnerLink name="EntityUnsubscribePL" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" partnerLinkType="tns:EntitySubscriptionManager" myRole="EntitySubscriptionManagerPortTypeRole"/>
|
---|
18 | </partnerLinks>
|
---|
19 | <variables>
|
---|
20 | <variable name="UnsubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" messageType="tns:UnsubscribeResponseMessage">
|
---|
21 | <sxed:editor>
|
---|
22 | <sxed:pseudoComp parentPath="$UnsubscribeOut.UnsubscribeResponse" type="xsd:string" qName="xsd:string" source="to"/>
|
---|
23 | </sxed:editor>
|
---|
24 | </variable>
|
---|
25 | <variable name="UnsubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" messageType="tns:UnsubscribeRequestMessage"/>
|
---|
26 | </variables>
|
---|
27 | <sequence>
|
---|
28 | <receive name="ReceiveUnsubscribe" createInstance="yes" partnerLink="EntityUnsubscribePL" operation="Unsubscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" portType="tns:EntitySubscriptionManagerPortType" variable="UnsubscribeIn"/>
|
---|
29 | <scope name="UnsubscribeScope">
|
---|
30 | <variables>
|
---|
31 | <variable name="InternalUnsubscribeOut" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalunsubscribeorch" messageType="tns:UnsubscribeResponse"/>
|
---|
32 | <variable name="InternalUnsubscribeIn" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalunsubscribeorch" messageType="tns:UnsubscribeRequest"/>
|
---|
33 | </variables>
|
---|
34 | <faultHandlers>
|
---|
35 | <catch faultName="sxeh:systemFault" faultVariable="systemFault" faultMessageType="sxeh:faultMessage">
|
---|
36 | <sequence name="SystemFaultSeq">
|
---|
37 | <assign name="AssignFaultResponse">
|
---|
38 | <sxt:trace>
|
---|
39 | <sxt:log level="info" location="onStart">
|
---|
40 | <from>'EntityUnsubscribe.bpel - A system fault was encountered processing an unsubscribe message. Fault details follow...'</from>
|
---|
41 | </sxt:log>
|
---|
42 | <sxt:log level="warning" location="onStart">
|
---|
43 | <from variable="systemFault"/>
|
---|
44 | </sxt:log>
|
---|
45 | </sxt:trace>
|
---|
46 | <copy>
|
---|
47 | <from>'An error occured processing the unsubscribe message.'</from>
|
---|
48 | <to>$UnsubscribeOut.UnsubscribeResponse/xsd:string
|
---|
49 | <sxed:editor>
|
---|
50 | <sxed:pseudoComp parentPath="$UnsubscribeOut.UnsubscribeResponse" type="xsd:string" qName="xsd:string" source="to"/>
|
---|
51 | </sxed:editor>
|
---|
52 | </to>
|
---|
53 | </copy>
|
---|
54 | </assign>
|
---|
55 | <empty name="TODO_AuditLogFaultResponse"/>
|
---|
56 | </sequence>
|
---|
57 | </catch>
|
---|
58 | </faultHandlers>
|
---|
59 | <sequence name="UnsubscribeSeq">
|
---|
60 | <empty name="TODO_AuditLogRequest"/>
|
---|
61 | <assign name="AssignInternalUnsubscribeInput">
|
---|
62 | <copy>
|
---|
63 | <from>$UnsubscribeIn.UnsubscribeRequest/ns0:unsubscribe</from>
|
---|
64 | <to>$InternalUnsubscribeIn.UnsubscribeRequest/ns1:Unsubscribe</to>
|
---|
65 | </copy>
|
---|
66 | <copy>
|
---|
67 | <from>$UnsubscribeIn.UnsubscribeRequest/ns0:assertion</from>
|
---|
68 | <to>$InternalUnsubscribeIn.UnsubscribeRequest/ns2:assertion</to>
|
---|
69 | </copy>
|
---|
70 | </assign>
|
---|
71 | <invoke name="InvokeInternalUnsubscribe" partnerLink="InternalUnsubscribePL" operation="Unsubscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:entitycomponentinternalunsubscribeorch" portType="tns:EntityComponentInternalUnsubscribeOrchPortType" inputVariable="InternalUnsubscribeIn" outputVariable="InternalUnsubscribeOut"/>
|
---|
72 | <assign name="AssignInternalUnsubscribeOutpt">
|
---|
73 | <copy>
|
---|
74 | <from variable="InternalUnsubscribeOut" part="UnsubscribeResponse"/>
|
---|
75 | <to variable="UnsubscribeOut" part="UnsubscribeResponse"/>
|
---|
76 | </copy>
|
---|
77 | </assign>
|
---|
78 | <empty name="TODO_AuditLogResponse"/>
|
---|
79 | </sequence>
|
---|
80 | </scope>
|
---|
81 | <reply name="ReplySubscribe" partnerLink="EntityUnsubscribePL" operation="Unsubscribe" xmlns:tns="urn:gov:hhs:fha:nhinc:entitysubscriptionmanagement" portType="tns:EntitySubscriptionManagerPortType" variable="UnsubscribeOut"/>
|
---|
82 | </sequence>
|
---|
83 | </process>
|
---|