I have a WCF web service with which I can connect via basicHttp but not wsHttp. I am trying to connect to it through wshttp as follows:
$service = new SoapClient ("http://service.companyname.local:6666/Service/?wsdl", array( "location" => "http://service.companyname.local:6666/Service/WCF", "trace" => true, 'soap_version' => SOAP_1_2 ) );
A call to the SoapClient constructor returns a penalty. When I try to call it using $ client-> FunctionName, the page just sits there for quite some time and ultimately returns the "Error Fetching http headers" error. What exactly does this mean and how can I fix it? (Consuming a service from a .Net client works fine.)
source share