2013年7月25日星期四

About gsoap and publish web service


recent study web service implementation, to achieve a simple read configuration information and set configuration information functions

instance gsoap now get to know the program, but do not understand there are several places
First: The generated wsdl and xml how to use? How to publish web service using my services than people
Second: running in the background. / calcserver 8989
 root: gsoap-2.8/gsoap/samples/calc #. / calcserver 8989 
Socket connection successful: master socket = 3
browser, type localhost: 8989 out below in Figure


Why would appear on the map to the page content, how do I set up to change their own content?

Guiqiu you friends to share their technology development experience! Thank you Thank you!
------ Solution ---------------------------------------- ----
simply provide wsdl address.
------ Solution ---------------------------------------- ----
good look gsoap UG, learn to understand the http get method,
------ Solution ------------------ --------------------------
ask lz how to solve?
I also recently developed using gsoap webservice, I do not know how to solve this problem
------ For reference only ------------------- --------------------
their tips are no GET

I do a web service others how to use it?
Their top!
------ For reference only -------------------------------------- -
still own the top of the / / /
------ For reference only ---------------------------------------
ask lz how to solve?
brother recently are learning to use gsoap develop web service, also encountered this problem, seeking guidance!
------ For reference only -------------------------------------- -


In fact, this so-called publishing service means your server is running, and the other person know your server's IP port, etc., will be able to visit you and others to access your stuff is wsdl file, the file which contains You all structures, functions and other data, the client obtained using the soapcpp2 resolve this wsdl, generate header files, then you can include this header file related functions to achieve

The second problem is because the server is running, you access the address is /, does not specify what access specific content, it will return a 404 Not Found error!

suggest you look at the webserver program, which can read the code is very simple!

没有评论:

发表评论