How to write gSOAP server using VC++ (VS2008)?

Posted by Falcon on Stack Overflow See other posts from Stack Overflow or by Falcon
Published on 2010-12-23T10:50:08Z Indexed on 2010/12/23 10:54 UTC
Read the original article Hit count: 200

Filed under:
|
|

Hi,

I have downloaded gSOAP2.8 from sourceforge. I want to use it for writting a gsoap based server. I need to be able to invoke my C++ code from PHP UI.

E.g.

My php page would show something like:

$res = a + b = ? [Submit]

When submit button is clicked I want these parameters to be passed to my c++ function lets say compute_sum() ... and this function should be invoked with these parameters, and the results given back to my php page.

I want to write this gsoap based c++ server. Can someone please help me with getting started with it?

I need to know: 1] What kind of c++ code it should it be? (Windows console app, or a windows service) 2] How do I launch this server? (Would it need to be a webservice, hosted over something like apache?)

Please advise and guide.

Regards, Falcon

© Stack Overflow or respective owner

Related posts about php

Related posts about visual-c++