ServiceProperty

使用此元素来指定服务的属性。

包含于

ServicePropertyArray

包含

属性

字段 描述
属性: bindingName
有效值: QNAME
必需?:
缺省值: 请参阅描述
指定 WSDL 文件中绑定元素的名称。

默认值为EISService 元素的 name 属性(如果未指定,则为 xsebatch 命令行调用的-w参数值)与 EISService 元素 type 属性的 UPPER-CASED 值连接。

属性: portName
有效值: QNAME
必需?:
缺省值: 请参阅描述
指定 WSDL 文件中的 port 元素的名称。

默认值为EISService 元素的 name 属性(如果未指定,则为 xsebatch 命令行调用的-w参数值)与 EISService 元素 type 属性的 UPPER-CASED 值连接。

属性: portType
有效值: QNAME
必需?:
缺省值: 请参阅描述
指定 WSDL 文件中端口类型元素的名称。

默认值为EISService 元素的 name 属性(如果未指定,则为 xsebatch 命令行调用的-w参数值)与 EISService 元素 type 属性的 UPPER-CASED 值连接。

属性: selectService
有效值: QNAME
必需?:
缺省值:
对于自顶向下方案,此属性选择可复用绑定中的特定服务。 它仅适用于 WSDL 2.0 绑定,对于任何先前版本的 WSDL 都将被忽略。 对于不支持 WSDL 2.0的任何非自顶向下方案和方案,也会将其忽略。
属性: serviceName
有效值: QNAME
必需?:
缺省值: 请参阅描述
指定 WSDL 文件中服务元素的名称属性的值。

默认值为EISService 元素的 name 属性(如果未指定,则为 xsebatch 命令行调用的-w参数值)与 EISService 元素 type 属性的 UPPER-CASED 值连接。

属性: soapBindingStyle'
有效值: document | rpc
'必需?
缺省值: 文档
指定 WSDL 文件中绑定元素的 style 属性的值。 该值必须与soapOpStyle.in 操作属性相匹配。
属性: soapTransport
有效值: URI
必需?:
缺省值: 请参阅描述
指定 WSDL 文件中绑定元素的传输属性的值。

缺省值为: http://schemas.xmlsoap.org/soap/http

示例

图 1是 "ServicePropertyArray元素中 "ServiceProperty元素的示例。
图 1。 ServiceProperty 元素的示例
<ServicePropertyArray>
        <ServiceProperty name="bindingName" value="myBinding" />
        <ServiceProperty name="bindingType" value="SOAP" />
        <ServiceProperty name="soapTransport" value="http://schemas.xmlsoap.org/soap/http" />
        <ServiceProperty name="soapBindingStyle" value="document" />
        <ServiceProperty name="selectService" value="BankAccountServices" />

</ServicePropertyArray>