|
Re: Re: abstract type using noose causing error: msg#00055php.nusoap.general
The updated nusoap.php and new sample wsdlclient9.php allow you to do this. They are not showing up on anonymous CVS yet, but keep checking. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Matthew Sobocinski" <mattsobo@xxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, April 13, 2004 10:22 AM Subject: [Nusoap-general] Re: abstract type using noose causing error Does anyone know how to implement this syntax with nusoap? The type that nusoap is giving me the error is the "abstract element" Thanks for any help. Is this a bug? This is the request being sent (Wrong) Views><MapView/></Views></specification></GetMap></SOAP-ENV:Body></SOAP-ENV:Envelope> This is what needs to be generated ... <Views> <MapView xsi:type="ViewByHeightWidth"> .. </MapView> </Views> ... Will this line get processed by nusoap? <s:complexType name="MapView" abstract="true" /> The full wsdl http://staging.mappoint.net/standard-30/mappoint.wsdl The code I'm using is giving me an error becuase I'm unable to get the abstract MapView type to have the correct syntax. Thank you for any help. The username and password need to be set before it will work but the wsdl is available. Thanks again. Matt <pre> <?php require_once('./nusoap.php'); $username = 'USERNAME'; $password = 'PASSWORD'; $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! Small Business $15K Web Design Giveaway - Enter today ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: NuSOAP server description page: 00055, Scott Nichol |
|---|---|
| Next by Date: | No Elemnt Arrays and Complex DataType: 00055, ihernandez |
| Previous by Thread: | Re: abstract type using noose causing errori: 00055, Matthew Sobocinski |
| Next by Thread: | Fw: Re: abstract type using noose causing error: 00055, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |