logo       

Re: abstract type using nusoap causing error: msg#00037

php.nusoap.general

Subject: Re: abstract type using nusoap causing error

> I was following the example of mappoint and was trying to
>
> render an image and keep getting an error
>
>
>
> The specified type is abstract: name='MapView'
>
> Is this a bug or am I missing something? Thank you for any
>
> help.
>
>
>
>
>
> <pre>
>
> <?php
>
>
>
> require_once('./nusoap.php');
>
>
>
> $username = '36297';
>
> $password = 'M5!cSdMUQf';
>
>
>
> $client = new soapclient
>
> ("http://staging.mappoint.net/standard-30/mappoint.wsdl",
>
> true);
>
> $client->setCredentials($username, $password, 'digest');
>
>
>
> $myViews[] = array(
>
> 'Height' => 200,
>
> 'Width' => 300,
>
> 'CenterPoint' => array(
>
> 'Latitude' => 40,
>
> 'Longitude' => -120
>
> )
>
> );
>
>
>
> $mapSpec = array(
>
> 'DataSourceName' => "MapPoint.NA",
>
> 'Views' => $myViews);
>
>
>
> $map = array('specification' => $mapSpec);
>
> $mapImages = $client->call('GetMap', array('parameters' =>
>
> $map));
>
>
>
> print_r($mapImages);
>
> echo '<h2>Request</h2>' . htmlspecialchars($client->request,
>
> ENT_QUOTES) . '';
>
> echo '<h2>Response</h2>'. htmlspecialchars($client-
>
>
>>response, ENT_QUOTES) . '';
>
>
> echo '<h2>Debug< /h2>' . htmlspecialchars($client-
>
>
>>debug_str, ENT_QUOTES) . '';
>
>
>
>
> ?>
>
> </pre>
>
>


Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise