There was no endpoint listening at http://localhost:8080/Test.svc
哋岼線 2014-03-12 11:40:28 Exception Message:
Exception has been thrown by the target of an invocation.
StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
InnerException Message:
There was no endpoint listening at http://localhost:8080/Test.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
以上是采用ChannelFactory工厂方式调用wcf服务报错信息. 不是每次都出错,有时成功有时报错.
请大神帮忙!