12 require_once(
'../lib/nusoap.php');
13 require_once(
'../lib/class.wsdlcache.php');
21 $wsdl =
$cache->get(
'http://www.xmethods.net/sd/2001/BNQuoteService.wsdl');
23 $wsdl =
new wsdl(
'http://www.xmethods.net/sd/2001/BNQuoteService.wsdl',
28 echo
'<h2>WSDL Constructor error (Expect - 404 Not Found)</h2><pre>' .
$err .
'</pre>';
29 echo
'<h2>Debug</h2><pre>' . htmlspecialchars(
$wsdl->getDebug(), ENT_QUOTES) .
'</pre>';
35 $wsdl->debug(
'Retrieved from cache');
41 echo
'<h2>Constructor error</h2><pre>' .
$err .
'</pre>';
49 echo
'<h2>Fault</h2><pre>';
57 echo
'<h2>Error</h2><pre>' .
$err .
'</pre>';
60 echo
'<h2>Result</h2><pre>';
65 echo
'<h2>Request</h2><pre>' . htmlspecialchars(
$client->request, ENT_QUOTES) .
'</pre>';
66 echo
'<h2>Response</h2><pre>' . htmlspecialchars(
$client->response, ENT_QUOTES) .
'</pre>';
67 echo
'<h2>Cache Debug</h2><pre>' . htmlspecialchars(
$cache->getDebug(), ENT_QUOTES) .
'</pre>';
68 echo
'<h2>Debug</h2><pre>' . htmlspecialchars(
$client->getDebug(), ENT_QUOTES) .
'</pre>';