第五十七章 生成的 WSDL 的详细信息 - 其他可能的变化

2024-07-14  本文已影响0人  Cache技术分享

第五十七章 生成的 WSDL 的详细信息 - 其他可能的变化

其他可能的变化

以下附加参数也会影响<types>元素:

默认情况下,INCLUDEDOCUMENTATION0

例如,假设我们编辑示例web服务以添加以下内容:

Parameter INCLUDEDOCUMENTATION = 1;

在这种情况下,<types>部分包括以下内容:

...
<s:complexType name="ComplexNumber">
    <s:annotation>
        <s:documentation>A complex number</s:documentation>
    </s:annotation>
    <s:sequence>
        <s:element minOccurs="0" name="Real" type="s:double">
            <s:annotation>
                <s:documentation>real part of the complex number</s:documentation>
            </s:annotation>
        </s:element>
        <s:element minOccurs="0" name="Imaginary" type="s:double">
            <s:annotation>
                <s:documentation>imaginary part of the complex number</s:documentation>
            </s:annotation>
        </s:element>
    </s:sequence>
</s:complexType>
...
上一篇 下一篇

猜你喜欢

热点阅读