Преглед изворни кода

replacing with the latest version of WSDL.

Anthony Dass пре 13 година
родитељ
комит
18f82c53b7

+ 116 - 0
Plugins/org.commontk.dah.core/Resources/AbstractImage.rnc

@@ -0,0 +1,116 @@
+default namespace = "http://dicom.nema.org/PS3.19/models/AbstractImage"
+
+start = AbstractImageDataSet
+AbstractImageDataSet = 
+
+ element AbstractImageDataSet {
+    element Component{
+      attribute idNumber { xsd:positiveInteger },
+      attribute datatype { ComponentDatatype },
+      attribute minValue { xsd:double }?,
+      attribute maxValue { xsd:double }?,
+      element Semantics { CodedTerm },
+      element Unit { CodedTerm  },
+      element RealWordMapping {
+        attribute rescaleSlope { xsd:double },
+        attribute rescaleIntercept { xsd:double },
+        element Unit { CodedTerm },
+        element Semantics { CodedTerm }
+      }*
+    }+,
+    element Dimension {
+      attribute idNumber { xsd:positiveInteger },
+      attribute numberOfSamples { xsd:positiveInteger },
+      element Semantics { CodedTerm },
+      (element Regular {
+         attribute width { xsd:double },
+         attribute spacing { xsd:double },
+         element Unit { CodedTerm  },
+         element AxisDirection { CodedTerm  }?,
+         element AxisOrientation { CodedTerm  }?
+       }
+       | element Irregular {
+           element origin { xsd:double },
+           element SampleLocation {
+             attribute index { xsd:positiveInteger },
+             attribute width { xsd:double },
+             attribute distanceToOrigin { xsd:double }
+           }+,
+         element Unit { CodedTerm  },
+         element AxisDirection { CodedTerm  }?,
+         element AxisOrientation { CodedTerm  }?
+         }
+       | element Qualitative {
+           element Sample {
+             attribute index { xsd:positiveInteger },
+             element Semantics { CodedTerm }
+           }+
+         }),
+      element Origin {
+        attribute index { xsd:positiveInteger }?,
+        attribute xCoord { xsd:double },
+        attribute yCoord { xsd:double },
+        attribute zCoord { xsd:double }
+      }*,
+      element DirectionCosines {
+        attribute concernedSpatialDimension { xsd:positiveInteger },
+        attribute index { xsd:positiveInteger }?,
+        attribute cosAlongX { xsd:double },
+        attribute cosAlongY { xsd:double },
+        attribute cosAlongZ { xsd:double }
+      }*
+    }+,
+    element PixelData { DimensionalData },
+    element PixelMapOfValidData {
+      attribute datatype { PixelMapDatatype },
+      (
+        attribute inValue { xsd:positiveInteger }
+        | attribute outValue { xsd:positiveInteger }
+      ),
+      DimensionalData
+    }?
+  }
+
+ComponentDatatype =
+    "SIGNED_INT8"
+    | "SIGNED_INT16"
+    | "SIGNED_INT32"
+    | "UNSIGNED_CHAR8"
+    | "UNSIGNED_INT16"
+    | "UNSIGNED_INT32"
+    | "FLOAT32"
+    | "FLOAT64"
+  
+PixelMapDatatype = 
+    "BIT1"
+    | "UNSIGNED_INT8"
+
+DimensionalData =
+  element DimensionalData {
+    attribute dimensionID { xsd:positiveInteger },
+    element DataAt 
+    {
+      attribute sampleNumber { xsd:positiveInteger },
+      attribute descriptorUUID { xsd:string }?,
+      ( DimensionalData | BulkDataPointer )
+    }+
+  }
+
+BulkDataPointer = 
+    attribute UUID { xsd:string }
+
+CodedTerm = 
+    element CodeValue { xsd:string },
+    element CodingSchemeDesignator { xsd:string },
+    element CodingSchemeVersion { xsd:string }?,
+    element CodeMeaning { xsd:string }?,
+    (
+      element ContextIdentifier { xsd:string },
+      element MappingResource { xsd:string },
+      element ContextGroupVersion { xsd:string }
+    )?,
+    (
+      element ContextGroupExtensionFlag { xsd:string },
+      element ContextGroupLocalVersion { xsd:string }?,
+      element ContextGroupExtensionCreatorUID { xsd:string }?
+    )?

+ 268 - 0
Plugins/org.commontk.dah.core/Resources/ApplicationService-20100825.wsdl

@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ApplicationService-20100825"
+  targetNamespace="http://dicom.nema.org/PS3.19/ApplicationService-20100825"
+  xmlns:tns="http://dicom.nema.org/PS3.19/ApplicationService-20100825"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+  xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
+  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
+  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+  xmlns:wsa10="http://www.w3.org/2005/08/addressing"
+  xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://dicom.nema.org/PS3.19/Imports/ApplicationService-20100825">
+      <xsd:import namespace="http://dicom.nema.org/PS3.19/ApplicationService-20100825"
+        schemaLocation="./ApplicationService-20100825.xsd"/>
+      <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"
+        schemaLocation="./Types.xsd"  />
+      <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+        schemaLocation="./ArrayOfString.xsd" />
+      <xsd:import namespace="http://schemas.datacontract.org/2004/07/System.Xml.XPath"
+        schemaLocation="./XPathNodeType.xsd" />
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="IApplicationService_GetState_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetState"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_GetState_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetStateResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_SetState_InputMessage">
+    <wsdl:part name="parameters" element="tns:SetState"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_SetState_OutputMessage">
+    <wsdl:part name="parameters" element="tns:SetStateResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_BringToFront_InputMessage">
+    <wsdl:part name="parameters" element="tns:BringToFront"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_BringToFront_OutputMessage">
+    <wsdl:part name="parameters" element="tns:BringToFrontResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_NotifyDataAvailable_InputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyDataAvailable"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_NotifyDataAvailable_OutputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyDataAvailableResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_GetData_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetData"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_GetData_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetDataResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_ReleaseData_InputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseData"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_ReleaseData_OutputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseDataResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_GetAsModels_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetAsModels"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_GetAsModels_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetAsModelsResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_ReleaseModels_InputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseModels"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_ReleaseModels_OutputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseModelsResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_QueryModel_InputMessage">
+    <wsdl:part name="parameters" element="tns:QueryModel"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_QueryModel_OutputMessage">
+    <wsdl:part name="parameters" element="tns:QueryModelResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_QueryInfoSet_InputMessage">
+    <wsdl:part name="parameters" element="tns:QueryInfoSet"/>
+  </wsdl:message>
+  <wsdl:message name="IApplicationService_QueryInfoSet_OutputMessage">
+    <wsdl:part name="parameters" element="tns:QueryInfoSetResponse"/>
+  </wsdl:message>
+  <wsdl:portType name="IApplicationService-20100825">
+    <wsdl:operation name="GetState">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetState"
+        message="tns:IApplicationService_GetState_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetStateResponse"
+        message="tns:IApplicationService_GetState_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="SetState">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/SetState"
+        message="tns:IApplicationService_SetState_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/SetStateResponse"
+        message="tns:IApplicationService_SetState_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="BringToFront">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/BringToFront"
+        message="tns:IApplicationService_BringToFront_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/BringToFrontResponse"
+        message="tns:IApplicationService_BringToFront_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyDataAvailable">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/NotifyDataAvailable"
+        message="tns:IApplicationService_NotifyDataAvailable_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/NotifyDataAvailableResponse"
+        message="tns:IApplicationService_NotifyDataAvailable_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetData">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetData"
+        message="tns:IApplicationService_GetData_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetDataResponse"
+        message="tns:IApplicationService_GetData_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseData">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseData"
+        message="tns:IApplicationService_ReleaseData_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseDataResponse"
+        message="tns:IApplicationService_ReleaseData_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetAsModels">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetAsModels"
+        message="tns:IApplicationService_GetAsModels_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/GetAsModelsResponse"
+        message="tns:IApplicationService_GetAsModels_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseModels">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseModels"
+        message="tns:IApplicationService_ReleaseModels_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseModelsResponse"
+        message="tns:IApplicationService_ReleaseModels_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="QueryModel">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/QueryModel"
+        message="tns:IApplicationService_QueryModel_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/QueryModelResponse"
+        message="tns:IApplicationService_QueryModel_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="QueryInfoSet">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/QueryInfoSet"
+        message="tns:IApplicationService_QueryInfoSet_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IApplicationService/QueryInfoSetResponse"
+        message="tns:IApplicationService_QueryInfoSet_OutputMessage"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="ApplicationService-20100825Binding" type="tns:IApplicationService-20100825">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="GetState">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/GetState"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="SetState">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/SetState"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="BringToFront">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/BringToFront"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyDataAvailable">
+      <soap:operation
+        soapAction="http://dicom.nema.org/PS3.19/IApplicationService/NotifyDataAvailable"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetData">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/GetData"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseData">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseData"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetAsModels">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/GetAsModels"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseModels">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/ReleaseModels"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="QueryModel">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/QueryModel"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="QueryInfoSet">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IApplicationService/QueryInfoSet"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="ApplicationService-20100825">
+    <wsdl:port name="ApplicationServiceBinding" binding="tns:ApplicationService-20100825Binding">
+      <soap:address location="http://localhost/Service"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions> 

