Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Calling a web service from C++

I have a simple web service running on a JBoss server. Now I need to access it from C++, Microsoft VC++ 2010, to be precise. Being new to web services in general, I googled my problem, but found that most people advised to to "Add Web Reference", something that appears to be gone since VS2008. So I was wondering if somebody could give me a few pointers on what the easiest way to call a web service from C++ would be.

Thanks in advance for your time.

like image 485
Jan Dörrenhaus Avatar asked Feb 01 '11 13:02

Jan Dörrenhaus


2 Answers

you can try gSoap

like image 85
DesignFirst Avatar answered Oct 20 '22 00:10

DesignFirst


I also recommend gSOAP. It can be a handful but it works. Point it at a WSDL and it'll generate proxies that you can use in your client code.

It's free if you are producing open source work as well.

like image 43
Dennis Avatar answered Oct 19 '22 23:10

Dennis