如何使用SOAPUI输入数组?

如何使用SOAPUI输入数组?,soap,soapui,soap-client,Soap,Soapui,Soap Client,下面是客户名称的WSDL格式 <xsd:element name="CustomersNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/> 请告知我如何使用SOAPUI将输入传递到测试soap请求 <CustomersNames>--inpuhere--</CustomersNames> --inpuhere-- 尝试传递客户名称,如下所示 <CustomersNames&g

下面是客户名称的WSDL格式

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

请告知我如何使用SOAPUI将输入传递到测试soap请求

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

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

<CustomersNames>Andrew</CustomersNames>
<CustomersNames>Mohan</CustomersNames>
安德鲁 默翰
尝试传递客户名称,如下所示

<CustomersNames>Andrew</CustomersNames>
<CustomersNames>Mohan</CustomersNames>
安德鲁 默翰 试试这个

     <!--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>

5401
5401
0904
0904
20150101
20150101
20170101
20170101
我得到的数据如下:

public ArrayList<String> method (List<String> A,
                         List<String> B,
                         List<String> C,
                         List<String> D) {
公共数组列表方法(列表A,
名单B,
名单C,
清单D){
它适合我!

试试这个

     <!--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>

5401
5401
0904
0904
20150101
20150101
20170101
20170101
我得到的数据如下:

public ArrayList<String> method (List<String> A,
                         List<String> B,
                         List<String> C,
                         List<String> D) {
公共数组列表方法(列表A,
名单B,
名单C,
清单D){
这对我有用