- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Calling Webservice from HP C
Operating System - OpenVMS
1820590
Members
1793
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 04:44 AM
тАО01-22-2009 04:44 AM
Calling Webservice from HP C
Hello everybody
I look after an older application written in HP-C (formerly Dec-C). To attach this application to the new world, I need to call webservices directly from the C-Code. I have no experience in webservices at all.
The application runs on OpenVMS 8.3.
Anybody already tried this?
Thanks a lot in advance!
I look after an older application written in HP-C (formerly Dec-C). To attach this application to the new world, I need to call webservices directly from the C-Code. I have no experience in webservices at all.
The application runs on OpenVMS 8.3.
Anybody already tried this?
Thanks a lot in advance!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 05:55 AM
тАО01-22-2009 05:55 AM
Re: Calling Webservice from HP C
Big topic area. Small text input box.
Forget about the C code (for now) as you have control over that part and can apparently change it as required. (And you're probably more comfortable there, too.)
Gain some details around what widget(s) are you connecting into, and what are its connection requirements, and where in the whole disconnected morass of the web the C code will sit in relation to the web server? There are various constructs called "web services", and some have specific considerations. And C code can be fit into the whole morass in various spots.
Depending on you prefer to learn, OReilly has various books on the general topic of web services.
SOAP and REST are two of the basic mechanisms in wide use.
There is some recently-posted information on gSOAP around; there's a port of that underway. There's also AMQP information at that site.
Another potential option is Apache Axis.
And it is feasible to connect Java to C and C to Java, which means you can connect into the HP/Sun Java web services implementations.
Some of the many, many, many URLs:
http://ws.apache.org/
http://www.johndapps.com/
http://oreilly.com/
Forget about the C code (for now) as you have control over that part and can apparently change it as required. (And you're probably more comfortable there, too.)
Gain some details around what widget(s) are you connecting into, and what are its connection requirements, and where in the whole disconnected morass of the web the C code will sit in relation to the web server? There are various constructs called "web services", and some have specific considerations. And C code can be fit into the whole morass in various spots.
Depending on you prefer to learn, OReilly has various books on the general topic of web services.
SOAP and REST are two of the basic mechanisms in wide use.
There is some recently-posted information on gSOAP around; there's a port of that underway. There's also AMQP information at that site.
Another potential option is Apache Axis.
And it is feasible to connect Java to C and C to Java, which means you can connect into the HP/Sun Java web services implementations.
Some of the many, many, many URLs:
http://ws.apache.org/
http://www.johndapps.com/
http://oreilly.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 11:13 PM
тАО02-15-2009 11:13 PM
Re: Calling Webservice from HP C
J├Г┬╢rg,
From what you have said, it sounds like there is already a Web service in existance that you need to call from your C program. If this is the case, then gSOAP would certainly be worth a look (see http://www.johndapps.com/). With any luck the creators of the Web service you need to call will be able to provide you with a WSDL file (Web Service Definition) that defines the interface, whereupon you can use the tools provided by gSOAP (wsdl2h and soapcpp2) to generate C stubs that can be linked into your existing C application to call the service. The fact that your application is written in C should make things reasonably easy (famous last words)! ... we have people happily using gSOAP to call Web services from their old OpenVMS COBOL and Fortran applications.
From what you have said, it sounds like there is already a Web service in existance that you need to call from your C program. If this is the case, then gSOAP would certainly be worth a look (see http://www.johndapps.com/). With any luck the creators of the Web service you need to call will be able to provide you with a WSDL file (Web Service Definition) that defines the interface, whereupon you can use the tools provided by gSOAP (wsdl2h and soapcpp2) to generate C stubs that can be linked into your existing C application to call the service. The fact that your application is written in C should make things reasonably easy (famous last words)! ... we have people happily using gSOAP to call Web services from their old OpenVMS COBOL and Fortran applications.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP