Hi,
i have developed a new web service, when i run it from visual studio it runs "wcf test client"
it works fine if i test all function from "wcf test client" or if we add reference in to web site locally.
but if i create website some where else and add web service via "add web service" put url("https://192.168.1.16/mywebservice.svc"). then it will not work,throw error:
You cannot call a method on a null-valued expression.At C:\shutdown.ps1:17 char:37+ $result = $vmshut.InitiateShutdown <<<< ("$true","no comment") + CategoryInfo : InvalidOperation: (InitiateShutdown:String) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull unable to shutdown wintest