2009-02-16 21:27:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:54:10 +00:00
|
|
|
<!-- $Revision$ -->
|
2009-02-16 21:27:28 +00:00
|
|
|
|
|
|
|
<refentry xml:id="soapclient.getlastrequest" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2005-01-10 00:46:17 +00:00
|
|
|
<refnamediv>
|
2009-02-16 21:27:28 +00:00
|
|
|
<refname>SoapClient::__getLastRequest</refname>
|
|
|
|
<refpurpose>Returns last SOAP request</refpurpose>
|
2005-01-10 00:46:17 +00:00
|
|
|
</refnamediv>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2009-02-16 21:27:28 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<modifier>public</modifier> <type>string</type><methodname>SoapClient::__getLastRequest</methodname>
|
|
|
|
<void />
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
Returns the XML sent in the last SOAP request.
|
|
|
|
</para>
|
2005-01-10 00:46:17 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
This method works only if the <classname>SoapClient</classname> object
|
2009-02-19 21:40:50 +00:00
|
|
|
was created with the <literal>trace</literal> option set to &true;.
|
2005-01-10 00:46:17 +00:00
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
&no.function.parameters;
|
|
|
|
</refsect1>
|
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
2009-02-16 21:27:28 +00:00
|
|
|
The last SOAP request, as an XML string.
|
2005-01-10 00:46:17 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
|
|
|
<para>
|
|
|
|
<example>
|
2012-01-12 05:58:52 +00:00
|
|
|
<title>SoapClient::__getLastRequest() example</title>
|
2005-01-10 00:46:17 +00:00
|
|
|
<programlisting role="php">
|
|
|
|
<![CDATA[
|
|
|
|
<?php
|
2015-05-04 19:48:31 +00:00
|
|
|
$client = new SoapClient("some.wsdl", array('trace' => 1));
|
2005-01-10 00:46:17 +00:00
|
|
|
$result = $client->SomeFunction();
|
|
|
|
echo "REQUEST:\n" . $client->__getLastRequest() . "\n";
|
|
|
|
?>
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
2009-02-16 21:27:28 +00:00
|
|
|
<member><methodname>SoapClient::__getLastRequestHeaders</methodname></member>
|
|
|
|
<member><methodname>SoapClient::__getLastResponse</methodname></member>
|
|
|
|
<member><methodname>SoapClient::__getLastResponseHeaders</methodname></member>
|
2005-01-10 00:46:17 +00:00
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
2009-02-16 21:27:28 +00:00
|
|
|
|
2005-01-10 00:46:17 +00:00
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2005-01-10 00:46:17 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|