+ 383 - 0
Plugins/org.commontk.dah.core/Resources/ApplicationService-20100825.xsd

@@ -0,0 +1,383 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:tns="http://dicom.nema.org/PS3.19/ApplicationService-20100825" elementFormDefault="qualified"
+  targetNamespace="http://dicom.nema.org/PS3.19/ApplicationService-20100825" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+  <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Xml.XPath"/>
+  <xs:element name="GetState">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetStateResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetStateResult" type="tns:State"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:simpleType name="State">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="IDLE"/>
+      <xs:enumeration value="INPROGRESS"/>
+      <xs:enumeration value="SUSPENDED"/>
+      <xs:enumeration value="COMPLETED"/>
+      <xs:enumeration value="CANCELED"/>
+      <xs:enumeration value="EXIT"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="State" nillable="true" type="tns:State"/>
+  <xs:element name="SetState">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="state" type="tns:State"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="SetStateResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="SetStateResult" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="BringToFront">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="location" nillable="true" type="tns:Rectangle"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="Rectangle">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Height" type="xs:int"/>
+      <xs:element minOccurs="0" name="Width" type="xs:int"/>
+      <xs:element minOccurs="0" name="RefPointX" type="xs:int"/>
+      <xs:element minOccurs="0" name="RefPointY" type="xs:int"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Rectangle" nillable="true" type="tns:Rectangle"/>
+  <xs:element name="BringToFrontResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="BringToFrontResult" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="NotifyDataAvailable">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="data" nillable="true" type="tns:AvailableData"/>
+        <xs:element minOccurs="0" name="lastData" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="AvailableData">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Patients" nillable="true" type="tns:ArrayOfPatient"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="AvailableData" nillable="true" type="tns:AvailableData"/>
+  <xs:complexType name="ArrayOfObjectDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjectDescriptor" nillable="true"
+        type="tns:ObjectDescriptor"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfObjectDescriptor" nillable="true" type="tns:ArrayOfObjectDescriptor"/>
+  <xs:complexType name="ObjectDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ClassUID" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="MimeType" nillable="true" type="tns:MimeType"/>
+      <xs:element minOccurs="0" name="Modality" nillable="true" type="tns:Modality"/>
+      <xs:element minOccurs="0" name="TransferSyntaxUID" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="DescriptorUuid" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ObjectDescriptor" nillable="true" type="tns:ObjectDescriptor"/>
+  <xs:complexType name="UID">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Uid" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="UID" nillable="true" type="tns:UID"/>
+  <xs:complexType name="MimeType">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="MimeType" nillable="true" type="tns:MimeType"/>
+  <xs:complexType name="Modality">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Modality" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Modality" nillable="true" type="tns:Modality"/>
+  <xs:complexType name="UUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Uuid" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="UUID" nillable="true" type="tns:UUID"/>
+  <xs:complexType name="ArrayOfPatient">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Patient" nillable="true"
+        type="tns:Patient"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfPatient" nillable="true" type="tns:ArrayOfPatient"/>
+  <xs:complexType name="Patient">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="AssigningAuthority" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="DateOfBirth" type="xs:dateTime"/>
+      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Sex" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="Studies" nillable="true" type="tns:ArrayOfStudy"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Patient" nillable="true" type="tns:Patient"/>
+  <xs:complexType name="ArrayOfStudy">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Study" nillable="true" type="tns:Study"
+      />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfStudy" nillable="true" type="tns:ArrayOfStudy"/>
+  <xs:complexType name="Study">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Series" nillable="true" type="tns:ArrayOfSeries"/>
+      <xs:element minOccurs="0" name="StudyUID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Study" nillable="true" type="tns:Study"/>
+  <xs:complexType name="ArrayOfSeries">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Series" nillable="true"
+        type="tns:Series"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfSeries" nillable="true" type="tns:ArrayOfSeries"/>
+  <xs:complexType name="Series">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="SeriesUID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Series" nillable="true" type="tns:Series"/>
+  <xs:element name="NotifyDataAvailableResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="NotifyDataAvailableResult" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetData">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="acceptableTransferSyntaxes" nillable="true"
+          type="tns:ArrayOfUID"/>
+        <xs:element minOccurs="0" name="includeBulkData" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfUUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="UUID" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfUUID" nillable="true" type="tns:ArrayOfUUID"/>
+  <xs:complexType name="ArrayOfUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="UID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfUID" nillable="true" type="tns:ArrayOfUID"/>
+  <xs:element name="GetDataResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetDataResult" nillable="true"
+          type="tns:ArrayOfObjectLocator"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfObjectLocator">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjectLocator" nillable="true"
+        type="tns:ObjectLocator"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfObjectLocator" nillable="true" type="tns:ArrayOfObjectLocator"/>
+  <xs:complexType name="ObjectLocator">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Length" type="xs:long"/>
+      <xs:element minOccurs="0" name="Offset" type="xs:long"/>
+      <xs:element minOccurs="0" name="TransferSyntax" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="URI" nillable="true" type="xs:anyURI"/>
+      <xs:element minOccurs="0" name="Locator" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Source" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ObjectLocator" nillable="true" type="tns:ObjectLocator"/>
+  <xs:element name="ReleaseData">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="ReleaseDataResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetAsModels">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="classUID" nillable="true" type="tns:UID"/>
+        <xs:element minOccurs="0" name="supportedInfoSetTypes" nillable="true"
+          type="tns:ArrayOfMimeType"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfMimeType">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="MimeType" nillable="true"
+        type="tns:MimeType"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfMimeType" nillable="true" type="tns:ArrayOfMimeType"/>
+  <xs:element name="GetAsModelsResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetAsModelsResult" nillable="true"
+          type="tns:ModelSetDescriptor"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ModelSetDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="FailedSourceObjects" nillable="true" type="tns:ArrayOfUUID"/>
+      <xs:element minOccurs="0" name="InfosetType" nillable="true" type="tns:MimeType"/>
+      <xs:element minOccurs="0" name="Models" nillable="true" type="tns:ArrayOfUUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ModelSetDescriptor" nillable="true" type="tns:ModelSetDescriptor"/>
+  <xs:element name="ReleaseModels">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="ReleaseModelsResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryModel">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="xPaths" nillable="true"
+          xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+          type="q1:ArrayOfstring"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryModelResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="QueryModelResult" nillable="true"
+          type="tns:ArrayOfQueryResult"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfQueryResult">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="QueryResult" nillable="true"
+        type="tns:QueryResult"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfQueryResult" nillable="true" type="tns:ArrayOfQueryResult"/>
+  <xs:complexType name="QueryResult">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Model" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:ArrayOfXPathNode"/>
+      <xs:element minOccurs="0" name="XPath" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="QueryResult" nillable="true" type="tns:QueryResult"/>
+  <xs:complexType name="ArrayOfXPathNode">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="XPathNode" nillable="true"
+        type="tns:XPathNode"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfXPathNode" nillable="true" type="tns:ArrayOfXPathNode"/>
+  <xs:complexType name="XPathNode">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="NodeType"
+        xmlns:q2="http://schemas.datacontract.org/2004/07/System.Xml.XPath" type="q2:XPathNodeType"/>
+      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="XPathNode" nillable="true" type="tns:XPathNode"/>
+  <xs:element name="QueryInfoSet">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="xPaths" nillable="true"
+          xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+          type="q3:ArrayOfstring"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryInfoSetResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="QueryInfoSetResult" nillable="true"
+          type="tns:ArrayOfQueryResultInfoSet"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfQueryResultInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="QueryResultInfoSet" nillable="true"
+        type="tns:QueryResultInfoSet"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfQueryResultInfoSet" nillable="true" type="tns:ArrayOfQueryResultInfoSet"/>
+  <xs:complexType name="QueryResultInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Model" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:ArrayOfXPathNodeInfoSet"/>
+      <xs:element minOccurs="0" name="XPath" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="QueryResultInfoSet" nillable="true" type="tns:QueryResultInfoSet"/>
+  <xs:complexType name="ArrayOfXPathNodeInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="XPathNodeInfoSet" nillable="true"
+        type="tns:XPathNodeInfoSet"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfXPathNodeInfoSet" nillable="true" type="tns:ArrayOfXPathNodeInfoSet"/>
+  <xs:complexType name="XPathNodeInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="InfoSetValue" nillable="true" type="xs:base64Binary"/>
+      <xs:element minOccurs="0" name="NodeType"
+        xmlns:q4="http://schemas.datacontract.org/2004/07/System.Xml.XPath" type="q4:XPathNodeType"
+      />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="XPathNodeInfoSet" nillable="true" type="tns:XPathNodeInfoSet"/>
+</xs:schema> 

+ 0 - 178
Plugins/org.commontk.dah.core/Resources/ApplicationService.wsdl

@@ -1,178 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.1 in JDK 6. -->
-<definitions targetNamespace="http://wg23.dicom.nema.org/"
-	name="ApplicationService" xmlns="http://schemas.xmlsoap.org/wsdl/"
-	xmlns:tns="http://wg23.dicom.nema.org/"
-	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-	<types>
-		<xsd:schema>
-			<xsd:import namespace="http://wg23.dicom.nema.org/"
-				schemaLocation="ApplicationService_schema1.xsd"/>
-		</xsd:schema>
-	</types>
-	<message name="bringToFront">
-		<part name="parameters" element="tns:bringToFront"/>
-	</message>
-	<message name="bringToFrontResponse">
-		<part name="parameters" element="tns:bringToFrontResponse"/>
-	</message>
-	<message name="getAsModels">
-		<part name="parameters" element="tns:getAsModels"/>
-	</message>
-	<message name="getAsModelsResponse">
-		<part name="parameters" element="tns:getAsModelsResponse"/>
-	</message>	
-	<message name="getDataAsFile">
-		<part name="parameters" element="tns:getDataAsFile"/>
-	</message>
-	<message name="getDataAsFileResponse">
-		<part name="parameters" element="tns:getDataAsFileResponse"/>
-	</message>
-	<message name="getDataAsSpecificTypeFile">
-		<part name="parameters" element="tns:getDataAsSpecificTypeFile"/>
-	</message>
-	<message name="getDataAsSpecificTypeFileResponse">
-		<part name="parameters" element="tns:getDataAsSpecificTypeFileResponse"/>
-	</message>
-	<message name="notifyDataAvailable">
-		<part name="parameters" element="tns:notifyDataAvailable"/>
-	</message>
-	<message name="notifyDataAvailableResponse">
-		<part name="parameters" element="tns:notifyDataAvailableResponse"/>
-	</message>
-	<message name="queryModel">
-		<part name="parameters" element="tns:queryModel"/>
-	</message>
-	<message name="queryModelResponse">
-		<part name="parameters" element="tns:queryModelResponse"/>
-	</message>
-	<message name="getState">
-		<part name="parameters" element="tns:getState"/>
-	</message>
-	<message name="getStateResponse">
-		<part name="parameters" element="tns:getStateResponse"/>
-	</message>
-	<message name="setState">
-		<part name="parameters" element="tns:setState"/>
-	</message>
-	<message name="setStateResponse">
-		<part name="parameters" element="tns:setStateResponse"/>
-	</message>
-	<portType name="Application">
-		<operation name="bringToFront">
-			<input message="tns:bringToFront"/>
-			<output message="tns:bringToFrontResponse"/>
-		</operation>
-		<operation name="getAsModels">
-			<input message="tns:getAsModels"/>
-			<output message="tns:getAsModelsResponse"/>
-		</operation>
-		<operation name="getDataAsFile">
-			<input message="tns:getDataAsFile"/>
-			<output message="tns:getDataAsFileResponse"/>
-		</operation>
-		<operation name="getDataAsSpecificTypeFile">
-			<input message="tns:getDataAsSpecificTypeFile"/>
-			<output message="tns:getDataAsSpecificTypeFileResponse"/>
-		</operation>
-		<operation name="notifyDataAvailable">
-			<input message="tns:notifyDataAvailable"/>
-			<output message="tns:notifyDataAvailableResponse"/>
-		</operation>
-		<operation name="queryModel">
-			<input message="tns:queryModel"/>
-			<output message="tns:queryModelResponse"/>
-		</operation>
-		<operation name="getState">
-			<input message="tns:getState"/>
-			<output message="tns:getStateResponse"/>
-		</operation>
-		<operation name="setState">
-			<input message="tns:setState"/>
-			<output message="tns:setStateResponse"/>
-		</operation>
-	</portType>
-	<binding name="ApplicationPortBinding" type="tns:Application">
-		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
-			style="document"/>
-		<operation name="bringToFront">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getAsModels">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getDataAsFile">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getDataAsSpecificTypeFile">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="notifyDataAvailable">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="queryModel">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getState">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="setState">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-	</binding>
-	<service name="ApplicationService">
-		<port name="ApplicationPort" binding="tns:ApplicationPortBinding">
-			<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
-		</port>
-	</service>
-</definitions>
-

+ 0 - 260
Plugins/org.commontk.dah.core/Resources/ApplicationService_schema1.xsd

