2015-08-24 16 views
0

以下是customerNames的WSDL格式。如何使用SOAPUI輸入數組?

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

請教,如何通過輸入來測試使用SOAPUI的SOAP請求。

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

回答

0

嘗試通過如下所示的客戶名稱。

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

試試這個

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

這樣我得到的數據:

public ArrayList<String> method (List<String> A, 
         List<String> B, 
         List<String> C, 
         List<String> D) { 

這對我的作品!