soapclient method to .net server returns object not xml

From: Date: Thu, 18 Jan 2007 17:49:29 +0000
Subject: soapclient method to .net server returns object not xml
Groups: php.soap 
Request: Send a blank email to php-soap+get-2439@lists.php.net to get a copy of this message
Hi I am new to soap and maybe I am missing something. Using php ext/soap calling a .net server. $client = new SoapClient("http://foo.asmx?WSDL"); echo $client->foo(); Returns an stdObject when I want xml. If I call the same url not using soap I do get xml. I have been trying something like this: $client = new SoapClient("http://foo.asmx?WSDL", array('encoding' => 'literal')); But I get an invalid encoding error. I do not know how many web pages I have looked at trying to figure this out. Any help would be so welcome

« previous php.soap (#2439) next »