There are certain restrictions on the COBOL application. These are mostly common sense, arising from the fact that the program is being used as a self-contained component being called by remote users.
Before deciding to expose a COBOL application as a service, you must determine whether the application is suitable. Examine all the functions you intend to expose, and make sure they conform to the requirements in this section. You may need to do some restructuring.