E.5 WADO WS RESPONSE EXAMPLE

Example of the response corresponding to the above request:

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_F862C3E04D9E35266C1256303956115; type="application/xop+xml"; start="0.urn:uuid:F862C3E04D9E35266C1256303956116@apache.org"; start-info="application/soap+xml"; action="urn:ihe:iti:2007:RetrieveDocumentSetResponse"

Date: Fri, 23 Oct 2009 13:19:11 GMT

--MIMEBoundaryurn_uuid_F862C3E04D9E35266C1256303956115

Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"

Content-Transfer-Encoding: binary

Content-ID: <0.urn:uuid:F862C3E04D9E35266C1256303956116@apache.org>

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

<s:Header>

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

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

</s:Header>

<s:Body>

<RetrieveDocumentSetResponse

xmlns="urn:ihe:iti:xds-b:2007"

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>

<ihe:RepositoryUniqueId>1.3.6.1.4...1000</ihe:RepositoryUniqueId>

<SourceDocumentUniqueId>1.3.6.1.4...2300</SourceDocumentUniqueId>

<Annotation>patient</Annotation>

<Rows>300</Rows>

<Columns>300</Columns>

<Region>

<Xmin>0.0</Xmin>

<Ymin>0.0</Ymin>

<Xmax>1.0</Xmax>

<Ymax>1.0<Ymax>

</Region>

<WindowCenter>2000</WindowCenter>

<WindowWidth>4096</WindowWidth>

<ImageQuality>30</ImageQuality>

<mimeType>image/jpeg</mimeType>

<Document>

<xop:Include href="cid:1.urn:uuid:F862C3E04D9E35266C1256303956117@apache.org"

xmlns:xop="http://www.w3.org/2004/08/xop/include"/>;

</Document>

</DocumentResponse>

<DocumentResponse>

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

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

<Annotation>patient</Annotation>

<Rows>300</Rows>

<Columns>250</Columns>

<Region>

<Xmin>0.0</Xmin>

<Ymin>0.0</Ymin>

<Xmax>1.0</Xmax>

<Ymax>1.0<Ymax>

</Region>

<WindowCenter>2000</WindowCenter>

<WindowWidth>4096</WindowWidth>

<ImageQuality>30</ImageQuality>

<mimeType>image/jpeg</mimeType>

<Document>

<xop:Include href="cid:2.urn:uuid:F862C3E04D9E35266C1256303956117@apache.org"

xmlns:xop="http://www.w3.org/2004/08/xop/include"/>;

</Document>

</DocumentResponse>

</RetrieveDocumentSetResponse>

</s:Body>

</s:Envelope>

--MIMEBoundaryurn_uuid_F862C3E04D9E35266C1256303956115

Content-Type: application/octet-stream

Content-Transfer-Encoding: binary

Content-ID: <1.urn:uuid:F862C3E04D9E35266C1256303956117@apache.org>

This is the binary JPEG payload for the first image.

--MIMEBoundaryurn_uuid_F862C3E04D9E35266C1256303956115

Content-Type: application/octet-stream

Content-Transfer-Encoding: binary

Content-ID: <2.urn:uuid:F862C3E04D9E35266C1256303956117@apache.org>

This is the binary JPEG payload for the second image.

--MIMEBoundaryurn_uuid_F862C3E04D9E35266C1256303956115—