开发者

How to view wcf service in browser

开发者 https://www.devze.com 2023-03-13 07:09 出处:网络
I have develope a small web application in that i am开发者_C百科 using wcf service,I have creating a methods like GetData(), When i call this method in Browser it doesn\'t show any data just it showin

I have develope a small web application in that i am开发者_C百科 using wcf service,I have creating a methods like GetData(), When i call this method in Browser it doesn't show any data just it showing blank page please help me how can i resolve this problem.

 http://localhost:54421/Service1.svc/GetData


Contrary to SOAP ASMX web services with WCF you can no longer invoke them directly in the browser. You could use the WcfTestClient.exe utility to quickly test a method. You can invoke the method directly in the browser if you are using REST and GET verb is allowed for this method.

0

精彩评论

暂无评论...
验证码 换一张
取 消