Operating System - Linux
1827703 Members
2916 Online
109967 Solutions
New Discussion

Calling web-service from Unix

 
Ankit Grover
Frequent Advisor

Calling web-service from Unix

Hi experts,

We have an application written in COBOL. OS is HP-UX 11.23 and RDBMS is Oracle9i.
Is there anyway we can call web-service from COBOL? I can call C from COBOL. But how to call service from C?

Cheers,
ankit
3 REPLIES 3
Peter Godron
Honored Contributor

Re: Calling web-service from Unix

Ankit,
could you please expand on what you are trying to do ? Also on your current process of calling webservice.

From C you can use system("ls") for example.

Although MicroFocus COBOL, does this help:
http://www.microfocus.com/Resources/Newsletters/SupportLine/20040401_009.asp
Yogeeraj_1
Honored Contributor

Re: Calling web-service from Unix

hi Ankit,

see also the code at:
http://www.developer.com/net/article.php/1464751


hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Ankit Grover
Frequent Advisor

Re: Calling web-service from Unix

Hi Peter,

I have already successfully tested the web-service calling from within Cobol. I used Server Express capabilties in this case.
But I was not satisfied with the performance. Also, the licenses for the same are quite exensive.
So, I was trying to find out a solution so that the call can be made from within a C program which can send it in XML format. Then I can do the variable mapping between Cobol & C.

Ankit