Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74478 invoked by uid 1010); 6 Feb 2006 15:22:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74463 invoked from network); 6 Feb 2006 15:22:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2006 15:22:44 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:13442] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B3/AE-45475-2C967E34 for ; Mon, 06 Feb 2006 10:22:42 -0500 Received: (qmail 15433 invoked from network); 6 Feb 2006 15:22:37 -0000 Received: from internal.zend.office (HELO thinkpad) (10.1.1.1) by internal.zend.office with SMTP; 6 Feb 2006 15:22:37 -0000 To: "'Greg Beaver'" , Date: Mon, 6 Feb 2006 18:21:00 +0300 Message-ID: <002901c62b30$f35d7250$6e02a8c0@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <07.37.04483.D2383E34@pb1.pair.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Importance: Normal Subject: RE: [PHP-DEV] is this a bug in the soap extension? From: dmitry@zend.com ("Dmitry Stogov") References: <07.37.04483.D2383E34@pb1.pair.com> Hi Greg, This WSDL file contains two non-breaking spaces (0xc2 0xa0), those are not handled by libxml2. As result libxml2 creates TEXT nodes and WSDL parser fails. Thanks. Dmitry > -----Original Message----- > From: Greg Beaver [mailto:cellog@php.net] > Sent: Friday, February 03, 2006 7:23 PM > To: internals@lists.php.net > Subject: [PHP-DEV] is this a bug in the soap extension? > > > Hi all, > > When I load the simple example for geocoding with this code: > > // Create new instance of the SoapClient class > // You'll need to download the WSDL file from: > // http://geocoder.us/dist/eg/clients/GeoCoder.wsdl > $client = new SoapClient("geocoder.wsdl"); > // Retrieve the address coordinates > $result = $client->geocode("411 Woody Hayes Dr, Columbus, OH"); > // Dump the returned object > var_dump($result); > ?> > > I get a SoapFault unexpected text element. This is in PHP > 5.1.0RC4, 5.1.2, 5.1.3-dev latest CVS (I don't have 5.0 > hanging around to test with) > > Could someone with SOAP extension know-how take a look at the wsdl at: > > http://geocoder.us/dist/eg/clients/GeoCoder.wsdl > > and let me know if there really is a problem with it? If so, > I'll report the problem to geocoder, otherwise I'll open a > php bug. My quick scan does not detect any obvious problems > in the wsdl, but I rarely work with SOAP. > > Thanks, > Greg > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >