Valid Messages?
| From: | David Busby | Date: | Mon, 02 Jun 2003 18:29:39 +0000 |
| Subject: | Valid Messages? | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-693@lists.php.net to get a copy of this message | ||
List,
I need some validation. Are these considered valid messages? Should any
client be able to read these? How would I replace 'ns4' with my own? Thanks
in advance.
// get_drift request
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:xtics_rpc"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns4:get_drift>
<key xsi:type="xsd:string">5efdc8da03f8a7620850731dcffa8caa</key>
<ts xsi:type="xsd:date">Tue, 01 Jan 2002 00:00:00 GMT</ts>
</ns4:get_drift>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
// get_drift response
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:xtics_rpc"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns4:get_driftResponse>
<return>
<client_date_utc xsi:type="xsd:date">Tue, 1 Jan 2002 00:00:00
+0000</client_date_utc>
<server_date_utc xsi:type="xsd:date">Mon, 2 Jun 2003 18:27:05
+0000</server_date_utc>
<drift xsi:type="xsd:int">-44735225</drift>
</return>
</ns4:get_driftResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
David Busby
Systems Engineer
busby@pnts.com