logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

nuSOAP problem: msg#00036

Subject: nuSOAP problem
Ok everyone, I found a free weather service located here:

http://www.ejse.com/WeatherService/Service.asmxop=GetWeatherInfo

I am trying to write a php script to consume this service. All if takes is one 
parameter, zip code, to return the weather. Here is my PHP Code:

require_once('nusoap.php');
$soapclient = new 
soapclient("http://www.ejse.com/WeatherService/Service.asmx?WSDL";);
$zipper="15102";
$soapclient->debug_flag = 1;
$params = array ('zipCode' => $zipper);
$result = $soapclient -> call("getWeatherInfo", $params);
print_r($result);

Looks good to me, but I get this error:

Array ( [faultcode] => soap:Client [faultstring] => Server did not recognize 
the value of HTTP Header SOAPAction: . [detail] => )

Any ideas? Suggestions?
Thanks!


Angelo Zanetti
Z Logic
[c] +27 72 441 3355
[t] +27 21 464 1363
[f] +27 21 464 1371
www.zlogic.co.za
--------------------------------------------------------------------
Disclaimer
This e-mail transmission contains confidential information,
which is the property of the sender.
The information in this e-mail or attachments thereto is
intended for the attention and use only of the addressee.
Should you have received this e-mail in error, please delete
and destroy it and any attachments thereto immediately.
Under no circumstances will the Cape Peninsula University of
Technology or the sender of this e-mail be liable to any party for
any direct, indirect, special or other consequential damages for any
use of this e-mail.
For the detailed e-mail disclaimer please refer to
http://www.cput.ac.za/email.php or call +27 (0)21 460 3911


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click


<Prev in Thread] Current Thread [Next in Thread>