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