2004-02-27 12:34:16 +00:00
|
|
|
<?xml version='1.0' encoding='iso-8859-1'?>
|
2004-03-09 10:38:14 +00:00
|
|
|
<!-- $Revision: 1.2 $ -->
|
2004-03-04 17:07:20 +00:00
|
|
|
<refentry id="function.SoapClient-getLastRequest">
|
2004-02-27 12:34:16 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>SoapClient::__getLastRequest</refname>
|
|
|
|
<refpurpose>
|
|
|
|
Returns last SOAP request
|
|
|
|
</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>SoapClient::__getLastRequest</methodname>
|
2004-03-09 10:38:14 +00:00
|
|
|
<void/>
|
2004-02-27 12:34:16 +00:00
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2004-02-27 13:59:44 +00:00
|
|
|
This function works only with SoapClient which was created with
|
|
|
|
the <literal>trace</literal> option.
|
2004-02-27 12:34:16 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title><function>SoapClient::__getLastRequest</function> example</title>
|
|
|
|
<programlisting role="php">
|
|
|
|
<![CDATA[
|
|
|
|
<?php
|
2004-02-27 13:26:12 +00:00
|
|
|
$client = SoapClient("some.wsdl", array('trace' => 1));
|
2004-02-27 12:34:16 +00:00
|
|
|
$result = $client->SomeFunction(...);
|
2004-02-27 13:26:12 +00:00
|
|
|
echo "REQUEST:\n" . $client->__getLastRequest() . "\n";
|
2004-02-27 12:34:16 +00:00
|
|
|
?>
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
2004-02-27 16:36:36 +00:00
|
|
|
<para>
|
|
|
|
See also
|
|
|
|
<function>SoapClient::SoapClient</function>.
|
|
|
|
</para>
|
2004-02-27 12:34:16 +00:00
|
|
|
</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
|
|
|
|
-->
|