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.
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
albal
Member
97 Points
32 Posts
WCF HTTP GET and POST methods.
Apr 09, 2010 11:32 AM|LINK
Hi,
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.
Thanks,
Al
rahulbirari....
Member
176 Points
49 Posts
Re: WCF Function Access Summary
May 18, 2010 12:12 PM|LINK
u can get very good example of WCF by following link
rahulbirari....
Member
176 Points
49 Posts
Re: WCF Function Access Summary
May 18, 2010 12:13 PM|LINK
http://rapidshare.com/files/388730040/WcfServiceLibrary.rar
albal
Member
97 Points
32 Posts
Re: WCF Function Access Summary
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.
yashwanthb
Participant
1204 Points
207 Posts
Re: WCF HTTP GET and POST methods.
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 .
Yashwanth kumar Biddareddy.
Please remember to mark the replies as answers if it helps you
voswouter87
Member
4 Points
6 Posts
Re: WCF HTTP GET and POST methods.
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.