在SOAP请求中输入数组

在SOAP请求中输入数组,soap,wsdl,Soap,Wsdl,我有一个从SOAP UI生成的SOAP请求,并了解如何指定字符串和int,但我不确定如何为testAddress字段输入数组。这是wsdl,下面是soap请求。你知道我怎么说一个或两个电子邮件地址吗。tim@tim.com及tom@tim.com. 谢谢 用户名 密码 #修剪(邮寄ID)# html #修剪(邮寄ID)# tim@tim.com HTML <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-in

我有一个从SOAP UI生成的SOAP请求,并了解如何指定字符串和int,但我不确定如何为testAddress字段输入数组。这是wsdl,下面是soap请求。你知道我怎么说一个或两个电子邮件地址吗。tim@tim.com及tom@tim.com. 谢谢


用户名
密码
#修剪(邮寄ID)#
html

#修剪(邮寄ID)#
tim@tim.com
HTML
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.web.stormpost.skylist.com">
   <soapenv:Header>
      <authInfo xsi:type="soap:authentication" xmlns:soap="http://skylist.com/services/SoapRequestProcessor">
         <!--You may enter the following 2 items in any order-->
         <username xsi:type="xsd:string">username</username>
         <password xsi:type="xsd:string">password</password>
      </authInfo>
   </soapenv:Header>
   <soapenv:Body>
      <ser:sendTestMessage soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <mailingID xsi:type="xsd:int">#trim(mailingID)#</mailingID>
         <testAddresses xsi:type="soap:ArrayOf_soapenc_string" soapenc:arrayType="soapenc:string[]" xmlns:soap="http://skylist.com/services/SoapRequestProcessor" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"/>
         <part xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">html</part>
      </ser:sendTestMessage>
   </soapenv:Body>
</soapenv:Envelope>
 <ser:sendTestMessage soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
        <cfoutput> <mailingID xsi:type="xsd:int">#trim(mailingID)#</mailingID></cfoutput>
         <testAddresses xsi:type="soap:ArrayOf_soapenc_string" soapenc:arrayType="soapenc:string[1]" xmlns:soap="http://skylist.com/services/SoapRequestProcessor" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
            <testAddresses xsi:type="xsd:string">tim@tim.com</testAddresses>
        </testAddresses>
         <part xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">HTML</part>
      </ser:sendTestMessage>