We are using Browse methods in a web service, using the sample program that came with BIS as a template.
The output section of the working storage looks like this
20 Output-Parameters.
30 Result PIC X(80).
30 FoundRecord occurs maximum-find-records
indexed by found-inx.
40 RecordDigest pic x(28).
copy "fddesign.rec" replacing ==05== by ==40==.
30 found-record--count pic 999.
30 found-record--name pic x(11)
value "FoundRecord".
When multiple records are returned, the output looks like this:
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
When only one record is returned, the output looks like this:
Note the absence of the "foundrecorditems" tag when there is only a single record returned; this causes problems for the Visual Studio C# routines which process web services.
Is there a way to have both response return the same tags? I can't even figure out where the "foundrecorditems" tag is coming from?
Thanks
Tony



