New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Absent Member.. Absent Member..
Absent Member..

[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:

Labels (1)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.