Discussions
Fail To Create Soap Client
I am using php 5.2.14 and Apache 2.2 in Windows Server 2008. I am trying to use NetSuite Toolkit to access their web services in php. When the toolkit tries to create SoapClient object in nsClient class located in PHPToolkit.php file, it dies on the following line:
$this->client = new SoapClient( $host . "/wsdl/v" . $endpoint . "_0/netsuite.wsdl",
array( "location" => $host . "/services/NetSuitePort_" . $endpoint, "trace" => 1, "connection_timeout" => 5, "typemap" => $typemap, "user_agent" => "PHP-SOAP/" . phpversion() . " + NetSuite PHP Toolkit " . $version));
When I use Chrome browser, I get "Error 101 (net::ERR_CONNECTION_RESET): Unknown error."
Using phpinfo(), it shows that both Soap Client and Soap Server are Enabled for php. Does anyone have any idea what could be the problem?