IBM Support

Sample JSP test client does not support array class defined in the input

Troubleshooting


Problem

If you attempt to generate the sample JSP™ test client using the Web Services Wizard in Rational® Application Developer (RAD) with an array class defined in the input, the array is not understood as an input.

Cause

The sample JSP client generated by the RAD Web Services Wizard cannot handle flexible types such as arrays as operation inputs, but it can handle arrays as operation outputs.

Resolving The Problem

To work around this issue, you can edit the generated sample JSP test client and write code to render forms that better handle your particular use of array inputs and outputs.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Services Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"6.0;6.0.0.1;6.0.1.0;6.0.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Web Services Development","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.0.0.1;6.0.1.0;6.0.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21240286