[OO Support Tip] How to dynamically provide more inputs to a SOAP web service?
An operation for a web service was created in OO via the Web Services Wizard and WSDL. In the third party WSDL, there are certain tags that allow zero or more repetitions. The wizard created an operation that has an input value to provide one value for the tags. Without manually adding additional inputs, how to dynamically pass more values for the tags?
The Web Services Wizard accepts JSON-formatted arrays for the array types found in the WSDL. So instead of entering a new input for each element in the array, you can now enter a JSONformatted array as the input value instead of creating additional inputs.
When you run the Web Services Wizard, you must check the Use JSON arrays for WSDL array type option on the Select operation(s) screen. This will add the input field "usesJSON" with a value of "true" to the created Invoke Method 2 step. Then for the inputs, use a JSON format array for the "0" element and the Invoke Method 2 operation to create the required elements to send in the request.
Also, please take a look at: