Re: [SOAP] Pass XMLNode to web service method

From: Date: Thu, 25 Jan 2007 18:04:57 +0000
Subject: Re: [SOAP] Pass XMLNode to web service method
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-2453@lists.php.net to get a copy of this message
Hi I assume you're talking about the .NET webservice returns a xsd:string containing XML? In that case just use domdocument::loadxml or simplexml_load_string Yet it still don't make sence , even a .NET SOAP Service should return xsd:<type> or xsd:<complexType> , which the WSDL document should explain the client how to parse. Making XML, and then using SOAP as webservice is a pretty odd concept, that's what REST is for. 2007/1/25, interpeo <interpeo@yahoo.it>:
Hi everybody, can anyone tell me how to pass an XMLNode to a web service method? While using structs as response of the web service all works fine, but there's a certain difficulty with XML data. The service is a .NET web service, I tried to find some documentation but there's no solution, also here: http://www.php.net/manual/en/ref.soap.php I couldn't find the answer. I use PHP 5 built in SOAP functions to consume the web service. Does anyone face the same problem? Thanx a lot interpeo -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Sincerely Claus Jørgensen, Denmark Mobil: +45 30 13 27 32 http://www.dragons-lair.org

« previous php.soap (#2453) next »