2005-01-10 00:46:17 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2008-07-24 21:54:47 +00:00
|
|
|
<!-- $Revision: 1.4 $ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.soap-soapclient-getlastrequest" xmlns="http://docbook.org/ns/docbook">
|
2005-01-10 00:46:17 +00:00
|
|
|
<refnamediv>
|
2008-07-24 21:54:47 +00:00
|
|
|
<refname>SoapClient->__getLastRequest</refname>
|
2005-01-10 00:46:17 +00:00
|
|
|
<refpurpose>
|
|
|
|
Returns last SOAP request
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
|
|
|
<classsynopsis>
|
|
|
|
<ooclass><classname>SoapClient</classname></ooclass>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type>
|
|
|
|
<methodname>__getLastRequest</methodname>
|
|
|
|
<void />
|
|
|
|
</methodsynopsis>
|
|
|
|
</classsynopsis>
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
This method works only if the <classname>SoapClient</classname> object
|
|
|
|
was created with the <literal>trace</literal> option.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
The last SOAP request.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title>SoapClient->__getLastRequest() example</title>
|
|
|
|
<programlisting role="php">
|
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
$client = SoapClient("some.wsdl", array('trace' => 1));
|
|
|
|
$result = $client->SomeFunction();
|
|
|
|
echo "REQUEST:\n" . $client->__getLastRequest() . "\n";
|
|
|
|
?>
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
|
|
|
<para>
|
|
|
|
<simplelist>
|
|
|
|
<member><xref linkend="function.soap-soapclient-construct" /></member>
|
2005-01-10 03:02:33 +00:00
|
|
|
<member><xref linkend="function.soap-soapclient-getlastrequestheaders" /></member>
|
2005-01-10 00:46:17 +00:00
|
|
|
<member><xref linkend="function.soap-soapclient-getlastresponse" /></member>
|
2005-01-10 03:02:33 +00:00
|
|
|
<member><xref linkend="function.soap-soapclient-getlastresponseheaders" /></member>
|
2005-01-10 00:46:17 +00:00
|
|
|
</simplelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</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
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
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
|
|
|
|
-->
|