Using Complex Input Data

The following example task describes how you can use complex input data:
  1. Call the method echoStringArray of the sample Web service. The sample Web service is available from http://demo.borland.com/BorlandSampleService/BorlandSampleService.asmx?WSDL. This service requires an object of the generated class ArrayOfString as a parameter.
  2. Right click init() and choose Invoke in the Design pane to instantiate the ArrayOfString object. The Output Value Wizard opens.
  3. Check the Store as variable check box.
  4. Type myArrayOfString into the Variable name text box.
  5. Click OK. The Output Value Wizard closes.
  6. Right click setString(String[]) and choose Invoke in the Design pane to call the setString method and define the array elements.
  7. Use the Input Value Wizard to pass myArrayOfString to the echoStringArray method.