I am working with a mainframe group that is using CICS 4.1 to expose web services. They define a COBOL copybook that is the Web Service interface, then run it through LS2WS program that in turn exposes the structure as a web service. Generally it works fine. However, we have a problem with repeating groups. We have a situation where the return on a web service inquiry can be anywhere from 1 to 25 objects. The problem is that CICS *always* returns 25 objects even if there is only one return. The other 24 are just blank. This is introducing a lot of overhead and extra processing. We cannot seem to figure out how to fix that.
Does anybody know how this might be addressed?