12 require_once(
'../lib/nusoap.php');
17 echo
'You must set your username and password in the source';
23 echo
'<h2>Constructor error</h2><pre>' .
$err .
'</pre>';
26 $client->useHTTPPersistentConnection();
30 'CenterPoint' => array(
35 $myViews[] =
new soapval(
'MapView',
'ViewByHeightWidth',
$view,
false,
'http://s.mappoint.net/mappoint-30/');
37 'DataSourceName' =>
"MapPoint.NA",
38 'Views' => array(
'MapView' =>
$myViews)
44 echo
'<h2>Fault</h2><pre>';
52 echo
'<h2>Error</h2><pre>' .
$err .
'</pre>';
55 echo
'<h2>Result</h2><pre>';
60 echo
'<h2>Request</h2><pre>' . htmlspecialchars(
$client->request, ENT_QUOTES) .
'</pre>';
61 echo
'<h2>Response</h2><pre>' . htmlspecialchars(
$client->response, ENT_QUOTES) .
'</pre>';
62 echo
'<h2>Debug</h2><pre>' . htmlspecialchars(
$client->debug_str, ENT_QUOTES) .
'</pre>';