Hi, I have a .Net library which checks if a WCF service is up and running. Below is the function I have used. public string VerifySiteExists(string wcfurl) { HttpWebRequest httpReq = (HttpWebRequest)WebRequest.Create(wcfurl); httpReq.AllowAutoRedirect = false; HttpWebResponse httpRes = (HttpWebResponse)httpReq.GetResponse(); if (httpRes.StatusCode != HttpStatusCode.OK) result = "OK"; httpRes.Close(); I have called the same in NISSI using CLR::Call CLR::Call /NOUNLOAD "TestService.dll" "TestService.MyClass" "VerifySiteExists" 1 "https://axx.xx.com/xx/yyy.svc" But it gives me the error- "Exception has been thrown by target invocation. . Kindly advice. Thanks
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)