PHP Soap XML request encoding (non wsdl)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux