Hello,
we are using this strikeiron service:
http://ws.strikeiron.com/BasicRealTimeQuotes
with nusoap client and PHP 4. Everything worked fine until we updated nusoap to
the latest SF version. Client call looks like this:
$client = new soapclient('http://ws.strikeiron.com/BasicRealTimeQuotes?WSDL',
true);
$params = array( 'TickerSymbolList' => $symbol );
$client->setHeaders('<LicenseInfo><LicenseKey>' . $licenseKey .
'</LicenseKey></LicenseInfo>');
$result = $client->call('GetQuotes', array('parameters' => $params));
We are getting:
HTTP/1.1 500 Internal Server Error
Connection: close
Date: Fri, 04 Mar 2005 11:46:51 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 436
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header />
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>No license key provided</faultstring>
<faultactor />
</soap:Fault>
</soap:Body>
</soap:Envelope>
When we downgrade nusoap to a previous, for download on SF available version,
everything works fine. I thought that something in setHeaders has changed, but I
couldn't see the difference between previous and this version. Is this maybe a
know issue? Any ideas?
Regards,
Vlado
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|