<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    <env:Header xmlns:addressing="http://www.w3.org/2005/08/addressing">
        <addressing:Action env:mustUnderstand="1">http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate</addressing:Action>
		<addressing:To env:mustUnderstand="1">http://BeS:8081/ReplaceWithActualPAPUrl</addressing:To>
        <addressing:MessageID>uuid:9FE2ECE7-ED50-42DE-AF39-44B130E917FA</addressing:MessageID>
        <addressing:ReplyTo>
            <addressing:Address>http://www.w3.org/2005/08/addressing/anonymous</addressing:Address>
        </addressing:ReplyTo>
        <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <!-- saml2:Mandate I Assertion or User I Assertion -->
        </Security>
    </env:Header>
    <env:Body>
        <wst:RequestSecurityToken xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
            <wst:TokenType>urn:elga:pap:retrieve:signed:doc</wst:TokenType>
            <wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Status</wst:RequestType>
            <wst:ValidateTarget>
                <ts:ConsentRetrieve xmlns:ts="urn:tiani-spirit:ts">
                    <ts:PatientID>GH:bPKOKc82RYcxi5RptOZ0LuoeaYYw/c=^^^&amp;1.2.40.0.10.2.1.1.149&amp;ISO </ts:PatientID>
                    <ts:SignedDocument id="58ac8fda-e59d-4fa4-9ab2-aaf11f754a07"/>     
                </ts:ConsentRetrieve>
            </wst:ValidateTarget>
        </wst:RequestSecurityToken>
    </env:Body>
</env:Envelope>
