Hi, I'm not sure if this has the same cause, but I'm getting a SDO_DAS_XML::loadString error as well.
I get the loadString error when I try to access the service through getService(wsdl) or plain soapClient. getService(php) does produce the expected result. I installed a PECL snapshot of the SCA binaries and updated SCA/ from CVS since the fix didn't make it in to 1.2.4. I still get the error. Here's the SOAP request and response: Request : <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http:// ilSoapUserAdministration"><SOAP- ENV:Body><ns1:login><ns1:client>client</ns1:client><ns1:username>root</ ns1:username><ns1:password>homer</ns1:password></ns1:login></SOAP- ENV:Body></SOAP-ENV:Envelope> Response : <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP- ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Unable to decode the SOAP message from XML. The problem was: SDO_DAS_XML::loadString - Unable to parse the supplied xml string 3 parse error(s) occurred when parsing the string: 1. Parser found unknown element client 2. Parser found unknown element username 3. Parser found unknown element password </faultstring></SOAP-ENV:Fault></ SOAP-ENV:Body></SOAP-ENV:Envelope> And here's my test code: <? $service = new Service(); echo $service->execSCA(); //echo $service->execSOAP(); class Service { public $wsdl = "http://localhost/htdocs/ilias4/webservice/soap/ classes/class.ilSoapUserAdministration.php?wsdl"; function Service() { } function execSCA() { include_once "SCA/SCA.php"; $sua = SCA::getService('webservice/soap/classes/ class.ilSoapUserAdministration.php'); // works //$sua = SCA::getService($this->wsdl); // does not work: SDO_DAS_XML::loadString - Unable to parse the supplied xml string return $sid = $sua->login('client','root','homer'); } function execSOAP() { ini_set("soap.wsdl_cache_enabled", "0"); $client = new SoapClient($this->wsdl, array('trace' => 1)); print_r($client->__getFunctions()); try { $sid = $client- >login(array('client'=>'client','username'=>'root','password'=>'homer')); // also produces loadString error } catch (SoapFault $soapFault) { var_dump($soapFault); echo "Request :<br>", htmlentities($client- >__getLastRequest()), "<br>"; echo "Response :<br>", htmlentities($client- >__getLastResponse()), "<br>"; } return $sid; } } ?> -- Dylan Oliver --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---