Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash Program Test ITI-57 da SOGEI verso Regione Lombardia - Errore #1417

Open
EugenioGuagliardi opened this issue Dec 18, 2024 · 35 comments
Open
Labels
POST CRASH PROGRAM Reg Lombardia VERIFY The fixed issue needs to be verified and closed by the user

Comments

@EugenioGuagliardi
Copy link

A seguito delle analisi sui test di update metadati specifica ITI-57effettuati in questi da SOGEI verso la Regione Lombardia abbiamo rilevato sul nostro BE l'errore seguente:

Response-Code: 500
Encoding: UTF-8
Content-Type: application/soap+xml
Headers:
Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">

<soap:Header>
<Action xmlns="[http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-b:Fault:SoapFault</Action>](http://www.w3.org/2005/08/addressing%22%3Eurn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-b:Fault:SoapFault%3C/Action%3E)
<MessageID xmlns="[http://www.w3.org/2005/08/addressing">urn:uuid:755cf443-6e95-4788-8548-bb57a20c851f</MessageID>](http://www.w3.org/2005/08/addressing%22%3Eurn:uuid:755cf443-6e95-4788-8548-bb57a20c851f%3C/MessageID%3E)
<To xmlns="[http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To>](http://www.w3.org/2005/08/addressing%22%3Ehttp://www.w3.org/2005/08/addressing/anonymous%3C/To%3E)
<RelatesTo xmlns="[http://www.w3.org/2005/08/addressing">af02e150-bd71-4944-a77d-51e7c5e57399</RelatesTo>](http://www.w3.org/2005/08/addressing%22%3Eaf02e150-bd71-4944-a77d-51e7c5e57399%3C/RelatesTo%3E)
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Sender</soap:Value>
<soap:Subcode>
<soap:Value xmlns:ns1="[http://www.w3.org/2005/08/addressing">ns1:ActionNotSupported</soap:Value>](http://www.w3.org/2005/08/addressing%22%3Ens1:ActionNotSupported%3C/soap:Value%3E)
</soap:Subcode>
</soap:Code>
<soap:Reason>
<soap:Text xml:lang="en">Action urn:ihe:iti:2010:UpdateDocumentSet not supported</soap:Text>
</soap:Reason>
</soap:Fault>
</soap:Body>
</soap:Envelope>  

Invece se prendiamo l'input dai log del nostro BE e lo testiamo sia direttamente sulla macchina che attraverso il RP funziona correttamente.
Di seguito l'input:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
                  xmlns:S="http://www.w3.org/2003/05/soap-envelope"
                  xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
		<wsa:Action>urn:ihe:iti:2010:UpdateDocumentSet</wsa:Action>
		<wsa:MessageID>af02e150-bd71-4944-a77d-51e7c5e57399</wsa:MessageID>
		<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
			<saml2:Assertion ID="_36f4dab4-5fbf-422f-9fc5-4acf3b817afa"
			                 IssueInstant="2024-12-17T11:26:50.620Z"
			                 Version="2.0"
			                 xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
			                 xmlns:xs="http://www.w3.org/2001/XMLSchema">
				<saml2:Issuer>integrity:S1#190201234567XX</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/2001/04/xmldsig-more#rsa-sha256"/>
						<ds:Reference URI="#_36f4dab4-5fbf-422f-9fc5-4acf3b817afa">
							<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 PrefixList="xs"
									                        xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
								</ds:Transform>
							</ds:Transforms>
							<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
							<ds:DigestValue>cztmM6+EyGc+YNt+IlD3EDnKtJ8=</ds:DigestValue>
						</ds:Reference>
					</ds:SignedInfo>
					<ds:SignatureValue>IHpU4g9/oA5+pVK18BgdpD+KgaeKW3hHC6vJlrcCuP1Jkv1JoDJh8BnNutUB0Zf3uoxwxggK2AT3aDWtSXgRE9JDmqVAz3g7HlTCFwZ0Y02yMPjH3CqgrySAp/cZNz7N6a7nFVNiEU/AzciIJKnSEntBw9HuTEkohUJ4CO8K6kje1BL6Sos38o9O0yMiCnfh0WeIJZrKJZo4kjPgKl8jB9BFIyM9Twd/poS4EwfgGapkorbn7PnGYHfjV7ujlTq3Kw2QvSOzth3aj7cxlOItiCsD3ExPGv3zfFDL79ttW0DkI+kKeNqad3XJps5ewm7EE0rOmpwRNB77gF6OfA672g==</ds:SignatureValue>
					<ds:KeyInfo>
						<ds:X509Data>
							<ds:X509Certificate>MIIE+TCCAuGgAwIBAgIIRHtGTdUftugwDQYJKoZIhvcNAQELBQAwSjELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMSswKQYDVQQDDCJTb2dlaSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBUZXN0MB4XDTI0MDExNjE1NTEzN1oXDTI3MDExNjE1NTEzNlowXTELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMRAwDgYDVQQLDAdTYW5pdMOgMSwwKgYDVQQDDCM5OTk5NTAwMDAwMDAvRlNFIEZEIEdBVEVXQVkgVEVTVC8wMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALdoiNc/iZEnW7/dQF0BsLJv73WhmCUK6/wdUvxcUBTayOaw1l34mZESFLmC2d/8JeMzkkRotCDhD+gzMkyOI47Zh/zdBdxmaRQgE8WMIASgFl14gkx/HHdzOKBS75TW2R3mcHJZHtCHfFbkzBm88loo6/HOrzZ1Zyd7U6OAJT/Is8S2rPUkrxXcsR82t2LeuIuuefkPxaF2+cmEJ2nbGCT0XxmBmaF93Mqme+BME2k3BekjFlTuqR37KSO3kPVdea3yOeo6hCfkTc+qwy1Md0RyWkEAJDWYpuLrBWVY1le42f9YIInSIvVzT1NgoAsjGeBgRGHSpFzvVBcIK3jhvVECAwEAAaOBzzCBzDAfBgNVHSMEGDAWgBTGllMVsxcbeaMSZu3K1vRBVTTxITB6BgNVHR8EczBxMG+gbaBrhmlsZGFwOi8vY2Fkcy5maW5hbnplLml0L0NOPVNvZ2VpJTIwQ2VydGlmaWNhdGlvbiUyMEF1dGhvcml0eSUyMFRlc3QsTz1Tb2dlaSxDPUlUP2NlcnRpZmljYXRlUmV2b2NhdGlvbkxpc3QwHQYDVR0OBBYEFEooXAIW+Ze8P51pHUaLK08+iF6eMA4GA1UdDwEB/wQEAwIGQDANBgkqhkiG9w0BAQsFAAOCAgEAfVooERvZUeBQC+ICC3+Xtn5DU+nZv3sjEcd4Bqfyd1cOM14mYDsvFRO8ibDFZUT2DN2dqksH0D+qLALsuvoOHapZgN46nZwrBlVKFsYNqnVyym5+gArUEDcEhbD00O3fBFRR2UZuJZh4XVPln7pDX73aM34grFM4zyd0tmsWjxdYXph65Xi2o2mKf7wFLSJ8+meODPHWeXzcLBYouZ0BqafNpUa4J9BkzVQ5Bam7rR+x10txDz5+RjjfpvzpKC1eP4qECmv2zjeTkpyS5kXmcUUCrZhgZSFWV+gzZlYtj5ZBcJgcvjbRSdQLpSr1s1SySSG+QW2A4VoipdXId9lPp8LU0ltIWVji2MY8KW5PqmNBULSHCjax+LvDXrUSpJ3geC3LZCMdY+nylPjJKtCWvscSW7p5caz+dY6pXA07TNwfME5SS7UmyJTVI7GKSbuTIW8KQzCSDj6rKUsl1A6UdvF6bJ2eBgJTKKAk4W9cecLNM9FybzGby0jOd9dccl9ZD4zk1o8PDTpt+xB/+M4Gn1qMpHE79s1ZhLMvTR7FzqgnChFH160BXuGm8pvTfoQkJ53RM2+zfMRrUiOtfRHG8PfsWBNvIWipQ1n2bUiVlgT32wX+unZduZHy8NyV0mouBXCNjaQsH9rexY0C7Tq8ce26cykXiTbUGuMLuK1io0U=</ds:X509Certificate>
						</ds:X509Data>
					</ds:KeyInfo>
				</ds:Signature>
				<saml2:Subject>
					<saml2:NameID>RSSGNN66C05A271Y^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</saml2:NameID>
				</saml2:Subject>
				<saml2:Conditions NotBefore="2024-12-17T11:26:50.620Z"
				                  NotOnOrAfter="2025-12-17T11:26:50.620Z"/>
				<saml2:AuthnStatement AuthnInstant="2024-12-17T11:26:50.620Z">
					<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:xspa:1.0:resource:patient:consent"
					                 NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
						<saml2:AttributeValue xsi:type="xs:string"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">('60591-5^^2.16.840.1.113883.6.1')</saml2:AttributeValue>
					</saml2:Attribute>
					<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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">AAS</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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.16.840.1.113883.2.9.4.1.3.GTW_STRUCTURE</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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">UPDATE</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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">RSSGNN66C05A271Y^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;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"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">UPDATE</saml2:AttributeValue>
					</saml2:Attribute>
					<saml2:Attribute Name="SubjectApplicationId"
					                 NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
						<saml2:AttributeValue xsi:type="xs:string"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_ID</saml2:AttributeValue>
					</saml2:Attribute>
					<saml2:Attribute Name="SubjectApplicationVendor"
					                 NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
						<saml2:AttributeValue xsi:type="xs:string"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_VENDOR</saml2:AttributeValue>
					</saml2:Attribute>
					<saml2:Attribute Name="SubjectApplicationVersion"
					                 NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
						<saml2:AttributeValue xsi:type="xs:string"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_VERSION</saml2:AttributeValue>
					</saml2:Attribute>
					<saml2:Attribute Name="SubjectAuthenticator"
					                 NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
						<saml2:AttributeValue xsi:type="xs:string"
						                      xmlns:type="xs:string"
						                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_950</saml2:AttributeValue>
					</saml2:Attribute>
				</saml2:AttributeStatement>
			</saml2:Assertion>
		</wsse:Security>
		<wsa:To>https://fseservicetest.sanita.finanze.it/FSEMetadataUpdateWeb/DocumentRegistry_Service_esterno</wsa:To>
	</soapenv:Header>
	<soapenv:Body>
		<ns4:SubmitObjectsRequest xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0"
		                          xmlns:ns6="urn:hl7-org:v3"
		                          xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0"
		                          xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
		                          xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
			<ns2:RegistryObjectList>
				<ns2:ExtrinsicObject home="2.16.840.1.113883.2.9.2.30.GTW_STRUCTURE"
				                     id="Document1"
				                     isOpaque="false"
				                     lid="urn:uuid:b437c883-669a-3c3e-a1be-11954e429abb"
				                     mimeType="application/pdf+text/x-cda-r2+xml"
				                     objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1"
				                     status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved">
					<ns2:Slot name="creationTime">
						<ns2:ValueList>
							<ns2:Value>20220510110000</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="size">
						<ns2:ValueList>
							<ns2:Value>98940</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="hash">
						<ns2:ValueList>
							<ns2:Value>f45e49ba7afb2ab560ee1d8277738b5784911930</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="languageCode">
						<ns2:ValueList>
							<ns2:Value>it-IT</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="urn:ita:2017:repository-type">
						<ns2:ValueList>
							<ns2:Value>CONS^^^&amp;2.16.840.1.113883.2.9.3.3.6.1.7&amp;ISO</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="sourcePatientId">
						<ns2:ValueList>
							<ns2:Value>KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="sourcePatientInfo">
						<ns2:ValueList>
							<ns2:Value>PID-3|KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</ns2:Value>
							<ns2:Value>PID-5|^^^^^L</ns2:Value>
							<ns2:Value>PID-7|</ns2:Value>
							<ns2:Value>PID-8|</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="repositoryUniqueId">
						<ns2:ValueList>
							<ns2:Value>2.16.840.1.113883.2.9.2.120.4.5.1</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="urn:healthshare:slots:sourceId">
						<ns2:ValueList>
							<ns2:Value>2.16.840.1.113883.2.9.2.30.GTW_STRUCTURE</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="serviceStartTime">
						<ns2:ValueList>
							<ns2:Value>20240326110012</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="serviceStopTime">
						<ns2:ValueList>
							<ns2:Value>20240326110012</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:VersionInfo versionName="1"/>
					<ns2:Classification classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d"
					                    classifiedObject="Document1"
					                    id="Author_1"
					                    nodeRepresentation=""
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="authorPerson">
							<ns2:ValueList>
								<ns2:Value>RSSGNN66C05A271Y^^^^^^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorSpecialty">
							<ns2:ValueList>
								<ns2:Value/>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorTelecommunication">
							<ns2:ValueList>
								<ns2:Value/>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorRole">
							<ns2:ValueList>
								<ns2:Value>AAS</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorInstitution">
							<ns2:ValueList>
								<ns2:Value>GTW_NAME^^^^^&amp;2.16.840.1.113883.2.9.4.1.3&amp;ISO^^^^GTW_STRUCTURE</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:VersionInfo versionName="1"/>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d"
					                    classifiedObject="Document1"
					                    id="FormatCode_1"
					                    nodeRepresentation="2.16.840.1.113883.2.9.10.1.4.1.1"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.6</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Profilo Sanitario Sintetico"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983"
					                    classifiedObject="Document1"
					                    id="IdTypeCode"
					                    nodeRepresentation="60591-5"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.6.1</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Profilo Sanitario Sintetico"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f"
					                    classifiedObject="Document1"
					                    id="ConfidentialityCode01"
					                    nodeRepresentation="N"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.5.25</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Normal"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1"
					                    classifiedObject="Document1"
					                    id="IdHealthcareFacilityTypeCode"
					                    nodeRepresentation="Ospedale"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.1</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Ospedale"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a"
					                    classifiedObject="Document1"
					                    id="ClassCode"
					                    nodeRepresentation="REF"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.5</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Referto"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead"
					                    classifiedObject="Document1"
					                    id="IdPracticeSettingCode"
					                    nodeRepresentation="AD_PSC009"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.2</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Chirurgia Generale"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4"
					                    classifiedObject="Document1"
					                    id="IdEventCodeList"
					                    nodeRepresentation="PUBLICPOL"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.3</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Prescrizione farmaceutica SSN"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:ExternalIdentifier id="patientId_1"
					                        identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427"
					                        registryObject="Document1"
					                        value="KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO">
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="XDSDocumentEntry.patientId"
							                     xml:lang="en-US"/>
						</ns2:Name>
						<ns2:VersionInfo versionName="1"/>
					</ns2:ExternalIdentifier>
					<ns2:ExternalIdentifier id="uniqueId_1"
					                        identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"
					                        registryObject="Document1"
					                        value="2.16.840.1.113883.2.9.2.120.4.4^786406">
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="XDSDocumentEntry.uniqueId"
							                     xml:lang="en-US"/>
						</ns2:Name>
						<ns2:VersionInfo versionName="1"/>
					</ns2:ExternalIdentifier>
				</ns2:ExtrinsicObject>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427"/>
				<ns2:ObjectRef createReplica="false"
				               id="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab"/>
				<ns2:RegistryPackage id="SubmissionSet1"
				                     objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:RegistryPackage"
				                     status="urn:oasis:names:tc:ebxml-regrep:StatusType:Approved">
					<ns2:Slot name="submissionTime">
						<ns2:ValueList>
							<ns2:Value>20241217112650</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Classification classificationScheme="urn:uuid:aa543740-bdda-424e-8c96-df4873be8500"
					                    classifiedObject="SubmissionSet1"
					                    id="IdContentTypeCode"
					                    nodeRepresentation="OBS"
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="codingScheme">
							<ns2:ValueList>
								<ns2:Value>2.16.840.1.113883.2.9.3.3.6.1.4</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="Documento stato di salute"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:Classification>
					<ns2:Classification classificationScheme="urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d"
					                    classifiedObject="SubmissionSet1"
					                    id="SubmissionSet1_ClassificationAuthor"
					                    nodeRepresentation=""
					                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification">
						<ns2:Slot name="authorPerson">
							<ns2:ValueList>
								<ns2:Value>RSSGNN66C05A271Y^^^^^^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorSpecialty">
							<ns2:ValueList>
								<ns2:Value/>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorTelecommunication">
							<ns2:ValueList>
								<ns2:Value/>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorRole">
							<ns2:ValueList>
								<ns2:Value>AAS</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
						<ns2:Slot name="authorInstitution">
							<ns2:ValueList>
								<ns2:Value>GTW_NAME^^^^^&amp;2.16.840.1.113883.2.9.4.1.3&amp;ISO^^^^GTW_STRUCTURE</ns2:Value>
							</ns2:ValueList>
						</ns2:Slot>
					</ns2:Classification>
					<ns2:ExternalIdentifier id="SubmissionSet1_SourceId"
					                        identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832"
					                        objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
					                        registryObject="SubmissionSet1"
					                        value="2.16.840.1.113883.2.9.2.120">
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="XDSSubmissionSet.sourceId"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:ExternalIdentifier>
					<ns2:ExternalIdentifier id="SubmissionSet1_UniqueId"
					                        identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8"
					                        objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
					                        registryObject="SubmissionSet1"
					                        value="2.16.840.1.113883.2.9.2.120.4.3.537931">
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="XDSSubmissionSet.uniqueId"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:ExternalIdentifier>
					<ns2:ExternalIdentifier id="SubmissionSet1_PatientId"
					                        identificationScheme="urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446"
					                        objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:ExternalIdentifier"
					                        registryObject="SubmissionSet1"
					                        value="KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO">
						<ns2:Name>
							<ns2:LocalizedString charset="UTF-8"
							                     value="XDSSubmissionSet.patientId"
							                     xml:lang="en-US"/>
						</ns2:Name>
					</ns2:ExternalIdentifier>
				</ns2:RegistryPackage>
				<ns2:Association associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember"
				                 id="urn:uuid:a273d06f-5730-4f35-9eb1-df3c1f4aa331"
				                 sourceObject="SubmissionSet1"
				                 targetObject="Document1">
					<ns2:Slot name="SubmissionSetStatus">
						<ns2:ValueList>
							<ns2:Value>Original</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
					<ns2:Slot name="PreviousVersion">
						<ns2:ValueList>
							<ns2:Value>1</ns2:Value>
						</ns2:ValueList>
					</ns2:Slot>
				</ns2:Association>
				<ns2:Classification classificationNode="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd"
				                    classifiedObject="SubmissionSet1"
				                    id="Classification1"
				                    objectType="urn:oasis:names:tc:ebxml-regrep:ObjectType:RegistryObject:Classification"/>
			</ns2:RegistryObjectList>
		</ns4:SubmitObjectsRequest>
	</soapenv:Body>
</soapenv:Envelope> 

di seguito la risposta positiva:

[18/Dec/2024:15:34:17 +0100] "POST /FSEInteroperabilita/DocumentRegistry_UpdateDocumentSet_Service HTTP/1.1" 200 947

<soap:Envelope xmlns:soap="[http://www.w3.org/2003/05/soap-envelope"><soap:Header><Action](http://www.w3.org/2003/05/soap-envelope%22%3E%3Csoap:Header%3E%3CAction) xmlns="[http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-bResponse</Action><MessageID](http://www.w3.org/2005/08/addressing%22%3Eurn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-bResponse%3C/Action%3E%3CMessageID) xmlns="[http://www.w3.org/2005/08/addressing">urn:uuid:fa4d62e0-877c-4347-b207-ddf4fc8f3ce4</MessageID><To](http://www.w3.org/2005/08/addressing%22%3Eurn:uuid:fa4d62e0-877c-4347-b207-ddf4fc8f3ce4%3C/MessageID%3E%3CTo) xmlns="[http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</To><RelatesTo](http://www.w3.org/2005/08/addressing%22%3Ehttp://www.w3.org/2005/08/addressing/anonymous%3C/To%3E%3CRelatesTo) xmlns="[http://www.w3.org/2005/08/addressing">4f18493f-3e0d-4310-8e01-1abeaa657e7c</RelatesTo></soap:Header><soap:Body><ns4:RegistryResponse](http://www.w3.org/2005/08/addressing%22%3E4f18493f-3e0d-4310-8e01-1abeaa657e7c%3C/RelatesTo%3E%3C/soap:Header%3E%3Csoap:Body%3E%3Cns4:RegistryResponse) xmlns="urn:hl7-org:v3" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" 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" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/></soap:Body></soap:Envelope>

Cortesemente potete verificare anche lato INI cosa succede? se nel Payload inviato ci sono caratteri sporchi?
Eventualmente potete inviarci il Payload inviato così lo proviamo direttamente?

Al momento questo errore blocca le attività di test con la Lombardia.

Grazie mille per la collaborazione

@lGiulianiSogei
Copy link

Buonasera,
grazie delle numerose informazioni, stiamo analizzando il problema.
Da quello che avete riportato ricevete quindi le nostre chiamate all'endpoint che ci avete indicato:
https://infsetest.regione.lombardia.it/FSEInteroperabilita/DocumentRegistry_UpdateDocumentSet_Service
ma ci restituite l'errore "Action urn:ihe:iti:2010:UpdateDocumentSet not supported",
che sta ad indicare che l'action correttamente utilizzata nell'adddressing per l'update: urn:ihe:iti:2010:UpdateDocumentSet non è supportata.
Per indagare meglio la problematica, potete verificare se per la creazione del WebService che risponde all'url sopra, avete utilizzato il WSDL per la ITI-57, che prevede l'utilizzo di questa action?
Se il WSDL non lo prevede, si ha l'errore tornato,
grrzie per il riscontor, proseguiamo ad indagare il problema lato nostro.
Di seguito la request presa dai nostri log:
<soapenv:Header xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
xmlns:S="http://www.w3.org/2003/05/soap-envelope"
xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:ihe:iti:2010:UpdateDocumentSet</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">9855883b-1b58-4973-a3bd-30b9c86e57b2</wsa:MessageID>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<saml2:Assertion ID="_70cd391a-5c56-4889-a7a1-8c45550b026f"
IssueInstant="2024-12-18T13:56:05.341Z"
Version="2.0"
xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
saml2:Issuerintegrity:S1#111#TEST-CRASH-2</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/2001/04/xmldsig-more#rsa-sha256"/>
<ds:Reference URI="#_70cd391a-5c56-4889-a7a1-8c45550b026f">
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 PrefixList="xs"
xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
ds:DigestValueROQjKd0QVqKDgDfPzsbrNCmKr+8=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
ds:SignatureValuebh/BrtVOskVbG7Sl4/CRF55R1YjZDqhgqZBcmIcolfCyLrjTIwXFeIcGnG6NQpG89WDGl3o6/ze6lM1KqGD9kSc3QjxNN2jS9hShTSlQD9iQubEy17UUq+lQJJC+rEMQr9dMPrngNVhX5TXXbNlFadyb1Kdq/DV3cahG115sgK2FvUrSajR0ayduCyMgkqbnwhlRlgwn07oprySBfvv8znh6DpE5CGE/YW/WKBn/rhfgDQE/WCkywegrAvEBwdqGVgEjBQfOKlFnOvNUzOI6gKnZ7mbl1/8HeLITNyf0zusK1R7cMc1EFQ0Yoxfs9XYxLJl5aqbDxUoqvgPn5JpWDg==</ds:SignatureValue>
ds:KeyInfo
ds:X509Data
ds:X509CertificateMIIE+TCCAuGgAwIBAgIIRHtGTdUftugwDQYJKoZIhvcNAQELBQAwSjELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMSswKQYDVQQDDCJTb2dlaSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBUZXN0MB4XDTI0MDExNjE1NTEzN1oXDTI3MDExNjE1NTEzNlowXTELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMRAwDgYDVQQLDAdTYW5pdMOgMSwwKgYDVQQDDCM5OTk5NTAwMDAwMDAvRlNFIEZEIEdBVEVXQVkgVEVTVC8wMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALdoiNc/iZEnW7/dQF0BsLJv73WhmCUK6/wdUvxcUBTayOaw1l34mZESFLmC2d/8JeMzkkRotCDhD+gzMkyOI47Zh/zdBdxmaRQgE8WMIASgFl14gkx/HHdzOKBS75TW2R3mcHJZHtCHfFbkzBm88loo6/HOrzZ1Zyd7U6OAJT/Is8S2rPUkrxXcsR82t2LeuIuuefkPxaF2+cmEJ2nbGCT0XxmBmaF93Mqme+BME2k3BekjFlTuqR37KSO3kPVdea3yOeo6hCfkTc+qwy1Md0RyWkEAJDWYpuLrBWVY1le42f9YIInSIvVzT1NgoAsjGeBgRGHSpFzvVBcIK3jhvVECAwEAAaOBzzCBzDAfBgNVHSMEGDAWgBTGllMVsxcbeaMSZu3K1vRBVTTxITB6BgNVHR8EczBxMG+gbaBrhmlsZGFwOi8vY2Fkcy5maW5hbnplLml0L0NOPVNvZ2VpJTIwQ2VydGlmaWNhdGlvbiUyMEF1dGhvcml0eSUyMFRlc3QsTz1Tb2dlaSxDPUlUP2NlcnRpZmljYXRlUmV2b2NhdGlvbkxpc3QwHQYDVR0OBBYEFEooXAIW+Ze8P51pHUaLK08+iF6eMA4GA1UdDwEB/wQEAwIGQDANBgkqhkiG9w0BAQsFAAOCAgEAfVooERvZUeBQC+ICC3+Xtn5DU+nZv3sjEcd4Bqfyd1cOM14mYDsvFRO8ibDFZUT2DN2dqksH0D+qLALsuvoOHapZgN46nZwrBlVKFsYNqnVyym5+gArUEDcEhbD00O3fBFRR2UZuJZh4XVPln7pDX73aM34grFM4zyd0tmsWjxdYXph65Xi2o2mKf7wFLSJ8+meODPHWeXzcLBYouZ0BqafNpUa4J9BkzVQ5Bam7rR+x10txDz5+RjjfpvzpKC1eP4qECmv2zjeTkpyS5kXmcUUCrZhgZSFWV+gzZlYtj5ZBcJgcvjbRSdQLpSr1s1SySSG+QW2A4VoipdXId9lPp8LU0ltIWVji2MY8KW5PqmNBULSHCjax+LvDXrUSpJ3geC3LZCMdY+nylPjJKtCWvscSW7p5caz+dY6pXA07TNwfME5SS7UmyJTVI7GKSbuTIW8KQzCSDj6rKUsl1A6UdvF6bJ2eBgJTKKAk4W9cecLNM9FybzGby0jOd9dccl9ZD4zk1o8PDTpt+xB/+M4Gn1qMpHE79s1ZhLMvTR7FzqgnChFH160BXuGm8pvTfoQkJ53RM2+zfMRrUiOtfRHG8PfsWBNvIWipQ1n2bUiVlgT32wX+unZduZHy8NyV0mouBXCNjaQsH9rexY0C7Tq8ce26cykXiTbUGuMLuK1io0U=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
saml2:Subject
saml2:NameIDRSSGNN66C05A271Y^^^&2.16.840.1.113883.2.9.4.3.2&ISO</saml2:NameID>
</saml2:Subject>
<saml2:Conditions NotBefore="2024-12-18T13:56:05.341Z"
NotOnOrAfter="2025-12-18T13:56:05.341Z"/>
<saml2:AuthnStatement AuthnInstant="2024-12-18T13:56:05.341Z">
saml2:AuthnContext
saml2:AuthnContextClassRefurn:oasis:names:tc:SAML:2.0:ac:classes:X509</saml2:AuthnContextClassRef>
</saml2:AuthnContext>
</saml2:AuthnStatement>
saml2:AttributeStatement
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:resource:patient:consent"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xsi:type="xs:string"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">true</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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">(&apos;34105-7^^2.16.840.1.113883.6.1&apos;)</saml2:AttributeValue>
</saml2:Attribute>
<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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">AAS</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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2.16.840.1.113883.2.9.4.1.3.GTW_STRUCTURE</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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">UPDATE</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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">RSSGNN66C05A271Y^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">KRNLXD01R50A946E^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;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"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">UPDATE</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="SubjectApplicationId"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xsi:type="xs:string"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_ID</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="SubjectApplicationVendor"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xsi:type="xs:string"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_VENDOR</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="SubjectApplicationVersion"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xsi:type="xs:string"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_VERSION</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="SubjectAuthenticator"
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml2:AttributeValue xsi:type="xs:string"
xmlns:type="xs:string"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">GTW_950</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
</saml2:Assertion>
</wsse:Security>
</soapenv:Header>

grazie, saluti,
Leonardo Giuliani

@LucaRogledi LucaRogledi added question Further information is requested and removed ON-HOLD labels Dec 18, 2024
@marlagatta
Copy link

Salve.

Nei messaggi incollati sopra vedo riferimenti alla ITI-42:

<Action xmlns="[http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-b:Fault:SoapFault</Action>](http://www.w3.org/2005/08/addressing%22%3Eurn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-b:Fault:SoapFault%3C/Action%3E)

<Action](http://www.w3.org/2003/05/soap-envelope%22%3E%3Csoap:Header%3E%3CAction) xmlns="[http://www.w3.org/2005/08/addressing">urn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-bResponse</Action>

Consiglierei di indagare anche sul valore dell'attributo action presente nell'header della chiamata HTTP.
Dovrebbe essere tipo
Content-Type: application/soap+xml;charset=UTF-8;action="urn:ihe:iti:2010:UpdateDocumentSet"
e non
Content-Type: application/soap+xml;charset=UTF-8;action="urn:ihe:iti:2007:RegisterDocumentSet-b"

@lGiulianiSogei potreste cortesemente fare un test di richiamo verso la regione Molise? L'endpoint e' lo stesso della ITI-42

@lGiulianiSogei
Copy link

Buongiorno,
se ho capito bene, da quello che avete scritto ricevete la nostra request di Update sul vostro BE, che mi sembra abbia l'action corretta, partita dal Lazio (RDE=120) inviata a INI (passando per il GTW), e poi inoltrata a voi, che siete la regione di assistenza dell'assistito KRNLXD01R50A946E.
Quella indicata, che contiene effettivamente riferimenti alla ITI-42, sembrerebbe una vostra response all'endpoint:
https://infsetest.regione.lombardia.it/FSEInteroperabilita/DocumentRegistry_UpdateDocumentSet_Service
Concordate con questa analisi di flusso?

grazie per la collaborazione,
Leonardo Giuliani

@lGiulianiSogei
Copy link

Buongiorno,
abbiamo fatto un'altra prova di invio della stessa request alle 19/12/2024 10:23:59,067000, e tracciando la chiamata dai layer esterni abbiamo avuto riscontro che è stato inviato al vostro endpoint della Lombardia sopra indicato e abbiamo ricevuto la vostra risposta:
<soap:Envelope xmlns:soap=http://www.w3.org/2003/05/soap-envelope>
soap:Header
urn:ihe:iti:xds-b:2007:DocumentRegistry_PortType:DocumentRegistry_RegisterDocumentSet-b:Fault:SoapFault
urn:uuid:aefb773a-0bd9-4ab9-8f0d-c2a7ae843319
http://www.w3.org/2005/08/addressing/anonymous</To>
34bb4d9f-0a32-4178-957d-0d5206bf0e15
</soap:Header>
soap:Body
soap:Fault
soap:Code
soap:Valuesoap:Sender</soap:Value>
soap:Subcode
<soap:Value xmlns:ns1=http://www.w3.org/2005/08/addressing>ns1:ActionNotSupported</soap:Value>
</soap:Subcode>
</soap:Code>
soap:Reason
<soap:Text xml:lang="en">Action urn:ihe:iti:2010:UpdateDocumentSet not supported</soap:Text>
</soap:Reason>
</soap:Fault>
</soap:Body>
</soap:Envelope>

il WSDL che è avete utilizzato per implementare il WebService di Update dovrebbe accettare nell'addressing l'action : urn:ihe:iti:2010:UpdateDocumentSet che è quella di Update, non è quindi possibile utilizzare esattamente il WSDL che è stato usato per la ITI-42, che accetta invece solamente l'action urn:ihe:iti:2007:RegisterDocumentSet-b.
Avete riscontro di questo impostazione?
grazie per la collaborazione,
Leonardo Giuliani

@marlagatta
Copy link

marlagatta commented Dec 19, 2024

Salve @lGiulianiSogei
Ho appena provato tramite gateway a chiamare la update per Regione Molise (RDA=RDE)
sul log del FSE regionale trovo quanto in calce.
Come puo' vedere, ci sono riferimenti a "urn:ihe:iti:2007:RegisterDocumentSet-b" sia nell'header content-type che nel SoapHeader.

Se esegue la get
https://fsetest.regione.molise.it/api/xdsiniregistry?wsdl
vedra' che il servizio esposto espone la

<operation name="DocumentRegistry_UpdateDocumentSet">
<input message="ihe:UpdateDocumentSet_Message" wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSet"> </input>
<output message="ihe:UpdateDocumentSetResponse_Message" wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSetResponse"> </output>
</operation>

ed eseguendo chiamate dirette, la ITI-57 funziona
Abbiamo aperto una issue giorni fa al riguardo 1407
per cui sollecitiamo verifiche

Il workflowInstanceId dell'update appena eseguita e'
7c49888c89da3c56082f7e7b53a2e6772d88636e4007b235a15eef3b7d5765da.018ebc86f2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId
Se ne esegue il verifica esito vedra', nel message relativo a "eventType": "INI_UPDATE_SOAP", che e' stata chiamata la ITI-42

Log completo della chiamata

Address: http://svc-hl-hc40-dossier-registry.molise.svc.cluster.local:8801/api/xdsiniregistry\n    
HttpMethod: POST\n    
Content-Type: application/soap+xml; action=\"urn:ihe:iti:2007:RegisterDocumentSet-b\"\n    
ExchangeId: 5ccc9229-8332-4229-8238-9e4b4afff441\n    
ServiceName: DocumentRegistry_Service\n    
PortName: DocumentRegistry_Port_Soap12\n    
PortTypeName: DocumentRegistry_PortType\n    
Headers: {date=Thu, 19 Dec 2024 10:00:08 GMT, x-global-transaction-id=43373d406763eea9c84e054f, Accept=application/soap+xml,multipart/related,text/*, x-forwarded-proto=http, x-client-ip=217.175.52.34, x-forwarded-port=80, x-forwarded-for=217.175.52.47, 100.64.22.64, pragma=no-cache, via=1.1 AQAAAHMNjj4-, regione-rda=140, x-forwarded-server=fsetest.regione.molise.it, endpoint-esterno=https://fsetest.regione.molise.it/api/xdsiniregistry, x-forwarded-host=fsetest.regione.molise.it,fsetest.regione.molise.it, host=svc-hl-hc40-dossier-registry.molise.svc.cluster.local:8801, connection=Keep-Alive, content-type=application/soap+xml; action=\"urn:ihe:iti:2007:RegisterDocumentSet-b\", cache-control=no-cache;no-store, no-cache, post-check=0, pre-check=0, Content-Length=19163, accept-encoding=gzip, user-agent=IBM WebServices/1.0}\n    
Payload: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:S=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\"><soapenv:Header xmlns:wsa=\"http://www.w3.org/2005/08/addressing\"><wsa:Action>urn:ihe:iti:2007:RegisterDocumentSet-b</wsa:Action><wsa:MessageID>0ba74477-892d-4550-8356-0b02eefdb7f2</wsa:MessageID><wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"><saml2:Assertion ID=\"_250c2e93-e1e6-4ec5-a1ba-17886c692ad4\" IssueInstant=\"2024-12-19T10:00:08.903Z\" Version=\"2.0\" xmlns:saml2=\"urn:oasis:names:tc:SAML:2.0:assertion\" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\"><saml2:Issuer>integrity:S1#140#REGIONEMOLISETEST</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/2001/04/xmldsig-more#rsa-sha256\"/><ds:Reference URI=\"#_250c2e93-e1e6-4ec5-a1ba-17886c692ad4\"><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 PrefixList=\"xs\" xmlns:ec=\"http://www.w3.org/2001/10/xml-exc-c14n#\"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><ds:DigestValue>Dff0dyfmMqN4I0y+aH/T2mP7Bbk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>gi/YKPHyHhN6sx4xnEvpGWoyNk5jtKzsxF4GGy0CZK685mm1vZRHWdv30NLsctiBfaaMNycYLpJghisryHI/AL1ggmcyfhRu7WW0C7smjCr0SAAZoRyPqh9tUqEJANCeiOIdDFPvSIUXbTqi+Ma+ZyaGGbB0CHB0cNCGQcSdLKFncMsqNvZ8XqBTAvRWRPovobt29sQTzAl8t14ILJySJZx95TOYCgXqhfdyR8rZ3pd25phcGMPtev3BiJkvKy32oB16vAfIymKiAPHdRNGiDLy0mMsPlOZyHIC1m/WZhyMY9zsVGuwNgU79IRLykjyM7kvsBBAM+iZF6gj3Kxz2EQ==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIE+TCCAuGgAwIBAgIIRHtGTdUftugwDQYJKoZIhvcNAQELBQAwSjELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMSswKQYDVQQDDCJTb2dlaSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSBUZXN0MB4XDTI0MDExNjE1NTEzN1oXDTI3MDExNjE1NTEzNlowXTELMAkGA1UEBhMCSVQxDjAMBgNVBAoMBVNvZ2VpMRAwDgYDVQQLDAdTYW5pdMOgMSwwKgYDVQQDDCM5OTk5NTAwMDAwMDAvRlNFIEZEIEdBVEVXQVkgVEVTVC8wMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALdoiNc/iZEnW7/dQF0BsLJv73WhmCUK6/wdUvxcUBTayOaw1l34mZESFLmC2d/8JeMzkkRotCDhD+gzMkyOI47Zh/zdBdxmaRQgE8WMIASgFl14gkx/HHdzOKBS75TW2R3mcHJZHtCHfFbkzBm88loo6/HOrzZ1Zyd7U6OAJT/Is8S2rPUkrxXcsR82t2LeuIuuefkPxaF2+cmEJ2nbGCT0XxmBmaF93Mqme+BME2k3BekjFlTuqR37KSO3kPVdea3yOeo6hCfkTc+qwy1Md0RyWkEAJDWYpuLrBWVY1le42f9YIInSIvVzT1NgoAsjGeBgRGHSpFzvVBcIK3jhvVECAwEAAaOBzzCBzDAfBgNVHSMEGDAWgBTGllMVsxcbeaMSZu3K1vRBVTTxITB6BgNVHR8EczBxMG+gbaBrhmlsZGFwOi8vY2Fkcy5maW5hbnplLml0L0NOPVNvZ2VpJTIwQ2VydGlmaWNhdGlvbiUyMEF1dGhvcml0eSUyMFRlc3QsTz1Tb2dlaSxDPUlUP2NlcnRpZmljYXRlUmV2b2NhdGlvbkxpc3QwHQYDVR0OBBYEFEooXAIW+Ze8P51pHUaLK08+iF6eMA4GA1UdDwEB/wQEAwIGQDANBgkqhkiG9w0BAQsFAAOCAgEAfVooERvZUeBQC+ICC3+Xtn5DU+nZv3sjEcd4Bqfyd1cOM14mYDsvFRO8ibDFZUT2DN2dqksH0D+qLALsuvoOHapZgN46nZwrBlVKFsYNqnVyym5+gArUEDcEhbD00O3fBFRR2UZuJZh4XVPln7pDX73aM34grFM4zyd0tmsWjxdYXph65Xi2o2mKf7wFLSJ8+meODPHWeXzcLBYouZ0BqafNpUa4J9BkzVQ5Bam7rR+x10txDz5+RjjfpvzpKC1eP4qECmv2zjeTkpyS5kXmcUUCrZhgZSFWV+gzZlYtj5ZBcJgcvjbRSdQLpSr1s1SySSG+QW2A4VoipdXId9lPp8LU0ltIWVji2MY8KW5PqmNBULSHCjax+LvDXrUSpJ3geC3LZCMdY+nylPjJKtCWvscSW7p5caz+dY6pXA07TNwfME5SS7UmyJTVI7GKSbuTIW8KQzCSDj6rKUsl1A6UdvF6bJ2eBgJTKKAk4W9cecLNM9FybzGby0jOd9dccl9ZD4zk1o8PDTpt+xB/+M4Gn1qMpHE79s1ZhLMvTR7FzqgnChFH160BXuGm8pvTfoQkJ53RM2+zfMRrUiOtfRHG8PfsWBNvIWipQ1n2bUiVlgT32wX+unZduZHy8NyV0mouBXCNjaQsH9rexY0C7Tq8ce26cykXiTbUGuMLuK1io0U=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><saml2:Subject><saml2:NameID>PRVPRV80A01F839M^^^&amp;2.16.840.1.113883.2.9.4.3.2&amp;ISO</saml2:NameID></saml2:Subject><saml2:Conditions NotBefore=\"2024-12-19T10:00:08.904Z\" NotOnOrAfter=\"2025-12-19T10:00:08.904Z\"/><saml2:AuthnStatement AuthnInstant=\"2024-12-19T10:00:08.904Z\"><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:xspa:1.0:resource:patient:consent\" NameFormat=\"urn:oasis:names:tc:SAML:2.0:attrname-format:uri\"><saml2:AttributeValue xsi:type=\"xs:string\" xmlns:type=\"xs:string\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">true</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\" xmlns:type=\"xs:string\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">('11502-2^^2.16.840.1.113883.6.1')</saml2:AttributeValue></saml2:Attribute><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\" xmlns:type=\"xs:string\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">DRS</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\" xmlns:type=\"xs:string\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">2.16.840.1.113883.2.9.4.1.3.140201140001</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\" xmlns:type=\"xs:string\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">

@LucaRogledi LucaRogledi added ON-HOLD and removed question Further information is requested labels Dec 19, 2024
@marlagatta
Copy link

marlagatta commented Dec 19, 2024

Scusi @lGiulianiSogei
ho trovato in questa classe
https://github.com/ministero-salute/it-fse-gtw-ini-client/blob/main/src/main/java/it/finanze/sanita/fse2/ms/iniclient/client/impl/IniClient.java

che nel metodo
sendUpdateV2Data
viene chiamato
sendUpdateData(submitObjectsRequest,jwtTokenDTO,workflowInstanceId,startingDate,ActionEnumType.UPDATE_V2);
ma il metodo sendUpdateData fa sempre
return documentRegistryPort.documentRegistryRegisterDocumentSetB(submitObjectsRequest);
invece per actionEnum uguale a ActionEnumType.UPDATE_V2
dovrebbe chiamare documentRegistryUpdateDocumentSet

@LucaRogledi potrebbe cortesemente girare la domanda a @lGiulianiSogei ?

@lGiulianiSogei
Copy link

Buongiorno,
Per il Molise, abbiamo fatto ulteriori verifiche: per la ITI-57 e la ITI-42 abbiamo settato per il Molise due endpoint differenti:
https://inigtw.regione.molise.it/XDSRegistry per la ITI-57
https://fsetest.regione.molise.it/api/xdsiniregistry per la ITI-42
In base al servizio richiesto il GTW richiama l'endpoint corrispondente di INI, a cui corrispondono delle mappature sugli enpdpoint regionali da richiamare.
Per il Molise l'errore quindi può essere dato dal fatto che il WSDL dell'endpoint https://inigtw.regione.molise.it/XDSRegistry non accetta l'action di update (la get https://inigtw.regione.molise.it/XDSRegistry?wsdl non va..)

Confermate che invece per entrambi va settato https://fsetest.regione.molise.it/api/xdsiniregistry per il Molise (ITI-57 e ITI-42)?
Se confermate li impostiamo uguali e rieseguiamo una prova

grazie per la collaborazione
saluti
Leonardo Giuliani

@LucaRogledi LucaRogledi added question Further information is requested and removed ON-HOLD labels Dec 19, 2024
@marlagatta
Copy link

Confermiamo che per il Molise l'endpoint da contattare e' https://fsetest.regione.molise.it/api/xdsiniregistry sia per ITI-57 che per ITI-42.
Grazie mille per la collaborazione

@LucaRogledi LucaRogledi added ON-HOLD and removed question Further information is requested labels Dec 19, 2024
@lGiulianiSogei
Copy link

per il Molise : ho impostato lo stesso endpoint, potete riprovare la chiamata tramite GTW?

grazie saluti
Leonardo Giuliani

@LucaRogledi LucaRogledi added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Dec 19, 2024
@marlagatta
Copy link

E' arrivata una ITI-42
Il wii e'
7c49888c89da3c56082f7e7b53a2e6772d88636e4007b235a15eef3b7d5765da.b3395bf3f0^^^^urn:ihe:iti:xdw:2013:workflowInstanceId

@marlagatta
Copy link

Scusi @lGiulianiSogei , la chiamata anche prima avveniva, il problema non puo' essere l'endpoint
Deve essere l'action eseguita.
Cosa pensa di quanto scritto al commento precedente comment?

@LucaRogledi LucaRogledi added ON-HOLD and removed VERIFY The fixed issue needs to be verified and closed by the user labels Dec 19, 2024
@lGiulianiSogei
Copy link

OK, Ora abbiamo unificato gli endpoint che cmq andava fatto come da vostre indicazioni.
quindi voi ora al GTW fate una chiamata di Update (ITI-57 con action urn:ihe:iti:2010:UpdateDocumentSet) e vi arriva una chiamata di Update ma ITI-42 (con action urn:ihe:iti:2007:RegisterDocumentSet-b) corretto?
Per il commento stiamo indagando su quanto ci ha riportato del codice, le scrivo appena possibile a riguardo,

grazie saluti
Leonardo Giuliani

@amarconS
Copy link
Contributor

amarconS commented Dec 19, 2024

Salve @marlagatta,
Per quanto riguarda i test che state facendo direttamente attraverso il GTW della ITI-57 state utilizzando l'endpoint di update "v1" che chiama il vecchio giro ITI-42 con ACTION errato. Per la ITI-57 con actionId corretto ('documentRegistryUpdateDocumentSet') bisgona chiamare la "v2". In ogni caso, i test per la ITI-57 li stiamo eseguendo centralmente. Per quanto riguarda la regione Molise abbiamo rieseguito un test alle 12:56:03,753000 di oggi che è andato in errore con errore :
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Header/> <soapenv:Body> <ns3:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns:ns6="urn:hl7-org:v3" xmlns:ns5="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:ns4="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"> <ns3:RegistryErrorList> <ns3:RegistryError codeContext="XdsSubmissionSet uniqueId already exists (2.16.840.1.113883.2.9.2.120.4.3.587195)" errorCode="R230" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/> </ns3:RegistryErrorList> </ns3:RegistryResponse> </soapenv:Body> </soapenv:Envelope>

Prima della chiamata ITI-57 l'automatismo GTW provvede a fare una chiamata di Create e un recupero metadati. Dovrebbe quindi trovarsi 3 chiamate consecutive all'orario sopra riportato.

L'RDE è il Lazio e l'utente è RSSGNN66C05A271Y l'assistito chiamato è il ZCCSBT75C05I282D.

Fateci sapere se vi torna quanto ho riportato.

@marlagatta
Copy link

marlagatta commented Dec 19, 2024

Vi confermo che 'e arrivata la chiamata alla ITI-57
che ha restituito l'errore di validazione
<ns2:RegistryError codeContext="XdsSubmissionSet uniqueId already exists (2.16.840.1.113883.2.9.2.120.4.3.587195)" errorCode="R230" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error"/>

Quindi la chiamata alla ITI-57 funziona!

L'errore e' dovuto al fatto che il RegistryPackage della create e quello dell'update hanno lo stesso
SubmissionSet1_UniqueId.
Trattandosi dell'identificativo della sottomissione, ed essendo l'updateMetadata una nuova sottomissione, ci aspettiamo un valore diverso.
Non abbiamo ancora avuto le specifiche della ITI-57. Cosa dicono a questo proposito?

@marlagatta
Copy link

marlagatta commented Dec 19, 2024

Salve @amarconS
La chiamata a
PUT /govway/rest/in/FSE/gateway/v2/documents/2.16.840.1.113883.2.9.2.140.4.4%5E202412160011401/metadata
provoca l'errore
HTTP/1.1 404 Not Found
{ "type": "https://govway.org/handling-errors/404/UnknownAPI.html", "title": "UnknownAPI", "status": 404, "detail": "Unknown API", "X-Global-Transaction-ID": "6026e6bc6764177044d3999f" }

@vigliottim vigliottim added ON-HOLD and removed VERIFY The fixed issue needs to be verified and closed by the user labels Dec 20, 2024
@lGiulianiSogei
Copy link

Buongiorno e grazie,
il wsdl che ci avete mandato sembra corretto, e analizzando la request che mandiamo non sembra ci siano caratteri sporchi, ..
l'errore che tornate, sembra molto specifico e indica che nn viene accettata l'action, forse per qualche motivo sta puntando al vecchio wsdl, o quello nuovo nuovo non è stato recepito dal sistema..

Quindi è corretto che noi abbiamo impostato i seguenti due endpoint verso la Lombardia, a seconda che si stia chiamando una ITI42 o ITI57 che poi utilizzano lo stesso WSDL che ci avete inviato?
https://infsetest.regione.lombardia.it/FSEInteroperabilita/DocumentRegistry_Service = ITI42
https://infsetest.regione.lombardia.it/FSEInteroperabilita/DocumentRegistry_UpdateDocumentSet_Service = ITI47

Abbiamo eseguito un test alle 20/12/2024 12:33:38,284000

grazie saluti,
Leonardo Giuliani

@LucaRogledi LucaRogledi added question Further information is requested and removed ON-HOLD labels Dec 20, 2024
@EugenioGuagliardi
Copy link
Author

Salve @lGiulianiSogei
grazie per la comunicazione precedente.
Gli End Point scritti su sono 2 e sono corretti.

al momento siamo in modalità debugging sul server e chiediamo cortesemente se potete ripetere un test adesso così analizziamo in dettaglio la request.

Grazie

@LucaRogledi LucaRogledi added ON-HOLD and removed question Further information is requested labels Dec 20, 2024
@lGiulianiSogei
Copy link

Salve,
riguardo l'invio da parte dei nostri sistemi dell'header http content-type contenente anche l'actionid, come segue:
Content-Type: application/soap+xml;charset=UTF-8;action="urn:ihe:iti:2010:UpdateDocumentSet"
abbiamo visto che questo comportamento è proprio del protocollo SOAP 1.2.
In Soap 1.1 l'action deve essere specificato nella busta SOAP (viene ignorato nell'header)
In Soap1.2 l'action deve essere specificato nell'header http (nellla busta Soap si può metterlo ma è opzionale)

Riporto quanto trovato in più punti su siti specifici:
"SOAP 1.1 uses the SOAPAction header to decide what method to call, but this was a bit messy as the method name was embedded elsewhere in the message. SOAP 1.2 resolved this and added the action to content-type header, and deprecated the SOAPAction header (though its now an optional for those clients that still want to send it)."

Questo content type viene valorizzato in questo modo e già accettato da altre regioni (es. Molise), pensiamo quindi sarebbe opportuno mantenerlo come da specifiche SOAP1.2 e adattare il sistema regionale per recepirlo in questo forma,

grazie per la collaborazione,
saluti
Leonardo Giuliani

@LucaRogledi LucaRogledi added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Dec 23, 2024
@EugenioGuagliardi
Copy link
Author

Salve,
in merito al problema in oggetto, abbiamo verificato tramite la documentazione ufficiale, che per lo standard SOAP 1.2, l'inclusione di action nell'header Content-Type NON è corretta.

Ecco la spiegazione:
SOAP 1.2 separa esplicitamente l'Action dall'header Content-Type.
L'azione deve essere inserita nell'header SOAPAction o come parte della richiesta HTTP usando l'header Action (ad esempio POST /service HTTP/1.1 con Action: "urn:ihe:iti:2010:UpdateDocumentSet").
Inserire action in Content-Type è valido per SOAP 1.1, ma non per SOAP 1.2.
La spiegazione si basa sulle specifiche ufficiali di SOAP 1.2, pubblicate dal W3C (World Wide Web Consortium). Ecco i riferimenti principali:

SOAP 1.2 Part 2: Adjuncts (Sezione 6.5.2 – HTTP Media Type)
URL: https://www.w3.org/TR/soap12-part2/#mediatype

Questa sezione specifica che l'header Content-Type per SOAP 1.2 deve essere application/soap+xml e non deve includere un'azione (action).
SOAP 1.2 Part 1: Messaging Framework (Sezione 7.1 – HTTP Binding)
URL: https://www.w3.org/TR/soap12-part1/#soapinhttp

Qui viene spiegato che l'azione SOAP è trasmessa usando l'header HTTP separato Action o SOAPAction e non come parametro dell'header Content-Type.
RFC 3902 (Media Type Registration for application/soap+xml)
URL: https://datatracker.ietf.org/doc/html/rfc3902

Questa RFC definisce il media type application/soap+xml e specifica che l'uso di parametri come action all'interno del Content-Type non è previsto per SOAP 1.2.

Saluti
Eugenio Guagliardi

@LucaRogledi LucaRogledi added ON-HOLD and removed VERIFY The fixed issue needs to be verified and closed by the user labels Dec 23, 2024
@lGiulianiSogei
Copy link

Grazie dei link alle specifiche,
ma vorrei confrontarmi con voi su una parte delle specifiche.
Se ho capito bene, queste sembrano indicare che invece è consentito l'attributo action nell'header HTTP content-type per la 1.2, che va a sostituire l'header SOAPAction presente nella 1.1. link : https://datatracker.ietf.org/doc/html/rfc3902 pag.2 :
"
Registration

MIME media type name: application
MIME subtype name: soap+xml
Required parameters: none
Optional parameters:

  "charset": This parameter has identical semantics to the charset
     parameter of the "application/xml" media type as specified in
     [RFC 3023](https://datatracker.ietf.org/doc/html/rfc3023) [[RFC3023](https://datatracker.ietf.org/doc/html/rfc3023)].

  "action": **This optional parameter can be used to specify the URI
     that identifies the intent of the message.  In SOAP 1.2, it
     serves a similar purpose as the SOAPAction HTTP header field
     did in SOAP 1.1.  Namely, its value identifies the intent of
     the message.**

     The value of the action parameter is an absolute URI-reference
     as defined by [RFC 2396](https://datatracker.ietf.org/doc/html/rfc2396) [[RFC2396](https://datatracker.ietf.org/doc/html/rfc2396)], which MUST be non-empty.
     SOAP places no restrictions on the specificity of the URI or
     that it is resolvable.  Although the purpose of the action
     parameter is to indicate the intent of the SOAP message there
     is no mechanism for automatically computing the value based on
     the SOAP envelope.  In other words, the value has to be
     determined out of band.  It is recommended that the same value
     be used to identify sets of message types that are logically
     connected in some manner, for example part of the same
     "service".  It is strongly RECOMMENDED that the URI be globally
     unique and stable over time.

     Use of the action parameter is OPTIONAL.  SOAP Receivers MAY
     use it as a hint to optimize processing, but SHOULD NOT require
     its presence in order to operate.

"
torna anche a voi?

grazie
Leonardo Giuliani

@LucaRogledi LucaRogledi added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Dec 23, 2024
@EugenioGuagliardi
Copy link
Author

Salve @lGiulianiSogei , meglio se facciamo un confronto a stretto giro per chiarire bene la problematica

@LucaRogledi LucaRogledi added ON-HOLD and removed VERIFY The fixed issue needs to be verified and closed by the user labels Dec 23, 2024
@lGiulianiSogei
Copy link

Buongiorno @EugenioGuagliardi ,

abbiamo inviato per mail la tracciatura degli header HTTP di una chiamata ITI-42 allo stesso endpoint (come da accordi abbiamo impostato lo stesso sia per la ITI57 che per la ITI42) che riporto anche qui:
image

il content-type inviato per la ITI-42 è

Content-Type: application/soap+xml; action="urn:ihe:iti:2007:RegisterDocumentSet-b"

manca il parameter charset (anche quello opzionale da specifiche), ma è presente action, come per la ITI-57.

Verificate le impostazione sul vostro sistema esterno nel caso in cui ricevete corrette il content type (ITI.42) con quelle nel caso in cui non viene accettata la reuqest (ITI-57), per verificare e in caso ottenere lo stesso comportamento,

restiamo a disposizione,

grazie saluti e..
Buone Feste!

@vigliottim vigliottim added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Dec 26, 2024
@vigliottim
Copy link

Buongiorno @EugenioGuagliardi,
potrebbe darci un gentile riscontro?
Grazie.

@EugenioGuagliardi
Copy link
Author

Buongiorno @lGiulianiSogei @amarconS @vigliottim
cortesemente potete effettuare un nuovo test per la ITI-57 e dirci l'esito?

Grazie mille

@vigliottim vigliottim added ON-HOLD and removed VERIFY The fixed issue needs to be verified and closed by the user labels Dec 31, 2024
@amarconS
Copy link
Contributor

amarconS commented Jan 2, 2025

Salve @EugenioGuagliardi,

È stato eseguito un test e abbiamo riscontrato un success.

@LucaRogledi LucaRogledi added VERIFY The fixed issue needs to be verified and closed by the user and removed ON-HOLD labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
POST CRASH PROGRAM Reg Lombardia VERIFY The fixed issue needs to be verified and closed by the user
Projects
None yet
Development

No branches or pull requests

6 participants