Error when calling WCF service in silverlight application.
-
Hi, I am getting an exception while calling a WCF service in silver lght application.This exception is as below. Exception: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.InvalidOperationException: The underlying channel factory could not be created because no binding information was found in the configuration file for endpoint with name '*'. Please check the endpoint configuration section with name '*' to ensure that binding information is present and correct. If anyone have idea to solve this please reply me. Thanks in advance.
-
Hi, I am getting an exception while calling a WCF service in silver lght application.This exception is as below. Exception: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. ---> System.InvalidOperationException: The underlying channel factory could not be created because no binding information was found in the configuration file for endpoint with name '*'. Please check the endpoint configuration section with name '*' to ensure that binding information is present and correct. If anyone have idea to solve this please reply me. Thanks in advance.
First idea is this: follow the suggestion of the exception and verify your binding information. You have to have a basicHTTPBinding in order to use WCF with Silverlight. Try Googling "Using WCF with Silverlight 3.0" and you will discover a wealth of information.