[prev in list] [next in list] [prev in thread] [next in thread]
List: php-soap
Subject: [SOAP] PHP Soap XML request encoding (non wsdl)
From: Stom2008 <marcus.stolzenberg () web ! de>
Date: 2008-04-05 19:40:00
Message-ID: 16517145.post () talk ! nabble ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic