[MS-WSDS] xml规范未完成 [英] [MS-WSDS] xml specification not complete
问题描述
实现[MS-WSDS](Active Directory Web服务枚举)时,这是一组备注
Here is a set of remark when implementing [MS-WSDS] (Active Directory Web Service enumeration)
7。附件B
xs和xsd标签混合使xsd文件不正确。
xs and xsd tag are mixed making the xsd file incorrect.
根本原因是在xsd开头声明的命名空间是xsd,而ws枚举使用xs。
The root cause is that the namespace declared at the beginning of your xsd is xsd while the ws-enumeration use xs.
示例:
< xsd:element name =" Enumerate">
<xsd:element name="Enumerate">
< xsd:complexType>
<xsd:complexType>
< xsd:sequence>
<xsd:sequence>
< xsd:element name =" EndTo"类型= QUOT; WSA:EndpointReferenceType"的minOccurs = QUOT; 0" />
<xsd:element name="EndTo" type="wsa:EndpointReferenceType" minOccurs="0" />
< xsd:element name =" Expires"类型= QUOT; wsen:ExpirationType"的minOccurs = QUOT; 0" />
<xsd:element name="Expires" type="wsen:ExpirationType" minOccurs="0" />
< xs:element name =" Filter"类型= QUOT; wsen:过滤式"的minOccurs = QUOT; 0" maxOccurs的= QUOT 1 QUOT; />
<xs:element name="Filter" type="wsen:FilterType" minOccurs="0" maxOccurs="1" />
< xsd:element ref =" ad:Selection"
<xsd:element ref="ad:Selection"
minOccurs =" 0" maxOccurs的= QUOT 1 QUOT; />
minOccurs="0" maxOccurs="1" />
< xsd:element ref =" ad:Sorting"
<xsd:element ref="ad:Sorting"
minOccurs =" 0" maxOccurs的= QUOT 1 QUOT; />
minOccurs="0" maxOccurs="1" />
< / xsd:sequence>
</xsd:sequence>
< / xsd:complexType>
</xsd:complexType>
< / xsd:element>
</xsd:element>
有些xsd不正确。例如,selectionproperty不是xsd:string而是xsd:QName(限定命名空间)
Some xsd are incorrect. For example, the selectionproperty is not an xsd:string but a xsd:QName (qualified namespace)
< ; xsd:element name =" SelectionProperty"类型= QUOT; XSD:串QUOT;的minOccurs = QUOT 1 QUOT;
<xsd:element name="SelectionProperty" type="xsd:string" minOccurs="1"
maxOccurs =" unbounded" />
maxOccurs ="unbounded" />
您自己的文档示例:
< ad: SelectionProperty>
<ad:SelectionProperty>
ad: container-hierarchy-parent
ad:container-hierarchy-parent
< / ad:SelectionProperty>
</ad:SelectionProperty>
< ad:SelectionProperty>
<ad:SelectionProperty>
addata: relativeDistinguishedName
addata:relativeDistinguishedName
< / ad:SelectionProperty>
</ad:SelectionProperty>
调用方法时的故障模式未在本规范中定义(但在检索时可以反过来来自网络服务的wsdl)
Fault schema when calling the method are not defined in this specification (but can be reversed when retrieving the wsdl from the webservice)
问候,
Vincent LE TOUX
Vincent LE TOUX
推荐答案
Hello Vincent:
Hello Vincent :
感谢您与Microsoft支持部门联系。支持工程师将联系以进一步协助。
Thank you for contacting Microsoft Support. A support engineer will be in touch to assist further.
问候
这篇关于[MS-WSDS] xml规范未完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!