February 19th, 2007, 09:48 AM
Call a webservice from COBOL
Hi to all,
can anyone tell me how can i call a webservice from a COBOL application? Can you give me an example?
February 19th, 2007, 11:03 AM
It's going to be dependent on the COBOL compiler in question. The language itself, needless to say, has no concept of web services, at least not usually (some compilers may have extensions for it, I suppose). However, most implementations will allow you to call outside libraries using EXTERNAL functions. It is possible that the implementation you are using has some sort of library that would allow you to call out to a suitable web service. If not, you would want to find (or write) a third-party library that you can call out to.
I'm not a COBOL expert, however; I just had to look up that information right now, in fact. You probably will have to RTM for the compiler to get the details.
February 19th, 2007, 03:34 PM
Check out the Microfocus web site. They've got all sorts of tools available for doing this.