logo       

bad WSDL or my bad?: msg#00158

php.nusoap.general

Subject: bad WSDL or my bad?

Hi all,

I am trying to consume the web services from Sabre but I got stumped on the
very initial service called through WSDL.

MY CODE:

<?php
require_once('nusoap.php');
$wsdl =
"http://webservices.sabre.com/wsdl/sabreXML1.0.00/res/SessionCreateRQ.wsdl";;
$soapclient = new soapclient($wsdl,'wsdl');
$soapclient->call('SessionCreateRQ');
echo 'Debug log: <pre>'.$soapclient->debug_str.'</pre>';
?>

DEBUG LOG:
(last 2 lines)
wsdl: http://www.opentravel.org/OTA/2002/11:SessionCreateRQ
(SessionCreateRQ) is not a supported type.
soapclient: got wsdl error:
http://www.opentravel.org/OTA/2002/11:SessionCreateRQ (SessionCreateRQ) is
not a supported type.

Can anyone tell me what is wrong? Thanks.


Peter






-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise