需要从HTML表单传递复杂类型的数据

时间:2014-03-03 04:44:58

标签: html5 soap wsdl soap-client

我有几个与我的服务器通信的wsdl文件。我开发了一个html页面,它将数据发送到wsdl,wsdl以服务器请求格式转换数据,并将响应作为soap xml返回。由于所有文本字段都接受字符串值,所以我没有遇到任何问题。但现在我遇到了一个名为StringOrderedCollection的wsdl中的复杂类型。以下是代码:

<xsd:complexType name="StringOrderedCollection">
     <xsd:complexContent>
         <xsd:restriction base="enc:Array">
            <xsd:attribute ref="enc:arrayType" wsdl:arrayType="xsd:string[]"/>
         </xsd:restriction>
     </xsd:complexContent>
</xsd:complexType>

并且atrribute wsdl接受为:

<wsdl:message name="FwReasonCodeMatchAnyTxnRequest">
        <wsdl:part name="categories" type="btl:StringOrderedCollection"/>
</wsdl:message>

如果用户必须在文本字段中输入数据,是否可以建议我如何使用html页面?我对此非常陌生,所以希望专家可以在这里帮助我。感谢您的帮助

0 个答案:

没有答案
相关问题