如何使用SOAPUI输入数组?

时间:2015-08-24 10:48:40

标签: soap soapui soap-client

以下是customerNames的WSDL格式。

<xsd:element name="CustomersNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>

请建议我如何使用SOAPUI将输入传递给测试soap请求。

<CustomersNames>--inpuhere--</CustomersNames>

2 个答案:

答案 0 :(得分:3)

尝试传递客户名称,如下所示。

<CustomersNames>Andrew</CustomersNames>
<CustomersNames>Mohan</CustomersNames>

答案 1 :(得分:1)

试试这个

from elasticsearch.client import IndicesClient
IndicesClient(client).("tweets_1", "tweets_search")
IndicesClient(client).("tweets_1", "tweets_index")

我收到的数据是这样的:

     <!--Zero or more repetitions:-->
     <arg0>5401</arg0>
     <arg0>5401</arg0>
     <!--Zero or more repetitions:-->
     <arg1>0904</arg1>
     <arg1>0904</arg1>
     <!--Zero or more repetitions:-->
     <arg2>20150101</arg2>
     <arg2>20150101</arg2>
     <!--Zero or more repetitions:-->
     <arg3>20170101</arg3>
     <arg3>20170101</arg3>

对我有用!