Processing query parameters with an Xcentrisity BIS web service
In order to view query parameters passed to your XBIS web service, you will need to add the following structure to your SOAP Request area of WORKING-STORAGE:
10 S--QUERY-PARAMETERS.
20 S--QUERY-PARAMETER OCCURS 100 TIMES.
30 S--NAME PIC X(50) VALUE SPACES.
30 S--VALUE PIC X(100) VALUE SPACES.
For an example of how to do this, see the attached XBIS sample web service, queryparams.zip. To deploy the sample, extract the zip archive to the BIS "samples" directory.
The one callable method, "getqueryparms", will return any query parameters that it receives in the URI. If you wish to test handling query parameters when generating a WSDL, then, you can turn on tracing in the SRF file. The BIS trace will contain display statements that print the received query parameters' names and values.