开发者

Diving into gsoap, Makefile.am of examples in ubuntu pkg,

开发者 https://www.devze.com 2023-01-28 00:29 出处:网络
hi i find it quite hard to get gsoap running. Need to mention my knowledge of C/C++ is quite limited. In /usr/share/doc/gsoap/ i see

hi i find it quite hard to get gsoap running. Need to mention my knowledge of C/C++ is quite limited.

In /usr/share/doc/gsoap/ i see

Makefile.c_rules Makefile.cpp_rules

Makefile.defines

In /usr/share/doc/gsoap/examples : the README says just make but there is only Makefile.am

So i did make -f Makefile.am

examples/ck$ make -f Makefile.am

/usr/bin/soapcpp2 -I/soapcpp2/import ck.h

and then all the source code is created.

And then??

What is the application?

For my project i just need a WS client, but i guess i better create a server too so i can test it wit开发者_Go百科h it.

Hope my question is clear enough.. :-/ greets, florian


The Header File ck.h contains the functions from your service. The gSoap compiler soapcpp2 creates the stubs and skeletons. To create a test-server you can view the documentation on how to create a standalone server. If you compile your standalone-server you will get undefined references because you have to implement the functions from your ck.h file. Take a look at the example from the gSoap documentation. The calc.h file represents your ck.h file. There is also a quick start guide for developing a client and server.

0

精彩评论

暂无评论...
验证码 换一张
取 消