我正在查看一个应该定义 WSDL Web 服务的 XSD 文档。查看 ftp://ftp.ihe.net/TF_Implementation_Material/ITI/schema/IHE/RFD.xsd我不知道如何将此 XSD 转换为有意义的 Web 服务合同。是否存在一些可以自动解析 XSD 并创建 Web 服务存根的工具?我如何将 XSD 解释为 WSDL 合同?——下面的片段...
<xs:complexType name="workflowDataType">
<xs:sequence>
<xs:element name="formID" type="xs:string">
<xs:annotation>
<xs:documentation>The identifier of the form to be retrieved.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="encodedResponse" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>
true - return either Structured or Unstructured inline form content false - return a URL to the form
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="archiveURL" type="xs:anyURI" minOccurs="0">
<xs:annotation>
<xs:documentation>
The URL that the Form Filler provides to the Form Manager so that the returned form can have the archive location prefilled.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="context" type="anyXMLContentType" nillable="true">
<xs:annotation>
<xs:documentation>tbd an IHE Content Profile</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="instanceID" type="xs:string" nillable="true">
<xs:annotation>
<xs:documentation>
An optional form instanceID returned by the Form Manager
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>