It is trivially easy to generatea wsdl from a .h file.  YOu don't need
a single #define or even the special gsoap comments, so long as you
are willing to live with default values.  More importantly, it is
covered pretty thoroughly in the documentation.

--sam


On Tue, Sep 16, 2008 at 1:56 AM, jeroen94704 <[EMAIL PROTECTED]> wrote:
> If I understand you correctly, soapcpp2 is what you need. You can
> define an interface in a headerfile, and it will generate the wsdl for
> you.
>
> For example, create a example.h file cntaining:
>
> // File: getcert.h
> //gsoap ns service name: ExampleService
> //gsoap ns service namespace: urn:ExampleService
> //gsoap ns service location: http://127.0.0.1/
> int ns__SomeFunction(int input, int& result);
>
> And then run "soapcpp2 example.h" from the command line. This will
> generate, amongst other things, a wsdl file of that interface.
>
> Is that what you were looking for?
>
> Jeroen
>
> --- In gsoap@yahoogroups.com, "umen242" <[EMAIL PROTECTED]> wrote:
>> well i used to java where you can define annotation above method
>> or member and then process it via JAXWS and there you have the wsdl
> ready.
>> im looking for such way to generate somehow wsdl from c++ functions
>> that defined in h file so i could give it to clients as our web
>> service API
>>
>
> 

Reply via email to