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 -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php