</s:Body>

</s:Envelope>


Транзакция ITI-43 «Извлечь набор документов» (Retrieve Document Set) Пример SOAP-запроса на извлечение набора документов (Retrieve Document Set Request)

<s:Envelope xmlns:s="http://www. w3.org/2003/05/soap-envelope" xmlns:a="http://www. w3.org/2005/08/addressing">

  <!--The following header applies for a Synchronous Web Services Exchange Request

  Please note that a soap message can only have one header section. -->

  <s:Header>

               <a:Action s:mustUnderstand="1">urn:ihe:iti:2007:RetrieveDocumentSet</a:Action>

               <a:MessageID>urn:uuid:0fbfdced-6c01-4d09-a110-2201afedaa02</a:MessageID>

               <a:ReplyTo>

                       <a:Address>http://www. w3.org/2005/08/addressing/anonymous</a:Address>

               </a:ReplyTo>

               <a:To s:mustUnderstand="1">http://localhost:2647/XdsService/IHEXDSRepository. svc</a:To>

       </s:Header>

  <!--The following DISABLED header applies for an Asynchronous Web Services Exchange Request

  Please note that a soap message can only have one header section.

НЕ нашли? Не то? Что вы ищете?

  <s:Header>

  <a:Action s:mustUnderstand="1">urn:ihe:iti:2008:RetrieveDocumentSetAsync</a:Action>

  <a:MessageID>urn:uuid:0fbfdced-6c01-4d09-a110-2201afedaa02</a:MessageID>

  <a:ReplyTo>

  <a:Address>http://192.168.2.4:9080/XdsService/DocumentConsumerReceiver. svc</a:Address>

  </a:ReplyTo>

  <a:To s:mustUnderstand="1">http://localhost:2647/XdsService/IHEXDSRepository. svc</a:To>

  </s:Header>  -->

  <s:Body>

               <RetrieveDocumentSetRequest xsi:schemaLocation="urn:ihe:iti:xds-b:2007 ../../schema/IHE/XDS. b_DocumentRepository. xsd" xmlns="urn:ihe:iti:xds-b:2007" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance">

                       <DocumentRequest>

                               <RepositoryUniqueId>1.3.6.1.4...1000</RepositoryUniqueId>

                               <DocumentUniqueId>1.3.6.1.4...2300</DocumentUniqueId>

                       </DocumentRequest>

                       <DocumentRequest>

                               <RepositoryUniqueId>1.3.6.1.4...1000</RepositoryUniqueId>

                               <DocumentUniqueId>1.3.6.1.4...2301</DocumentUniqueId>

                       </DocumentRequest>

               </RetrieveDocumentSetRequest>

       </s:Body>

</s:Envelope>

Пример SOAP-ответа по извлечению набора документов (Retrieve Document Set Response)

<s:Envelope xmlns:s="http://www. w3.org/2003/05/soap-envelope" xmlns:a="http://www. w3.org/2005/08/addressing">

  <!--The following header applies for a Synchronous Web Services Exchange Response

  Please note that a soap message can only have one header section. -->

  <s:Header>

               <a:Action s:mustUnderstand="1">urn:ihe:iti:2007:RetrieveDocumentSetResponse</a:Action>

               <a:RelatesTo>urn:uuid:0fbfdced-6c01-4d09-a110-2201afedaa02</a:RelatesTo>

       </s:Header>

  <!--The following DISABLED header applies for an Asynchronous Web Services Exchange 'Reply'

  Please note that:

  1. An Asynchronous Web Services Exchange 'Reply' is in reality a new Request sent by the Receiver.

  Refer to TF-2:Appendix V for more information on Asynchronous Web Services Exchange.

  2. A soap message can only have one header section

  <s:Header>

  <a:Action s:mustUnderstand="1">urn:ihe:iti:2007:RetrieveDocumentSetAsyncResponse</a:Action>

  <a:MessageID>urn:uuid:D6C21225-8E7B-454E-9750-821622C099DB</a:MessageID>

               <a:RelatesTo>urn:uuid:0fbfdced-6c01-4d09-a110-2201afedaa02</a:RelatesTo>

               <a:To s:mustUnderstand="1">http://localhost:2647/XdsService/DocumentConsumerReceiver. svc</a:To>

  </s:Header>  -->

  <s:Body>

               <RetrieveDocumentSetResponse xsi:schemaLocation="urn:ihe:iti:xds-b:2007 ../../schema/IHE/XDS. b_DocumentRepository. xsd" xmlns="urn:ihe:iti:xds-b:2007" xmlns:xsi="http://www. w3.org/2001/XMLSchema-instance" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query: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">

                       <rs:RegistryResponse status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"/>

                       <DocumentResponse>

                               <RepositoryUniqueId>1.3.6.1.4...1000</RepositoryUniqueId>

                               <DocumentUniqueId>1.3.6.1.4...2300</DocumentUniqueId>

                               <mimeType>text/xml</mimeType>

                               <Document>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</Document>

                       </DocumentResponse>

                       <DocumentResponse>

                               <RepositoryUniqueId>1.3.6.1.4...1000</RepositoryUniqueId>

                               <DocumentUniqueId>1.3.6.1.4...2300</DocumentUniqueId>

                               <mimeType>text/xml</mimeType>

                               <Document>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</Document>

                       </DocumentResponse>

               </RetrieveDocumentSetResponse>

       </s:Body>

</s:Envelope>


Транзакция ITI-57 «Обновить метаданные набора документов» (Update Document Set) Пример SOAP-запроса на обновление метаданных набора документов (Update Document Set Request)

<lcm:SubmitObjectsRequest>

  <rim:RegistryObjectList>

  <!-- Required SubmissionSet object -->

  <rim:RegistryPackage id="SubmissionSet"/>

  <rim:Association sourceObject="SubmissionSet"

  targetObject="..."

  associationType="xxx"/>

  <rim:Association sourceObject="SubmissionSet" 

  targetObject="..."

  associationType="xxx"/>

  </rim:RegistryObjectList>

</lcm:SubmitObjectsRequest>

Пример SOAP-ответа по обновлению метаданных набора документов (Update Document Set Response)

<soapenv:Envelope xmlns:soapenv="http://www. w3.org/2003/05/soap-envelope">

  <soapenv:Header>

  <wsa:Action mustUnderstand="1" 

  xmlns:wsa="http://www. w3.org/2005/08/addressing"

  >urn:ihe:iti:2010:UpdateDocumentSetResponse</wsa:Action>

  <wsa:RelatesTo xmlns:wsa="http://www. w3.org/2005/08/addressing"

  >urn:uuid:BED84881CA1EE76D5F1278983709130</wsa:RelatesTo> 

  </soapenv:Header>

  <soapenv:Body>

  <rs:RegistryResponse

  status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success"

  xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"/>

  </soapenv:Body>

</soapenv:Envelope> 


Транзакция ITI-61 «Зарегистрировать сведения документа по требованию» (Register On-Demand Document Entry) Пример SOAP-запроса на регистрацию сведений документа по требованию (Register On-Demand Document Entry Request)

<s:Envelope xmlns:s="http://www. w3.org/2003/05/soap-envelope" xmlns:a="http://www. w3.org/2005/08/addressing">

  <!--The following header applies for a Synchronous Web Services Exchange Request

Из за большого объема этот материал размещен на нескольких страницах:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42