@@ -1,260 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<xs:schema elementFormDefault="qualified" version="1.0"
-	targetNamespace="http://wg23.dicom.nema.org/"
-	xmlns:tns="http://wg23.dicom.nema.org/"
-	xmlns:xs="http://www.w3.org/2001/XMLSchema">
-	
-	<xs:element name="bringToFront" type="tns:bringToFront"/>
-	<xs:element name="bringToFrontResponse" type="tns:bringToFrontResponse"/>
-	<xs:element name="getAsModels" type="tns:getAsModels"/>
-	<xs:element name="getAsModelsResponse" type="tns:getAsModelsResponse"/>
-	<xs:element name="getDataAsFile" type="tns:getDataAsFile"/>
-	<xs:element name="getDataAsFileResponse" type="tns:getDataAsFileResponse"/>
-	<xs:element name="getDataAsSpecificTypeFile"
-		type="tns:getDataAsSpecificTypeFile"/>
-	<xs:element name="getDataAsSpecificTypeFileResponse"
-		type="tns:getDataAsSpecificTypeFileResponse"/>
-	<xs:element name="getState" type="tns:getState"/>
-	<xs:element name="getStateResponse" type="tns:getStateResponse"/>
-	<xs:element name="notifyDataAvailable" type="tns:notifyDataAvailable"/>
-	<xs:element name="notifyDataAvailableResponse"
-		type="tns:notifyDataAvailableResponse"/>
-	<xs:element name="queryModel" type="tns:queryModel"/>
-	<xs:element name="queryModelResponse" type="tns:queryModelResponse"/>
-	<xs:element name="setState" type="tns:setState"/>
-	<xs:element name="setStateResponse" type="tns:setStateResponse"/>
-	
-	<xs:complexType name="getState">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="getStateResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="tns:state"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getDataAsFile">
-		<xs:sequence>
-			<xs:element name="uuids" type="tns:ArrayOfUUID"/>
-			<xs:element name="includeBulkData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getDataAsFileResponse">
-		<xs:sequence>
-			<xs:element name="objectLocators" type="tns:ArrayOfObjectLocator"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getDataAsSpecificTypeFile">
-		<xs:sequence>
-			<xs:element name="objectUUIDs" type="tns:ArrayOfUUID"/>
-			<xs:element name="mimeType" type="xs:string"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-			<xs:element name="includeBulkData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getDataAsSpecificTypeFileResponse">
-		<xs:sequence>
-			<xs:element name="objectLocators" type="tns:ArrayOfObjectLocator"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="uuid">
-		<xs:sequence>
-			<xs:element name="uuid" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="objectLocator">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid"/>
-			<xs:element name="uri" type="xs:anyURI"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="notifyDataAvailable">
-		<xs:sequence>
-			<xs:element name="availableData" type="tns:availableData"/>
-			<xs:element name="lastData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="availableData">
-		<xs:sequence>
-			<xs:element name="patients" type="tns:ArrayOfPatient"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="patient">
-		<xs:sequence>
-			<xs:element name="name" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-			<xs:element name="studies" type="tns:ArrayOfStudy"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="study">
-		<xs:sequence>
-			<xs:element name="studyUID" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-			<xs:element name="series" type="tns:ArrayOfSeries"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="series">
-		<xs:sequence>
-			<xs:element name="seriesUID" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="modality">
-		<xs:sequence>
-			<xs:element name="modality" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="objectDescriptor">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid"/>
-			<xs:element name="mimeType" type="xs:string"/>
-			<xs:element name="classUID" type="tns:uid"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-			<xs:element name="modality" type="tns:modality"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="uid">
-		<xs:sequence>
-			<xs:element name="uid" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="notifyDataAvailableResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="queryModel">
-		<xs:sequence>
-			<xs:element name="objUUIDs" type="tns:ArrayOfUUID"/>
-			<xs:element name="modelXpaths" type="tns:ArrayOfString"/>
-			<xs:element name="includeBulkDataPointers" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="queryModelResponse">
-		<xs:sequence>
-			<xs:element name="queryResults" type="tns:ArrayOfQueryResult"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="queryResult">
-		<xs:sequence>
-			<xs:element name="model" type="tns:uuid"/>
-			<xs:element name="xpath" type="xs:string"/>
-			<xs:element name="results" type="tns:ArrayOfString"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getAsModels">
-		<xs:sequence>
-			<xs:element name="uuids" type="tns:ArrayOfUUID"/>
-			<xs:element name="classUID" type="tns:uid"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getAsModelsResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="tns:modelSetDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="modelSetDescriptor">
-		<xs:sequence>
-			<xs:element name="models" type="tns:ArrayOfUUID"/>
-			<xs:element name="failedSourceObjects" type="tns:ArrayOfUUID"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="bringToFront">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="bringToFrontResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="setState">
-		<xs:sequence>
-			<xs:element name="newState" type="tns:state"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="setStateResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="ArrayOfUUID">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="ArrayOfPatient">
-		<xs:sequence>
-			<xs:element name="patient" type="tns:patient" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfStudy">
-		<xs:sequence>
-			<xs:element name="study" type="tns:study" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfSeries">
-		<xs:sequence>
-			<xs:element name="series" type="tns:series" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfObjectLocator">
-		<xs:sequence>
-			<xs:element name="objectLocator" type="tns:objectLocator" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfObjectDescriptor">
-		<xs:sequence>
-			<xs:element name="objectDescriptor" type="tns:objectDescriptor"
-				minOccurs="0" maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfString">
-		<xs:sequence>
-			<xs:element name="string" type="xs:string" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfQueryResult">
-		<xs:sequence>
-			<xs:element name="queryResult" type="tns:queryResult" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:simpleType name="state">
-		<xs:restriction base="xs:string">
-			<xs:enumeration value="EXIT"/>
-			<xs:enumeration value="CANCELED"/>
-			<xs:enumeration value="SUSPENDED"/>
-			<xs:enumeration value="COMPLETED"/>
-			<xs:enumeration value="INPROGRESS"/>
-			<xs:enumeration value="IDLE"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

+ 9 - 0
Plugins/org.commontk.dah.core/Resources/ArrayOfString.xsd

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:complexType name="ArrayOfstring">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
+</xs:schema>

+ 308 - 0
Plugins/org.commontk.dah.core/Resources/HostService-20100825.wsdl

@@ -0,0 +1,308 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="HostService-20100825"
+  targetNamespace="http://dicom.nema.org/PS3.19/HostService-20100825"
+  xmlns:tns="http://dicom.nema.org/PS3.19/HostService-20100825"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+  xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
+  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
+  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+  xmlns:wsa10="http://www.w3.org/2005/08/addressing"
+  xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  <wsdl:types>
+    <xsd:schema targetNamespace="http://dicom.nema.org/PS3.19/Imports/HostService-20100825">
+      <xsd:import namespace="http://dicom.nema.org/PS3.19/HostService-20100825"
+        schemaLocation="./HostService-20100825.xsd"/>
+      <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/"
+        schemaLocation="./Types.xsd"  />
+      <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+        schemaLocation="./ArrayOfString.xsd" />
+      <xsd:import namespace="http://schemas.datacontract.org/2004/07/System.Xml.XPath"
+        schemaLocation="./XPathNodeType.xsd"/>
+    </xsd:schema>
+  </wsdl:types>
+  <wsdl:message name="IHostService_GenerateUID_InputMessage">
+    <wsdl:part name="parameters" element="tns:GenerateUID"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GenerateUID_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GenerateUIDResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetAvailableScreen_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetAvailableScreen"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetAvailableScreen_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetAvailableScreenResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetOutputLocation_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetOutputLocation"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetOutputLocation_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetOutputLocationResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyStateChanged_InputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyStateChanged"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyStateChanged_OutputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyStateChangedResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyStatus_InputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyStatus"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyStatus_OutputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyStatusResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyDataAvailable_InputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyDataAvailable"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_NotifyDataAvailable_OutputMessage">
+    <wsdl:part name="parameters" element="tns:NotifyDataAvailableResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetData_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetData"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetData_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetDataResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_ReleaseData_InputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseData"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_ReleaseData_OutputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseDataResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetAsModels_InputMessage">
+    <wsdl:part name="parameters" element="tns:GetAsModels"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_GetAsModels_OutputMessage">
+    <wsdl:part name="parameters" element="tns:GetAsModelsResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_ReleaseModels_InputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseModels"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_ReleaseModels_OutputMessage">
+    <wsdl:part name="parameters" element="tns:ReleaseModelsResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_QueryModel_InputMessage">
+    <wsdl:part name="parameters" element="tns:QueryModel"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_QueryModel_OutputMessage">
+    <wsdl:part name="parameters" element="tns:QueryModelResponse"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_QueryInfoSet_InputMessage">
+    <wsdl:part name="parameters" element="tns:QueryInfoSet"/>
+  </wsdl:message>
+  <wsdl:message name="IHostService_QueryInfoSet_OutputMessage">
+    <wsdl:part name="parameters" element="tns:QueryInfoSetResponse"/>
+  </wsdl:message>
+  <wsdl:portType name="IHostService-20100825">
+    <wsdl:operation name="GenerateUID">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GenerateUID"
+        message="tns:IHostService_GenerateUID_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GenerateUIDResponse"
+        message="tns:IHostService_GenerateUID_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetAvailableScreen">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetAvailableScreen"
+        message="tns:IHostService_GetAvailableScreen_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetAvailableScreenResponse"
+        message="tns:IHostService_GetAvailableScreen_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetOutputLocation">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetOutputLocation"
+        message="tns:IHostService_GetOutputLocation_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetOutputLocationResponse"
+        message="tns:IHostService_GetOutputLocation_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyStateChanged">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyStateChanged"
+        message="tns:IHostService_NotifyStateChanged_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyStateChangedResponse"
+        message="tns:IHostService_NotifyStateChanged_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyStatus">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyStatus"
+        message="tns:IHostService_NotifyStatus_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyStatusResponse"
+        message="tns:IHostService_NotifyStatus_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyDataAvailable">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyDataAvailable"
+        message="tns:IHostService_NotifyDataAvailable_InputMessage"/>
+      <wsdl:output
+        wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/NotifyDataAvailableResponse"
+        message="tns:IHostService_NotifyDataAvailable_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetData">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetData"
+        message="tns:IHostService_GetData_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetDataResponse"
+        message="tns:IHostService_GetData_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseData">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/ReleaseData"
+        message="tns:IHostService_ReleaseData_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/ReleaseDataResponse"
+        message="tns:IHostService_ReleaseData_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="GetAsModels">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetAsModels"
+        message="tns:IHostService_GetAsModels_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/GetAsModelsResponse"
+        message="tns:IHostService_GetAsModels_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseModels">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/ReleaseModels"
+        message="tns:IHostService_ReleaseModels_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/ReleaseModelsResponse"
+        message="tns:IHostService_ReleaseModels_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="QueryModel">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/QueryModel"
+        message="tns:IHostService_QueryModel_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/QueryModelResponse"
+        message="tns:IHostService_QueryModel_OutputMessage"/>
+    </wsdl:operation>
+    <wsdl:operation name="QueryInfoSet">
+      <wsdl:input wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/QueryInfoSet"
+        message="tns:IHostService_QueryInfoSet_InputMessage"/>
+      <wsdl:output wsaw:Action="http://dicom.nema.org/PS3.19/IHostService/QueryInfoSetResponse"
+        message="tns:IHostService_QueryInfoSet_OutputMessage"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="HostService-YYYYNNDDBinding" type="tns:IHostService-20100825">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="GenerateUID">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/GenerateUID"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetAvailableScreen">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/GetAvailableScreen"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetOutputLocation">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/GetOutputLocation"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyStateChanged">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/NotifyStateChanged"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyStatus">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/NotifyStatus"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="NotifyDataAvailable">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/NotifyDataAvailable"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetData">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/GetData"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseData">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/ReleaseData"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetAsModels">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/GetAsModels"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="ReleaseModels">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/ReleaseModels"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="QueryModel">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/QueryModel"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="QueryInfoSet">
+      <soap:operation soapAction="http://dicom.nema.org/PS3.19/IHostService/QueryInfoSet"
+        style="document"/>
+      <wsdl:input>
+        <soap:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="HostService-20100825">
+    <wsdl:port name="HostServiceBinding" binding="tns:HostService-YYYYNNDDBinding">
+      <soap:address location="http://localhost/Service"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions> 

+ 434 - 0
Plugins/org.commontk.dah.core/Resources/HostService-20100825.xsd

@@ -0,0 +1,434 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:tns="http://dicom.nema.org/PS3.19/HostService-20100825" elementFormDefault="qualified"
+  targetNamespace="http://dicom.nema.org/PS3.19/HostService-20100825" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
+  <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Xml.XPath"/>
+  <xs:element name="GenerateUID">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GenerateUIDResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GenerateUIDResult" nillable="true" type="tns:UID"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="UID">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Uid" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="UID" nillable="true" type="tns:UID"/>
+  <xs:element name="GetAvailableScreen">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="preferredScreen" nillable="true" type="tns:Rectangle"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="Rectangle">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Height" type="xs:int"/>
+      <xs:element minOccurs="0" name="Width" type="xs:int"/>
+      <xs:element minOccurs="0" name="RefPointX" type="xs:int"/>
+      <xs:element minOccurs="0" name="RefPointY" type="xs:int"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Rectangle" nillable="true" type="tns:Rectangle"/>
+  <xs:element name="GetAvailableScreenResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetAvailableScreenResult" nillable="true"
+          type="tns:Rectangle"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetOutputLocation">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="preferredProtocols" nillable="true"
+          xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+          type="q1:ArrayOfstring"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetOutputLocationResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetOutputLocationResult" nillable="true" type="xs:anyURI"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="NotifyStateChanged">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="state" type="tns:State"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:simpleType name="State">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="IDLE"/>
+      <xs:enumeration value="INPROGRESS"/>
+      <xs:enumeration value="SUSPENDED"/>
+      <xs:enumeration value="COMPLETED"/>
+      <xs:enumeration value="CANCELED"/>
+      <xs:enumeration value="EXIT"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="State" nillable="true" type="tns:State"/>
+  <xs:element name="NotifyStateChangedResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="NotifyStatus">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="status" nillable="true" type="tns:Status"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="Status">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="StatusType" type="tns:StatusType"/>
+      <xs:element minOccurs="0" name="CodeValue" type="xs:int"/>
+      <xs:element minOccurs="0" name="CodingSchemeDesignator" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="CodeMeaning" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ContextIdentifier" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="MappingResource" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ContextGroupVersion" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ContextGroupExtensionFlag" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ContextGroupLocalVersion" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ContextGroupExtensionCreatorUID" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Status" nillable="true" type="tns:Status"/>
+  <xs:simpleType name="StatusType">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="INFORMATION"/>
+      <xs:enumeration value="WARNING"/>
+      <xs:enumeration value="ERROR"/>
+      <xs:enumeration value="FATALERROR"/>
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="StatusType" nillable="true" type="tns:StatusType"/>
+  <xs:element name="NotifyStatusResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="NotifyDataAvailable">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="data" nillable="true" type="tns:AvailableData"/>
+        <xs:element minOccurs="0" name="lastData" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="AvailableData">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Patients" nillable="true" type="tns:ArrayOfPatient"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="AvailableData" nillable="true" type="tns:AvailableData"/>
+  <xs:complexType name="ArrayOfObjectDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjectDescriptor" nillable="true"
+        type="tns:ObjectDescriptor"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfObjectDescriptor" nillable="true" type="tns:ArrayOfObjectDescriptor"/>
+  <xs:complexType name="ObjectDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ClassUID" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="MimeType" nillable="true" type="tns:MimeType"/>
+      <xs:element minOccurs="0" name="Modality" nillable="true" type="tns:Modality"/>
+      <xs:element minOccurs="0" name="TransferSyntaxUID" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="DescriptorUuid" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ObjectDescriptor" nillable="true" type="tns:ObjectDescriptor"/>
+  <xs:complexType name="MimeType">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="MimeType" nillable="true" type="tns:MimeType"/>
+  <xs:complexType name="Modality">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Modality" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Modality" nillable="true" type="tns:Modality"/>
+  <xs:complexType name="UUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Uuid" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="UUID" nillable="true" type="tns:UUID"/>
+  <xs:complexType name="ArrayOfPatient">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Patient" nillable="true"
+        type="tns:Patient"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfPatient" nillable="true" type="tns:ArrayOfPatient"/>
+  <xs:complexType name="Patient">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="AssigningAuthority" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="DateOfBirth" type="xs:dateTime"/>
+      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Sex" nillable="true" type="xs:string"/>
+      <xs:element minOccurs="0" name="Studies" nillable="true" type="tns:ArrayOfStudy"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Patient" nillable="true" type="tns:Patient"/>
+  <xs:complexType name="ArrayOfStudy">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Study" nillable="true" type="tns:Study"
+      />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfStudy" nillable="true" type="tns:ArrayOfStudy"/>
+  <xs:complexType name="Study">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="Series" nillable="true" type="tns:ArrayOfSeries"/>
+      <xs:element minOccurs="0" name="StudyUID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Study" nillable="true" type="tns:Study"/>
+  <xs:complexType name="ArrayOfSeries">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Series" nillable="true"
+        type="tns:Series"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfSeries" nillable="true" type="tns:ArrayOfSeries"/>
+  <xs:complexType name="Series">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="ObjectDescriptors" nillable="true"
+        type="tns:ArrayOfObjectDescriptor"/>
+      <xs:element minOccurs="0" name="SeriesUID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Series" nillable="true" type="tns:Series"/>
+  <xs:element name="NotifyDataAvailableResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="NotifyDataAvailableResult" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetData">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="acceptableTransferSyntaxes" nillable="true"
+          type="tns:ArrayOfUID"/>
+        <xs:element minOccurs="0" name="includeBulkData" type="xs:boolean"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfUUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="UUID" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfUUID" nillable="true" type="tns:ArrayOfUUID"/>
+  <xs:complexType name="ArrayOfUID">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="UID" nillable="true" type="tns:UID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfUID" nillable="true" type="tns:ArrayOfUID"/>
+  <xs:element name="GetDataResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetDataResult" nillable="true"
+          type="tns:ArrayOfObjectLocator"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfObjectLocator">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="ObjectLocator" nillable="true"
+        type="tns:ObjectLocator"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfObjectLocator" nillable="true" type="tns:ArrayOfObjectLocator"/>
+  <xs:complexType name="ObjectLocator">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Length" type="xs:long"/>
+      <xs:element minOccurs="0" name="Offset" type="xs:long"/>
+      <xs:element minOccurs="0" name="TransferSyntax" nillable="true" type="tns:UID"/>
+      <xs:element minOccurs="0" name="URI" nillable="true" type="xs:anyURI"/>
+      <xs:element minOccurs="0" name="Locator" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Source" nillable="true" type="tns:UUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ObjectLocator" nillable="true" type="tns:ObjectLocator"/>
+  <xs:element name="ReleaseData">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="ReleaseDataResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="GetAsModels">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="objects" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="classUID" nillable="true" type="tns:UID"/>
+        <xs:element minOccurs="0" name="supportedInfoSetTypes" nillable="true"
+          type="tns:ArrayOfMimeType"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfMimeType">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="MimeType" nillable="true"
+        type="tns:MimeType"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfMimeType" nillable="true" type="tns:ArrayOfMimeType"/>
+  <xs:element name="GetAsModelsResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="GetAsModelsResult" nillable="true"
+          type="tns:ModelSetDescriptor"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ModelSetDescriptor">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="FailedSourceObjects" nillable="true" type="tns:ArrayOfUUID"/>
+      <xs:element minOccurs="0" name="InfosetType" nillable="true" type="tns:MimeType"/>
+      <xs:element minOccurs="0" name="Models" nillable="true" type="tns:ArrayOfUUID"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ModelSetDescriptor" nillable="true" type="tns:ModelSetDescriptor"/>
+  <xs:element name="ReleaseModels">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="ReleaseModelsResponse">
+    <xs:complexType>
+      <xs:sequence/>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryModel">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="xPaths" nillable="true"
+          xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+          type="q2:ArrayOfstring"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryModelResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="QueryModelResult" nillable="true"
+          type="tns:ArrayOfQueryResult"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfQueryResult">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="QueryResult" nillable="true"
+        type="tns:QueryResult"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfQueryResult" nillable="true" type="tns:ArrayOfQueryResult"/>
+  <xs:complexType name="QueryResult">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Model" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:ArrayOfXPathNode"/>
+      <xs:element minOccurs="0" name="XPath" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="QueryResult" nillable="true" type="tns:QueryResult"/>
+  <xs:complexType name="ArrayOfXPathNode">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="XPathNode" nillable="true"
+        type="tns:XPathNode"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfXPathNode" nillable="true" type="tns:ArrayOfXPathNode"/>
+  <xs:complexType name="XPathNode">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="NodeType"
+        xmlns:q3="http://schemas.datacontract.org/2004/07/System.Xml.XPath" type="q3:XPathNodeType"/>
+      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="XPathNode" nillable="true" type="tns:XPathNode"/>
+  <xs:element name="QueryInfoSet">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="models" nillable="true" type="tns:ArrayOfUUID"/>
+        <xs:element minOccurs="0" name="xPaths" nillable="true"
+          xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
+          type="q4:ArrayOfstring"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="QueryInfoSetResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="QueryInfoSetResult" nillable="true"
+          type="tns:ArrayOfQueryResultInfoSet"/>
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:complexType name="ArrayOfQueryResultInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="QueryResultInfoSet" nillable="true"
+        type="tns:QueryResultInfoSet"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfQueryResultInfoSet" nillable="true" type="tns:ArrayOfQueryResultInfoSet"/>
+  <xs:complexType name="QueryResultInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="Model" nillable="true" type="tns:UUID"/>
+      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:ArrayOfXPathNodeInfoSet"/>
+      <xs:element minOccurs="0" name="XPath" nillable="true" type="xs:string"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="QueryResultInfoSet" nillable="true" type="tns:QueryResultInfoSet"/>
+  <xs:complexType name="ArrayOfXPathNodeInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="XPathNodeInfoSet" nillable="true"
+        type="tns:XPathNodeInfoSet"/>
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfXPathNodeInfoSet" nillable="true" type="tns:ArrayOfXPathNodeInfoSet"/>
+  <xs:complexType name="XPathNodeInfoSet">
+    <xs:sequence>
+      <xs:element minOccurs="0" name="InfoSetValue" nillable="true" type="xs:base64Binary"/>
+      <xs:element minOccurs="0" name="NodeType"
+        xmlns:q5="http://schemas.datacontract.org/2004/07/System.Xml.XPath" type="q5:XPathNodeType"
+      />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="XPathNodeInfoSet" nillable="true" type="tns:XPathNodeInfoSet"/>
+</xs:schema> 

+ 0 - 235
Plugins/org.commontk.dah.core/Resources/HostService.wsdl

@@ -1,235 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-
-<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.1 in JDK 6. -->
-<definitions targetNamespace="http://wg23.dicom.nema.org/" name="HostService"
-	xmlns="http://schemas.xmlsoap.org/wsdl/"
-	xmlns:tns="http://wg23.dicom.nema.org/"
-	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-	<types>
-		<xsd:schema>
-			<xsd:import namespace="http://wg23.dicom.nema.org/"
-				schemaLocation="HostService_schema1.xsd"/>
-		</xsd:schema>
-	</types>
-	<message name="generateUID">
-		<part name="parameters" element="tns:generateUID"/>
-	</message>
-	<message name="generateUIDResponse">
-		<part name="parameters" element="tns:generateUIDResponse"/>
-	</message>
-	<message name="getAvailableScreen">
-		<part name="parameters" element="tns:getAvailableScreen"/>
-	</message>
-	<message name="getAvailableScreenResponse">
-		<part name="parameters" element="tns:getAvailableScreenResponse"/>
-	</message>
-	<message name="getOutputDir">
-		<part name="parameters" element="tns:getOutputDir"/>
-	</message>
-	<message name="getOutputDirResponse">
-		<part name="parameters" element="tns:getOutputDirResponse"/>
-	</message>
-	<message name="getTmpDir">
-		<part name="parameters" element="tns:getTmpDir"/>
-	</message>
-	<message name="getTmpDirResponse">
-		<part name="parameters" element="tns:getTmpDirResponse"/>
-	</message>
-	<message name="notifyStateChanged">
-		<part name="parameters" element="tns:notifyStateChanged"/>
-	</message>
-	<message name="notifyStateChangedResponse">
-		<part name="parameters" element="tns:notifyStateChangedResponse"/>
-	</message>
-	<message name="notifyStatus">
-		<part name="parameters" element="tns:notifyStatus"/>
-	</message>
-	<message name="notifyStatusResponse">
-		<part name="parameters" element="tns:notifyStatusResponse"/>
-	</message>
-	<message name="getAsModels">
-		<part name="parameters" element="tns:getAsModels"/>
-	</message>
-	<message name="getAsModelsResponse">
-		<part name="parameters" element="tns:getAsModelsResponse"/>
-	</message>
-	<message name="getDataAsFile">
-		<part name="parameters" element="tns:getDataAsFile"/>
-	</message>
-	<message name="getDataAsFileResponse">
-		<part name="parameters" element="tns:getDataAsFileResponse"/>
-	</message>
-	<message name="getDataAsSpecificTypeFile">
-		<part name="parameters" element="tns:getDataAsSpecificTypeFile"/>
-	</message>
-	<message name="getDataAsSpecificTypeFileResponse">
-		<part name="parameters" element="tns:getDataAsSpecificTypeFileResponse"/>
-	</message>	
-	<message name="notifyDataAvailable">
-		<part name="parameters" element="tns:notifyDataAvailable"/>
-	</message>
-	<message name="notifyDataAvailableResponse">
-		<part name="parameters" element="tns:notifyDataAvailableResponse"/>
-	</message>
-	<message name="queryModel">
-		<part name="parameters" element="tns:queryModel"/>
-	</message>
-	<message name="queryModelResponse">
-		<part name="parameters" element="tns:queryModelResponse"/>
-	</message>
-	<portType name="Host">
-		<operation name="generateUID">
-			<input message="tns:generateUID"/>
-			<output message="tns:generateUIDResponse"/>
-		</operation>
-		<operation name="getAvailableScreen">
-			<input message="tns:getAvailableScreen"/>
-			<output message="tns:getAvailableScreenResponse"/>
-		</operation>
-		<operation name="getOutputDir">
-			<input message="tns:getOutputDir"/>
-			<output message="tns:getOutputDirResponse"/>
-		</operation>
-		<operation name="getTmpDir">
-			<input message="tns:getTmpDir"/>
-			<output message="tns:getTmpDirResponse"/>
-		</operation>
-		<operation name="notifyStateChanged">
-			<input message="tns:notifyStateChanged"/>
-			<output message="tns:notifyStateChangedResponse"/>
-		</operation>
-		<operation name="notifyStatus">
-			<input message="tns:notifyStatus"/>
-			<output message="tns:notifyStatusResponse"/>
-		</operation>
-		<operation name="getAsModels">
-			<input message="tns:getAsModels"/>
-			<output message="tns:getAsModelsResponse"/>
-		</operation>
-		<operation name="getDataAsFile">
-			<input message="tns:getDataAsFile"/>
-			<output message="tns:getDataAsFileResponse"/>
-		</operation>
-		<operation name="getDataAsSpecificTypeFile">
-			<input message="tns:getDataAsSpecificTypeFile"/>
-			<output message="tns:getDataAsSpecificTypeFileResponse"/>
-		</operation>		
-		<operation name="notifyDataAvailable">
-			<input message="tns:notifyDataAvailable"/>
-			<output message="tns:notifyDataAvailableResponse"/>
-		</operation>
-		<operation name="queryModel">
-			<input message="tns:queryModel"/>
-			<output message="tns:queryModelResponse"/>
-		</operation>
-	</portType>
-	<binding name="HostPortBinding" type="tns:Host">
-		<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
-			style="document"/>
-		<operation name="generateUID">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getAvailableScreen">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getOutputDir">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getTmpDir">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="notifyStateChanged">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="notifyStatus">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getAsModels">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getDataAsFile">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="getDataAsSpecificTypeFile">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>		
-		<operation name="notifyDataAvailable">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-		<operation name="queryModel">
-			<soap:operation soapAction=""/>
-			<input>
-				<soap:body use="literal"/>
-			</input>
-			<output>
-				<soap:body use="literal"/>
-			</output>
-		</operation>
-	</binding>
-	<service name="HostService">
-		<port name="HostPort" binding="tns:HostPortBinding">
-			<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
-		</port>
-	</service>
-</definitions>

+ 0 - 315
Plugins/org.commontk.dah.core/Resources/HostService_schema1.xsd

@@ -1,315 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<xs:schema elementFormDefault="qualified" version="1.0"
-	targetNamespace="http://wg23.dicom.nema.org/"
-	xmlns:tns="http://wg23.dicom.nema.org/"
-	xmlns:xs="http://www.w3.org/2001/XMLSchema">
-	
-	<xs:element name="generateUID" type="tns:generateUID"/>
-	<xs:element name="generateUIDResponse" type="tns:generateUIDResponse"/>
-	<xs:element name="getAsModels" type="tns:getAsModels"/>
-	<xs:element name="getAsModelsResponse" type="tns:getAsModelsResponse"/>
-	<xs:element name="getAvailableScreen" type="tns:getAvailableScreen"/>
-	<xs:element name="getAvailableScreenResponse"
-		type="tns:getAvailableScreenResponse"/>
-	<xs:element name="getDataAsFile" type="tns:getDataAsFile"/>
-	<xs:element name="getDataAsFileResponse" type="tns:getDataAsFileResponse"/>
-	<xs:element name="getDataAsSpecificTypeFile"
-		type="tns:getDataAsSpecificTypeFile"/>
-	<xs:element name="getDataAsSpecificTypeFileResponse"
-		type="tns:getDataAsSpecificTypeFileResponse"/>
-	<xs:element name="getOutputDir" type="tns:getOutputDir"/>
-	<xs:element name="getOutputDirResponse" type="tns:getOutputDirResponse"/>
-	<xs:element name="getTmpDir" type="tns:getTmpDir"/>
-	<xs:element name="getTmpDirResponse" type="tns:getTmpDirResponse"/>
-	<xs:element name="notifyDataAvailable" type="tns:notifyDataAvailable"/>
-	<xs:element name="notifyDataAvailableResponse"
-		type="tns:notifyDataAvailableResponse"/>
-	<xs:element name="notifyStateChanged" type="tns:notifyStateChanged"/>
-	<xs:element name="notifyStateChangedResponse"
-		type="tns:notifyStateChangedResponse"/>
-	<xs:element name="notifyStatus" type="tns:notifyStatus"/>
-	<xs:element name="notifyStatusResponse" type="tns:notifyStatusResponse"/>
-	<xs:element name="queryModel" type="tns:queryModel"/>
-	<xs:element name="queryModelResponse" type="tns:queryModelResponse"/>
-	
-	<xs:complexType name="getDataAsFile">
-		<xs:sequence>
-			<xs:element name="uuids" type="tns:ArrayOfUUID"/>
-			<xs:element name="includeBulkData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getDataAsFileResponse">
-		<xs:sequence>
-			<xs:element name="objectLocators" type="tns:ArrayOfObjectLocator"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getDataAsSpecificTypeFile">
-		<xs:sequence>
-			<xs:element name="objectUUIDs" type="tns:ArrayOfUUID"/>
-			<xs:element name="mimeType" type="xs:string"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-			<xs:element name="includeBulkData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getDataAsSpecificTypeFileResponse">
-		<xs:sequence>
-			<xs:element name="objectLocators" type="tns:ArrayOfObjectLocator"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="uuid">
-		<xs:sequence>
-			<xs:element name="uuid" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="objectLocator">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid"/>
-			<xs:element name="uri" type="xs:anyURI"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getAvailableScreen">
-		<xs:sequence>
-			<xs:element name="appPreferredScreen" type="tns:rectangle"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="rectangle">
-		<xs:sequence>
-			<xs:element name="refPointX" type="xs:int"/>
-			<xs:element name="refPointY" type="xs:int"/>
-			<xs:element name="width" type="xs:int"/>
-			<xs:element name="height" type="xs:int"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getAvailableScreenResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="tns:rectangle"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="notifyDataAvailable">
-		<xs:sequence>
-			<xs:element name="availableData" type="tns:availableData"/>
-			<xs:element name="lastData" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="availableData">
-		<xs:sequence>
-			<xs:element name="patients" type="tns:ArrayOfPatient"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="patient">
-		<xs:sequence>
-			<xs:element name="name" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-			<xs:element name="studies" type="tns:ArrayOfStudy"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="study">
-		<xs:sequence>
-			<xs:element name="studyUID" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-			<xs:element name="series" type="tns:ArrayOfSeries"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="series">
-		<xs:sequence>
-			<xs:element name="seriesUID" type="xs:string"/>
-			<xs:element name="objectDescriptors"
-				type="tns:ArrayOfObjectDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="modality">
-		<xs:sequence>
-			<xs:element name="modality" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="objectDescriptor">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid"/>
-			<xs:element name="mimeType" type="xs:string"/>
-			<xs:element name="classUID" type="tns:uid"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-			<xs:element name="modality" type="tns:modality"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="uid">
-		<xs:sequence>
-			<xs:element name="uid" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="notifyDataAvailableResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="queryModel">
-		<xs:sequence>
-			<xs:element name="objUUIDs" type="tns:ArrayOfUUID"/>
-			<xs:element name="modelXpaths" type="tns:ArrayOfString"/>
-			<xs:element name="includeBulkDataPointers" type="xs:boolean"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="queryModelResponse">
-		<xs:sequence>
-			<xs:element name="queryResults" type="tns:ArrayOfQueryResult"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="queryResult">
-		<xs:sequence>
-			<xs:element name="model" type="tns:uuid"/>
-			<xs:element name="xpath" type="xs:string"/>
-			<xs:element name="results" type="tns:ArrayOfString"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="getAsModels">
-		<xs:sequence>
-			<xs:element name="uuids" type="tns:ArrayOfUUID"/>
-			<xs:element name="classUID" type="tns:uid"/>
-			<xs:element name="transferSyntaxUID" type="tns:uid"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getAsModelsResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="tns:modelSetDescriptor"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="modelSetDescriptor">
-		<xs:sequence>
-			<xs:element name="models" type="tns:ArrayOfUUID"/>
-			<xs:element name="failedSourceObjects" type="tns:ArrayOfUUID"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="notifyStatus">
-		<xs:sequence>
-			<xs:element name="newStatus" type="tns:status"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="status">
-		<xs:sequence>
-			<xs:element name="codeValue" type="xs:int"/>
-			<xs:element name="codingSchemeDesignator" type="xs:string"/>
-			<xs:element name="message" type="xs:string"/>
-			<xs:element name="statusType" type="tns:statusType"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="notifyStatusResponse">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="notifyStateChanged">
-		<xs:sequence>
-			<xs:element name="newState" type="tns:state"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="notifyStateChangedResponse">
-		<xs:sequence/>
-	</xs:complexType>
-	
-	<xs:complexType name="getTmpDir">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="getTmpDirResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="generateUID">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="generateUIDResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="tns:uid"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="getOutputDir">
-		<xs:sequence/>
-	</xs:complexType>
-	<xs:complexType name="getOutputDirResponse">
-		<xs:sequence>
-			<xs:element name="retval" type="xs:string"/>
-		</xs:sequence>
-	</xs:complexType>
-	
-	<xs:complexType name="ArrayOfUUID">
-		<xs:sequence>
-			<xs:element name="uuid" type="tns:uuid" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfPatient">
-		<xs:sequence>
-			<xs:element name="patient" type="tns:patient" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfStudy">
-		<xs:sequence>
-			<xs:element name="study" type="tns:study" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfSeries">
-		<xs:sequence>
-			<xs:element name="series" type="tns:series" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfObjectLocator">
-		<xs:sequence>
-			<xs:element name="objectLocator" type="tns:objectLocator" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfObjectDescriptor">
-		<xs:sequence>
-			<xs:element name="objectDescriptor" type="tns:objectDescriptor"
-				minOccurs="0" maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfString">
-		<xs:sequence>
-			<xs:element name="string" type="xs:string" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:complexType name="ArrayOfQueryResult">
-		<xs:sequence>
-			<xs:element name="queryResult" type="tns:queryResult" minOccurs="0"
-				maxOccurs="unbounded"/>
-		</xs:sequence>
-	</xs:complexType>
-	<xs:simpleType name="statusType">
-		<xs:restriction base="xs:string">
-			<xs:enumeration value="FATALERROR"/>
-			<xs:enumeration value="WARNING"/>
-			<xs:enumeration value="ERROR"/>
-			<xs:enumeration value="INFORMATION"/>
-		</xs:restriction>
-	</xs:simpleType>
-	<xs:simpleType name="state">
-		<xs:restriction base="xs:string">
-			<xs:enumeration value="EXIT"/>
-			<xs:enumeration value="CANCELED"/>
-			<xs:enumeration value="SUSPENDED"/>
-			<xs:enumeration value="COMPLETED"/>
-			<xs:enumeration value="INPROGRESS"/>
-			<xs:enumeration value="IDLE"/>
-		</xs:restriction>
-	</xs:simpleType>
-</xs:schema>

