How to call a Web Service from wxwidgets app

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
sly_chandan
Knows some wx things
Knows some wx things
Posts: 48
Joined: Fri Sep 25, 2015 2:33 pm

How to call a Web Service from wxwidgets app

Post by sly_chandan » Tue Dec 11, 2018 12:38 pm

How do I call a Web Service from wxWidgets App

User avatar
doublemax
Moderator
Moderator
Posts: 15170
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to call a Web Service from wxwidgets app

Post by doublemax » Wed Dec 12, 2018 7:05 am

That depends on the service, but most of them communicate via HTTP, so wxHTTP should work.
https://docs.wxwidgets.org/trunk/classwx_h_t_t_p.html

However, wxHTTP doesn't support SSL yet. If you need that, use libcurl.
https://curl.haxx.se/libcurl/
Use the source, Luke!

User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: How to call a Web Service from wxwidgets app

Post by cutecode » Fri Dec 14, 2018 10:21 am

sly_chandan wrote:How do I call a Web Service from wxWidgets App
use gSOAP
https://www.genivia.com/dev.html#client-cpp

You need just import you WSDL file, and gsoap will do the job for you.
wx 3.1.4 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru

Post Reply