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

[email protected] (Stom2008)
Newsgroups php.soap
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.