im 开发者_如何学编程looking for good freeware that is not GPL c++ webservices frame work i have used AXIS2 but it is no good for our needs ,is there any good framework that can be good and robust like the gSoap for example
I've used wsdlpull http://wsdlpull.sourceforge.net/ and it worked. It is very simple, doesn't generate stubs for you and I'm not sure how it deals with complex data types, but if you need something simple it will do the job. It is LGPL so you can link closed-source code to it.
You can try WSF Staff.
Easy create web services and clients in C++.
Complex types like structures, typedefs, STL containers are supported. WSDL is supported.
Code can be generated by codegen or written manually.
Generated code is compact, light, human readable and easy to understand.
License: Open source (Apache License 2.0).
Project is based on Axis2/C (wrapped most most used Axis2/C features into C++ code, also have many additional features). Ported to Windows, Linux.
Project page:
http://code.google.com/p/staff/
Example: How to create Calculator service:
http://code.google.com/p/staff/wiki/ExampleCalculatorServiceWindows
Example: How to create Calculator client:
http://code.google.com/p/staff/wiki/ExampleCalculatorClientWindows
精彩评论