Ok, ma considera che puoi usarlo solo come riferimento in quanto il tuo certificato è diverso da quello che uso io, quindi la firma sarà diversa, ed essendo collegata al timestamp, che deve essere sempre aggiornato, rende il tutto abbastanza complicato ....
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Header>
<Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">urn:sist:pddsasl:bindings:1.0:CVPPortType#getPrescrizioneIdentificata</Action>
<VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink">uIDPoy/cM3dV+F1OlH+sMj0PRxEAAAAAp7jEPE5SXky1NYFILVSdJhrqDoY0C3NIruUdKmGX270ACQAA</VsDebuggerCausalityData>
- <wsse:Security s:mustUnderstand="1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="cert">MIIEIzCCAwugAwIBAgIJANdGzK8Ms8SIMA0GCSqGSIb3DQEBBQUAMIGnMQswCQYDVQQGEwJJVDEPMA0GA1UECAwGSVRBTElBMREwDwYDVQQHDAhNT05PUE9MSTEYMBYGA1UECgwPREVDIFNJU1RFTUkgU1JMMREwDwYDVQQLDAhTVklMVVBQTzEiMCAGA1UEAwwZMDM2NTEyMTA3MjAuZGVjc2lzdGVtaS5pdDEjMCEGCSqGSIb3DQEJARYUcG9zdGVsQGRlY3Npc3RlbWkuaXQwHhcNMTYwMzEwMDgzNDUyWhcNMjYwMzA4MDgzNDUyWjCBpzELMAkGA1UEBhMCSVQxDzANBgNVBAgMBklUQUxJQTERMA8GA1UEBwwITU9OT1BPTEk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Id="timestamp">
<wsu:Created>2016-04-08T09:23:23Z</wsu:Created>
<wsu:Expires>2016-04-08T09:28:23Z</wsu:Expires>
</wsu:Timestamp>
- <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
- <SignedInfo>
- <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces PrefixList="s" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" />
</CanonicalizationMethod>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
- <Reference URI="#timestamp">
- <Transforms>
- <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
<InclusiveNamespaces PrefixList="wsse s" xmlns="http://www.w3.org/2001/10/xml-exc-c14n#" />
</Transform>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>oZA9vCgJUtFTOmoaKjSPlNIA+v0=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>A/1v7/fQSpPHYiCblaVgXfZkpsz47lJZ+okIGyDeciA8BpS3TYp2pJA8mPLoYeUMrjo6n9b/ldGekV1pnd2Oc6YpWLji5JhBvCeo5UJnXwxx9/APn3eeoeRpivQY8hybOfmtVxVXmTZP6ooiG4CVVZ4NIo8Ezc8mWZYhkzf7Bz46QyKF+VGwyqSOhZbvyNqLwpR3oeoo/CfvYvO+kJKc+Sdvqhq9KC/HcVwvE9ylGef3EYalpqNARJOqcKVVBHCEDukNJfc5us62OGEHpEBKf/Tx6tPt/UdlezNTJxW/vEFLNPkG+ui59srcCKuxrEwpxMborAdXcQOHG1CLi7bRIA==</SignatureValue>
- <KeyInfo>
- <wsse:SecurityTokenReference>
<wsse:Reference URI="#cert" />
</wsse:SecurityTokenReference>
</KeyInfo>
</Signature>
</wsse:Security>
</s:Header>
- <s:Body>
- <getPrescrizioneIdentificata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="www.sist.puglia.it/Schemas/PDD_SIST/SCATEL/">
- <datiOperatore>
<codStruttura>xxxxxx</codStruttura>
<codiceFiscale>xxxxxxxxxxx</codiceFiscale>
<ruoloIstituzionale>xxxxxxxxxxxxxx</ruoloIstituzionale>
</datiOperatore>
- <datiApplicativo>
<applDigest>xStZ4HJHfg5j+uxTMIokPIspEwA=</applDigest>
<created>2016-04-08T09:23:22+01</created>
<nome>xxxxxxx</nome>
<nonce>012345678901234567890</nonce>
<produttore>xxxxxxxxxxxxxxxxxxx</produttore>
<versione>xxx</versione>
</datiApplicativo>
<codiceFiscale>xxxxxxxxxxxxxxxx</codiceFiscale>
<identificativoRicetta>160B94000011057</identificativoRicetta>
</getPrescrizioneIdentificata>
</s:Body>
</s:Envelope>