I have Written a sample WCF service which shows Metadata info but when I
call it I am getting the following error ..
Server Error in '/WCF Client' Application.
--------------------------------------------------------------------------------
The operation has timed out
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Net.WebException: The operation has timed out
Source Error:
Line 57: [return:
System.Xml.Serialization.XmlElementAttribute(IsNul lable=true)]
Line 58: public string
MyOperation1([System.Xml.Serialization.XmlElementAttribute(IsNul lable=true)]
string myValue1) {
Line 59: object[] results = this.Invoke("MyOperation1", new
object[] {
Line 60: myValue1});
Line 61: return ((string)(results[0]));
Source File: d:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\wcf client\693414c7\c0997ff1\App_WebReferences.msdgaox c.1.cs Line:
59
Stack Trace:
[WebException: The operation has timed out]
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest
request) +54
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest
request) +4
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +172
CWCF.Service.MyService.MyOperation1(String myValue1) in
d:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\wcf
client\693414c7\c0997ff1\App_WebReferences.msdgaox c.1.cs:59
_Default.Page_Load(Object sender, EventArgs e) in D:\Inetpub\DotNet\WCF
Client\Default.aspx.vb:28
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061