Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 23, 2010 02:05 PM by voswouter87
Apr 09, 2010 11:32 AM|LINK
When programming Web Services in .net 2.0 it was possible to expose the HTTP GET and POST methods (and invoke them) from the Web Service description page with descriptions.
How can this be done with WCF? At the very least I would like a list of methods, but having the option to invoke them from the page would be great.
May 18, 2010 12:12 PM|LINK
u can get very good example of WCF by following link
May 18, 2010 12:13 PM|LINK
Jun 09, 2010 09:54 AM|LINK
First the example is missing the web.config which is pretty important when it comes to WCF. Also your example does not show how to implement the HTTP POST and GET options within WCF like in the older style services of .net 2.0
Thanks for trying though.
Jun 09, 2010 10:10 AM|LINK
Yes you can Invoke the WCF using wcftestclient.
Go to > visualstudio command prompt 2008 > type wcftestclient > press enter >
You will get one window in that
add your service
There you will see list of methods available in that service and you can invoke methods also
check it and let me know if you need any help .
Jun 23, 2010 02:05 PM|LINK
Thats only a test method. What if you need a serious way to connect the service (outside visual studio).
For instance testing a client location, can you start the web browser, go to the url and try out the web service there?
Was hoping the WebGet attribute would do that, because it's what I need.