Reference Citations - HerongYang.com - v2.92, by Dr. Herong Yang
Setting up SOAP in PHP, why am I getting these errors?
'Get_Temperature.php - First Example of SOAP' tutorial was cited in a Dev Shed forum post in 2009.
The Get_Temperature.php - First Example of SOAP tutorial was cited in a Dev Shed forum post in 2009.
Subject: Setting up SOAP in PHP, why am I getting these errors? Date: August 6th, 2009 Author: NewWEBdesigner Source: http://forums.devshed.com/php-development-5 /setting-up-soap-in-php-why-am-i-getting-these-630032.html I am trying to play with SOAP requests, but I am not sure if I have the correct settings in PHP enabled. I am using WAMP with PHP 5.2.9-2. I turned on php_soap extension, but whenever I run this code: <?php # GetTemp.php # Copyright (c) 2005 by Dr. Herong Yang, https://www.herongyang.com/ # $client = new SoapClient ("http://www.xmethods.net/sd/2001/DemoTemperatureService.wsdl"); echo("\nReturning value of getTemp() call: ". $client->getTemp("12345")); ?> I get these errors: Warning: SoapClient::SoapClient(http://www.xmethods.net/sd/2001 /DemoTemperatureService.wsdl) [soapclient.soapclient]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\wamp\www\temp.php on line 5 ...
Table of Contents