+ 57 - 0
Plugins/org.commontk.dah.core/Resources/NativeDICOM.rnc

@@ -0,0 +1,57 @@
+default namespace="http://dicom.nema.org/PS3.19/models/NativeDICOM"
+
+# This schema was created as an intermediary, a means of describing
+# native binary encoded DICOM objects as XML Infosets, thus allowing  
+# one to manipulate binary DICOM objects using familiar XML tools. 
+# As such, the schema is designed to facilitate a simple, mechanical,
+# bi-directional translation between binary encoded DICOM and XML-like 
+# constructs without constraints, and to simplify identifying portions 
+# of a DICOM object using XPath statements.
+#
+# Since this schema has minimal type checking, it is neither intended 
+# to be used for any operation that involves hand coding, nor to 
+# describe a definitive, fully validating encoding of DICOM concepts
+# into XML, as what one might use, for example, in a robust XML  
+# database system or in XML-based forms, though it may be used
+# as a means for translating binary DICOM Objects into such a form
+# (e.g. through an XSLT script).
+
+start = element NativeDicomModel { DicomDataSet }
+
+# A DICOM Data Set is as defined in PS3.5.  It does not appear 
+# as an XML Element, since it does not appear in the binary encoded 
+# DICOM objects.  It exists here merely as a documentation aid. 
+DicomDataSet = DicomAttribute*
+
+DicomAttribute = element DicomAttribute {
+  Tag, VR, Keyword?, PrivateCreator?, 
+  ( BulkData | Value+ | Item+ | PersonName+ )? 
+} 
+BulkData = element BulkData{ UUID } 
+Value = element Value { Number, xsd:string }
+Item = element Item { Number, DicomDataSet }
+PersonName = element PersonName {
+  Number,
+  element SingleByte  { NameComponents }?,
+  element Ideographic { NameComponents }?,
+  element Phonetic    { NameComponents }?
+}
+
+NameComponents =
+  element FamilyName {xsd:string}?,
+  element GivenName  {xsd:string}?,
+  element MiddleName {xsd:string}?,
+  element NamePrefix {xsd:string}?,
+  element NameSuffix {xsd:string}?
+  
+# keyword is the attribute tag from PS3.6 
+# (derived from the DICOM Attribute's name)
+Keyword = attribute keyword { xsd:token }
+# canonical XML definition of Hex, with lowercase letters disallowed
+Tag = attribute tag { xsd:string{ minLength="8" maxLength="8" pattern="[0-9A-F]{8}" } } 
+VR = attribute vr { "AE" | "AS" | "AT"| "CS" | "DA" | "DS" | "DT" | "FL" | "FD" 
+                    | "IS" | "LO" | "LT" | "OB" | "OF" | "OW" | "PN" | "SH" | "SL" 
+                    | "SQ" | "SS" | "ST" | "TM" | "UI" | "UL" | "UN" | "US" | "UT" }
+PrivateCreator = attribute privateCreator{ xsd:string }
+UUID = attribute uuid { xsd:string }
+Number = attribute number { xsd:positiveInteger } 

+ 42 - 0
Plugins/org.commontk.dah.core/Resources/Types.xsd

@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:element name="anyType" nillable="true" type="xs:anyType" />
+  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
+  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
+  <xs:element name="boolean" nillable="true" type="xs:boolean" />
+  <xs:element name="byte" nillable="true" type="xs:byte" />
+  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
+  <xs:element name="decimal" nillable="true" type="xs:decimal" />
+  <xs:element name="double" nillable="true" type="xs:double" />
+  <xs:element name="float" nillable="true" type="xs:float" />
+  <xs:element name="int" nillable="true" type="xs:int" />
+  <xs:element name="long" nillable="true" type="xs:long" />
+  <xs:element name="QName" nillable="true" type="xs:QName" />
+  <xs:element name="short" nillable="true" type="xs:short" />
+  <xs:element name="string" nillable="true" type="xs:string" />
+  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
+  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
+  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
+  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
+  <xs:element name="char" nillable="true" type="tns:char" />
+  <xs:simpleType name="char">
+    <xs:restriction base="xs:int" />
+  </xs:simpleType>
+  <xs:element name="duration" nillable="true" type="tns:duration" />
+  <xs:simpleType name="duration">
+    <xs:restriction base="xs:duration">
+      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
+      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
+      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="guid" nillable="true" type="tns:guid" />
+  <xs:simpleType name="guid">
+    <xs:restriction base="xs:string">
+      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:attribute name="FactoryType" type="xs:QName" />
+  <xs:attribute name="Id" type="xs:ID" />
+  <xs:attribute name="Ref" type="xs:IDREF" />
+</xs:schema>

+ 18 - 0
Plugins/org.commontk.dah.core/Resources/XPathNodeType.xsd

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System.Xml.XPath" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System.Xml.XPath" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+  <xs:simpleType name="XPathNodeType">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="Root" />
+      <xs:enumeration value="Element" />
+      <xs:enumeration value="Attribute" />
+      <xs:enumeration value="Namespace" />
+      <xs:enumeration value="Text" />
+      <xs:enumeration value="SignificantWhitespace" />
+      <xs:enumeration value="Whitespace" />
+      <xs:enumeration value="ProcessingInstruction" />
+      <xs:enumeration value="Comment" />
+      <xs:enumeration value="All" />
+    </xs:restriction>
+  </xs:simpleType>
+  <xs:element name="XPathNodeType" nillable="true" type="tns:XPathNodeType" />
+</xs:schema>

+ 7 - 4
Plugins/org.commontk.dah.core/Resources/dah_wsdl.qrc

@@ -1,9 +1,12 @@
 <!DOCTYPE RCC><RCC version="1.0">
 <qresource prefix="/dah">
-  <file>HostService.wsdl</file>
-  <file>HostService_schema1.xsd</file>
-  <file>ApplicationService.wsdl</file>
-  <file>ApplicationService_schema1.xsd</file>
+  <file>HostService-20100825.wsdl</file>
+  <file>HostService-20100825.xsd</file>
+  <file>ApplicationService-20100825.wsdl</file>
+  <file>ApplicationService-20100825.xsd</file>
+  <file>XPathNodeType.xsd</file>
+  <file>ArrayOfString.xsd</file>
+  <file>Types.xsd</file>
 </qresource>
 </RCC>