none
WCF NOT returning results on browser RRS feed

  • Question

  • Hi,

       i am developing a wcf in win7, its running and also returning result when using in an application by adding the service reference, but while trying to run the service and test in browser, its not returning any result


    Asit

    Tuesday, February 5, 2013 6:40 AM

Answers

  • Its returning results by adding reference of the WCF service to the ASP.NET application, but when trying to view results by right clicking on the service and select show result in browser its not showing any result

    Asit

    When i right click on service I do not get any option like "show result in browser". How are you getting that?

    I am getting this result when right click on service :

    Do you mean "View In Browser" ? If yes then, I would like to say that it is not meant for showing result of service. It is just a test page that you can run and check whether service is working well or not. If browser did'nt show any error it means service is up and running well. It is meant for that only and nothing more. If you want to test any WCF service method you can use WcfTestClient.exe.

    Let me know if you have any more issue.


    One good question is equivalent to ten best answers.


    Thursday, February 7, 2013 8:29 AM

All replies

  • Hi,

    What do you mean by running in a browser ? Have you created ASP.NET app and you have added reference of your WCF service to the ASP.NET application ? And then it is not running or what ?

    Thanks

    BR,

    JollyWagoner

    Tuesday, February 5, 2013 5:06 PM
  • Its returning results by adding reference of the WCF service to the ASP.NET application, but when trying to view results by right clicking on the service and select show result in browser its not showing any result

    Asit

    Thursday, February 7, 2013 7:13 AM
  • I am somewhat not getting your question. If you want to execute WCF service independently, you need to host it in IIS or some other hosting enviroment.

    Regards, Vinod Shalgar Please remember to mark the replies as answers if they help you.

    Thursday, February 7, 2013 8:16 AM
  • Its returning results by adding reference of the WCF service to the ASP.NET application, but when trying to view results by right clicking on the service and select show result in browser its not showing any result

    Asit

    When i right click on service I do not get any option like "show result in browser". How are you getting that?

    I am getting this result when right click on service :

    Do you mean "View In Browser" ? If yes then, I would like to say that it is not meant for showing result of service. It is just a test page that you can run and check whether service is working well or not. If browser did'nt show any error it means service is up and running well. It is meant for that only and nothing more. If you want to test any WCF service method you can use WcfTestClient.exe.

    Let me know if you have any more issue.


    One good question is equivalent to ten best answers.


    Thursday, February 7, 2013 8:29 AM