views:

438

answers:

0

Hello,

I have a WSDL file for a web service which i want to test. Im using the Web Services Explorer in Eclipse to test the webservice. The webservice defines a login operation,containing a loginRequest message. The definitions are as shown below.

Login Operation

  <wsdl:operation name="login" parameterOrder="in0">

     <wsdl:input message="impl:loginRequest" name="loginRequest"/>

  </wsdl:operation>

loginRequest Message

<wsdl:message name="loginRequest">

      <wsdl:part name="in0" type="tns1:CompiereBean"/>

</wsdl:message>

CompiereBean object

<complexType name="CompiereBean">
    <sequence>
     <element name="loginDetails" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
     <element name="productList" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
     <element name="quantityList" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
     <element name="tenantDetails" nillable="true" type="impl:ArrayOf_xsd_anyType"/>
    </sequence>
</complexType>

ArrayOf_xsd_anyType

<complexType name="ArrayOf_xsd_anyType">

<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
</restriction>
</complexContent>

</complexType>

Now, to test the webservice, i right click on the WSDL file->Web Services->Test with Web Services Explorer. I now get a form in the Actions pane,with fields for specifying loginDetails,productList,quantityList and tenantDetails.

So, my question is since loginDetails,productList,quantityList and tenantDetails are all ArrayList objects, how to input their values ?

Please help. Thank You