[SOAP] PHP Soap XML request encoding (non wsdl)

From: Date: Sat, 05 Apr 2008 19:40:00 +0000
Subject: [SOAP] PHP Soap XML request encoding (non wsdl)
Groups: php.soap 
Request: Send a blank email to php-soap+get-2785@lists.php.net to get a copy of this message
Hello mailinglist... After hours of searching and trying I like to ask... My problem: part of my xml-tree <proxyServerURL>http:://proxyServer.example.com/</proxyServerURL> <servicesURL>http:://services.example.com/</servicesURL> <services> <service uuid = ""> <telecasterServiceName>service1</telecasterServiceName> <name>service1</name> <url>http://example.com</url> <urlButtonIndex>1</urlButtonIndex> <urlLabel>Label</urlLabel> </service> </services> <softkeyTemplateName>Standard User</softkeyTemplateName> .... Here is my PHP Code: $client = new SoapClient(NULL, array ( "location" => "http://ipaddy/soapapi.dll", "uri" => "http://www.example.com", "login" => "login", "password" => "pword", "trace" => 1, "exceptions" => 0, "style" => SOAP_RPC, "use" => SOAP_ENCODED ) ); $param = array( new SoapParam ("newserviceurl", "servicesURL"), new SoapParam($ff,"services")); try { echo "<pre>\n"; $bett = $client->__soapCall("updateData", $param); echo "b".$bett; echo "\n</pre>\n"; } catch (SoapFault $exception) { echo $exception; } ?> If I run this script, I can change the serviceURL without an error. Now my problem. I have to change name filed "under" <services><service><name>newname</name></service></services> but I did not find a solution to access these fields. Many thanks for every help. Confused, Marcus -- View this message in context: http://www.nabble.com/PHP-Soap-XML-request-encoding-%28non-wsdl%29-tp16517145p16517145.html Sent from the Php - Soap mailing list archive at Nabble.com.

« previous php.soap (#2785) next »