First of all - bear with me as a newbie on this. If I posted to the wrong
mailing list, I'm sorry.
I have a GET request with the following result
GET /theurl HTTP/1.0
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2002/06/soap-envelope"
xmlns:i3="http://www.i3micro.com/server/app/i3procman">
<env:Header>
<!-- Server registration request from an i3-server to OMC-->
<i3:command env:mustUnderstand="true">server_registration_req</i3:command>
<i3:checksum i3:type="md5">32192312dede89</i3:checksum>
</env:Header>
<env:Body>
<server id="AAAOG218R1a1-0000002016"
xmlns="http://www.i3micro.com/server/app/i3procman"
env:mustUnderstand="true">
<interfaces timestamp="1022839780">
<interface id="eth0">
<ipaddress>10.3.0.14</ipaddress>
</interface>
</interfaces>
</server>
</env:Body>
</env:Envelope>
And I use
<?
$soap = new soapobject("http://IP/theurl", "urn:Object");
var_dump($soap);
if ($soap->__isFault()) {
print "<br />FEL <br />";
var_dump($soap->__getFault());
}
?>
The result of this is:
object(soapobject)(2) { ["location"]=> string(41)
"http://10.2.0.14/soap-tests/regserver.xml" ["uri"]=> string(10)
"urn:Object" } NULL
FEL
NULL
How can I get access to the soup result and what exactly does the second
argument in the constructor do?
--
Best Regards
Niklas Fondberg - nik...@i3...
System Developer - I3 Micro Technology
|