I would advise against Apache Axis / C or Axis2c, for that matter. Both of these projects do not have the active development and contribution of members. The latest version of Axis2c was in 2009, and the link to the Axis / c release page does not even work.
I developed a rather complicated implementation of web services (both client and server), and I ran into these problems:
- The documentation is fine. Nothing good.
- Returning status codes of your choice is not easy.
- Some HTTP verbs have errors - for example, I could not get DELETE to work.
- I ran into problems with the provided guththila XML library. libxml worked better for me.
- It is difficult to create complex REST routes for your application.
- Processing incoming XML objects is rather cumbersome and inconvenient. As a result, I wrote a library of convenient functions.
- JSON support is missing.
- Your application will tend to grow large with each version of the server-side service running to rent hundreds of lines of code.
WSO2 seems like another option for web services in C. The Axis2C team is mostly full of WSO2 people. I have not tried it yet, but it definitely looks more promising than Axis2C.
slowpoison
source share