Retrieving the tags (attributes) for a DICOM file.

You can retrieve DICOM file attributes (tags) using the GetObjectsTags web method exposed by the web service. This method returns values for all the tags in a DICOM dataset as a .NET DataSet object.

POST /leadtools.medicalWebviewer.cs.webservices/mainservice.asmx HTTP/1.1
Host: 10.0.2.55
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetObjectsTags"
 
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetObjectsTags xmlns="http://tempuri.org/">
      <username>string</username>
      <password>string</password>
      <studyInstanceUID>string</studyInstanceUID>
      <seriesInstanceUID>string</seriesInstanceUID>
    </GetObjectsTags>
  </soap:Body>
</soap:Envelope>

The implementation of this method is made simple By using the GetConvertValue method available in the LEADTOOLS medical toolkit. This method converts the value for a DICOM element to a string.