Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi skills,
I want to learn about Web Service and to develop one.
But I want to write project with native code in VC++ and don't use of .Net framework.

I read http://msdn.microsoft.com/en-us/library/ee354195%28v=vs.85%29.aspx[^] and i understood it. But how do i compile that example code for building a web service for using in other client projects?
we should have a '.dll' file and a '.asmx' to put in 'wwwroot' folder, for using by web clients.

please help me,
Posted
Updated 18-Jan-15 1:18am
v2
Comments
Richard MacCutchan 18-Jan-15 7:26am    
You would need to study those documents in greater detail. You say you have read the documentation and understand it, but you failed to say which service you want to implement. You really need to select one of the samples and study it in detail and build the sample code on your own system.
Zon-cpp 18-Jan-15 8:13am    
Yes, I understand the document. But it isn't what I need.
I want a web service to use by any other clients, for example a C# client web project or VB or ... .
That document just use by a C++ client like its sample. I created "WsHttpCalculatorService.exe" service and run it. But i didn't can add the web service to a client project!
The url of this sample is "localhost/example" what was closed when I reference to it!
Sergey Alexandrovich Kryukov 18-Jan-15 8:33am    
Not clear what you miss. No, if you can have C++ client, you can have a client on some other platform, using different languages. Maybe you don't understand what a Web service is. What would it mean, "add the Web service to a client project"? you don't add service to client, it makes no sense; you can add, say, Web reference...
—SA
Richard MacCutchan 18-Jan-15 8:34am    
The question is beyond the scope of Quick Answers. You need to do a lot more studying of web services and how they work. This forum is for specific technical questions, as described in http://www.codeproject.com/KB/FAQs/QuickAnswersFAQ.aspx.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900