Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 29, 2012 08:49 AM by Haixia Xie - MSFT
Nov 27, 2012 03:28 PM|LINK
I haven't looked at web services since I completed my MCAD cert back in 2005(?). Now I'm in a new job running Visual Studio 2012 and I've been told to whip up a fairly simple web service.
In general all our software is targeting framework 4.0 so far as I know.
I first went into VS2012 and created a web service project after selecting 3.5 in the dialog. (Apparently the only way you can.) I then compiled it in 4.0 and published it to my local machine, after setting the application pool to 4.0 as well. I then wrote
a demo web app in 4.0. I added a 'Service Reference'. (A 'web reference' is obsolete in 4.0?) After some trial and error I was able to call a service method successfully.
I admit I've got some serious reviewing to do but in the short run, can you see anything seriously wrong with what I've done?
Nov 29, 2012 08:49 AM|LINK
After some trial and error I was able to call a service method successfully.
It seems ok.
And you can try custom a method and call it from the client to test if it works as expected.