views:

1540

answers:

5

I'd like to use gSOAP in a product which will be distributed commercially. The use I have in mind is what I suspect is a pretty typical workflow—generating a header using wsdl2h, consuming the header with soapcpp2, and then calling the functions generated in the stub in my code.

I'm not 100 percent sure which license(s) I need to use to be able to do this. Has anybody here already gone through this and figured out the solution?

+1  A: 

From the site:

Important note: the wsdl2h WSDL parser, UDDI code, and sample applications such as the stand-alone web server are distributed ONLY under the GPL or the proprietary license.

This means either your product will have to be entirely licensed under GPL (hence you would need to opensource your app if not so already), or you have to purchase a commercial license.

leppie
It's slightly less clear cut than this. You can get away without using the licence if you don't use the wsdl2h too AND you don't use the sample server code. See Robert's comment above.
John
+1  A: 

You have to purchase a commercial license -- one per project in which gSOAP is to be used. We've been using it very successfully in a few of our projects here.

Roger Lipscombe
+7  A: 

I hope the following clarification helps. Please contact us at [email protected] for questions.

The gSOAP software requires a commercial license for commercial product development if any one of the following conditions hold:

  1. If you use wsdl2h to generate code. Because the generated code is GPL by default, you should obtain a commercial license from Genivia (www.genivia.com/Products/gsoap/contract.html). The wsdl2h tool itself is GPL and we hold the rights to it. The tool's source code or binaries cannot be sold at all.

  2. Or you use the web server code in gsoap/samples/webserver. This component is GPL by default.

  3. Or you use the UDDI components in gsoap/uddi2, which are also GPL by default.

The commercial license is a development site license. There is a one-time fee for perpetual use of gSOAP to develop a product (a "target application"). No royalties.

The other good news is that all other parts of the software are released under the gSOAP public license, which allows commercial use without fees.

So the answer is that as long as you do NOT use wsdl2h, do NOT use the web server code, and do NOT use the UDDI code then you can use the gSOAP public license for free (which is based on the MPL1.1 open source license and a copy of the gSOAP public license is included in the package).

Hope this clarifies our licensing model.

  • Robert van Engelen, Genivia Inc.
Bob
Thanks Robert. We have purchased the commercial license for our product.
Lawrence Johnston
A: 

As I understand the GPL, as long as you release all derived products under the GPL, the code is free for even commercial use. Of course most companies don't want to release their source code for anyone to copy freely, hence the commercial license. I think Genivia's summary is not as clear as it could be on this one point.

A. L. Flanagan
A: 

What if I don't distribute any of the binaries resulted from wdsl2h?

dc.groups