A5.1 Messaggio di richiesta
Di seguito si mostra un esempio di messaggio di richiesta di cancellazione. Il messaggio di esempio è quello inoltrato dall’INI alla RDA, in quanto in tale messaggio è presente l’asserzione di identificazione, aggiunta dall’INI, dato che al paziente sono associati più codici fiscali.
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
<S:Header>
<To xmlns="http://www.w3.org/2005/08/addressing">http://localhost:8084/XDSDocumentRegistryDelete/DeleteDocumentSet</To>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2010:XDSDeletetWS:DocumentRegistry_DeleteDocumentSetRequest</Action>
<ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
</ReplyTo>
<FaultTo xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
</FaultTo>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:ce9069b5-d5ef-4a19-8bcc-0c817ad53158</MessageID>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_66fd69cdbb15f8933ff6d2e93730f66b" IssueInstant="2016-02-12T15:25:14.274Z" Version="2.0" xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:assertion saml-schema-assertion-2.0.xsd">
<saml2:Issuer>ANA</saml2:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_66fd69cdbb15f8933ff6d2e93730f66b">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>sjhKwiodw8OgRYOv5HCcr9bF66A=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>…………………………</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>………………</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<saml2:Subject>
<saml2:NameID>RSSMRA75C03F839K</saml2:NameID>
</saml2:Subject>
<saml2:Conditions NotBefore="2016-02-12T15:23:13.661Z" NotOnOrAfter="2016-08-18T03:23:13.661Z"/>
<saml2:AttributeStatement>
<saml2:Attribute Name="CF_List">
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-istance" xsi:type="ident:CFtype">
<ident:CF xmlns:ident="http://www.fascicolosanitario.gov.it/identificazione" CurrentStatus="true">RSSMRA75C03F839K</ident:CF>
</saml2:AttributeValue>
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-istance" xsi:type="ident:CFtype">
<ident:CF xmlns:ident="http://www.fascicolosanitario.gov.it/identificazione" CurrentStatus="false" Validity="2011-09-10T07:25:00.000Z">RSSMRA75C03F839J</ident:CF>
</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
</saml2:Assertion>
<saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="_9fb9e74836c0aaef63affbc24049db6d" IssueInstant="2016-02-12T15:25:14.320Z" Version="2.0" xsi:schemaLocation="urn:oasis:names:tc:SAML:2.0:assertion saml-schema-assertion-2.0.xsd">
<saml2:Issuer>120</saml2:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ds:Reference URI="#_9fb9e74836c0aaef63affbc24049db6d">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xs"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>59roM5lQcgyeS6fXurIlcK7mcwY=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>………………</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>……………</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<saml2:Subject>
<saml2:NameID>VRDMRC67T20I257E^^^&2.16.840.1.113883.2.9.4.3.2&ISO</saml2:NameID>
</saml2:Subject>
<saml2:Conditions NotBefore="2016-02-12T15:25:14.318Z" NotOnOrAfter="2016-08-18T03:25:14.318Z"/>
<saml2:AuthnStatement AuthnInstant="2016-02-12T15:25:14.319Z">
<saml2:AuthnContext>
<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509</saml2:AuthnContextClassRef>
</saml2:AuthnContext>
</saml2:AuthnStatement>
<saml2:AttributeStatement>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:subject:role" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">APR</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:environment:locality" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">120037</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">SYSADMIN</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:resource:hl7:type" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">('60591-5^^2.16.840.1.113883.6.1')</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">120</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:1.0:subject:subject-id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">VRDMRC67T20I257E^^^&2.16.840.1.113883.2.9.4.3.2&ISO</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">regione Lazio</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:1.0:resource:resource-id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">RSSMRA75C03F839K^^^&2.16.840.1.113883.2.9.4.3.2&ISO</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:1.0:action:action-id" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string">DELETE</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
</saml2:Assertion>
</wsse:Security>
</S:Header>
<S:Body>
<ns5:RemoveObjectsRequest xmlns="urn:ihe:iti:xds-b:2007" xmlns:ns2="http://www.w3.org/2004/08/xop/include" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
<ns3:ObjectRefList>
<ns3:ObjectRef id="urn:uuid:08a15a6f-5b4a-42de-8f95-46453f83zfta"/>
</ns3:ObjectRefList>
</ns5:RemoveObjectsRequest>
</S:Body>
</S:Envelope>
A5.2 Messaggio di risposta con successo
Di seguito si mostra un esempio di messaggio di risposta relativo ad una richiesta di cancellazione metadati.
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<S:Header>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2010:XDSDeletetWS:DocumentRegistry_DeleteDocumentSetResponse</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:155b182a-3f7d-4985-8e3d-b800ec761eb6</MessageID>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:ce9069b5-d5ef-4a19-8bcc-0c817ad53158</RelatesTo>
</S:Header>
<S:Body>
<rs:RegistryResponse xmlns:ihe2007="urn:ihe:iti:xds-b:2007" xmlns:ihe2010="urn:ihe:iti:xds-b:2010" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:xop="http://www.w3.org/2004/08/xop/include" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/>
</S:Body>
</S:Envelope>
A5.3 Messaggio di risposta con fallimento
Di seguito si mostra un esempio di messaggio di errore relativo ad una richiesta di cancellazione metadati (riferimento non riconosciuto).
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<S:Header>
<To xmlns="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>
<Action xmlns="http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2010:XDSDeletetWS:DocumentRegistry_DeleteDocumentSetResponse</Action>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">uuid:398e9ecf-7c70-4f03-bffc-d65d95be4af0</MessageID>
<RelatesTo xmlns="http://www.w3.org/2005/08/addressing">uuid:c801da88-2593-435f-8afb-09780ba04d25</RelatesTo>
</S:Header>
<S:Body>
<rs:RegistryResponse xmlns:ihe2007="urn:ihe:iti:xds-b:2007" xmlns:ihe2010="urn:ihe:iti:xds-b:2010" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:xop="http://www.w3.org/2004/08/xop/include" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure">
<rs:RegistryErrorList>
<rs:RegistryError codeContext="Unknown ObjectRef id urn:uuid:08a15a6f-5b4a-42de-8f95-46453f83zftg" errorCode="UnresolvedReferenceException" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/>
</rs:RegistryErrorList>
</rs:RegistryResponse>
</S:Body>
</S:Envelope>