Why do you need ext/soap on server side if you like work with dom? You can do just $dom = dom_import_string($HTTP_RAW_POST_DATA); Dmitry. > -----Original Message----- > From: David [mailto:me@contents.nl] > Sent: Friday, May 12, 2006 11:24 AM > To: Dmitry Stogov > Cc: 'Peter De Vries'; 'Paul Osman'; soap@lists.php.net; 'Rob Richards' > Subject: Re: PHP5 SOAP Extension - Request Header > Elements with Attributes > > > Hi Dmitry, > > Dmitry Stogov wrote: > > Which kind of DOM do you mean? > > Do you mean ext/simplexml or ext/dom? > > I prefer ext/dom, but ext/simplexml will do as well. > > > I don't like make ext/soap dependent on them. > > > > Btw you probably can simple make it in PHP itself with > something like > > this. > > > > class DomSoapClient extends SoapClient { > > function __doDomRequest($dom) { > > return string2dom($this->__doRequest(dom2string($dom), > > ...)); > > } > > } > > > > Isn't this enough for you? > > This would indeed work (only on the soap client), but > re-loading it into > a dom document while we already had a libxml xmlDoc is a > waist of resources. > > Maybe Rob's sugestion is a better idea? We could save the latest > request/response xmlDoc and create a handler for > php_libxml_import_node. > > Kind regards, > > David > > > > > -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php