12 require_once(
'../lib/nusoap.php');
22 echo
'<h2>Constructor error</h2><pre>' .
$err .
'</pre>';
23 echo
'<h2>Debug</h2><pre>' . htmlspecialchars(
$client->getDebug(), ENT_QUOTES) .
'</pre>';
29 'manufacturer' =>
"O'Reilly",
32 'tag' =>
'trachtenberg-20',
34 'devtag' =>
'Your tag here',
37 $result =
$client->call(
'ManufacturerSearchRequest',
$params,
'http://soap.amazon.com',
'http://soap.amazon.com');
39 echo
'<h2>Fault (Expect - The request contains an invalid SOAP body)</h2><pre>'; print_r(
$result); echo
'</pre>';
43 echo
'<h2>Error</h2><pre>' .
$err .
'</pre>';
45 echo
'<h2>Result</h2><pre>'; print_r(
$result); echo
'</pre>';
48 echo
'<h2>Request</h2><pre>' . htmlspecialchars(
$client->request, ENT_QUOTES) .
'</pre>';
49 echo
'<h2>Response</h2><pre>' . htmlspecialchars(
$client->response, ENT_QUOTES) .
'</pre>';
50 echo
'<h2>Debug</h2><pre>' . htmlspecialchars(
$client->getDebug(), ENT_QUOTES) .
'</pre>';