SOAP::Client(3)
πΈ NAME πΈ
okay so SOAP::Client(3) is from User Contributed Perl Documentation, and the whole vibe is: SOAP::Client exists purely as a superclass for client classes declared by the various SOAP::Lite transport modules. Thatβs it, bestie β iconic minimalism. π
π DESCRIPTION π
The SOAP::Client class exists purely as a superclass for client classes declared by the various SOAP::Lite transport modules. The methods it provides are all simple accessors; they return the current value when called with no arguments, or set the attribute value and return the object reference when called with an argument. These attributes include: β¨
π METHODS π
code,message,statusβ stores the response code, message, and status from the most-recent send attempt. For some protocols, such as FTP, the same value is used for all three because of the lack of finer-grained detail (the default is to ensure that all three attributes contain data, even if redundant). Other protocols (such as HTTP) have distinct values in each. π«Άendpointβ identifies the current endpoint to which messages are being sent. This should match the value of the transport method from theSOAP::Transportclass, but setting this doesnβt propagate to the transport object. It is better to use the transport object (or the shortcut via theSOAP::Liteobject itself) when setting this. π¦is_successβ the success or failure of the most-recent transmission is noted here as a boolean value. βoptionsβ the options attribute keeps a hash-table reference of additional options and their values. At present, only one option is used by any of the transport modules:compress_thresholdβ the value of this option should be a numerical value. If set, and if theCompress::Zliblibrary is available, messages whose size in bytes exceeds this value will be compressed before sending. Both ends of the conversation must have it enabled. π₯
Other options may be defined using this mechanism. Note that setting the options using this accessor requires a full hash reference be passed. To set just one or a few values, consider retrieving the current reference value and using it to set the key(s). π
π SEE ALSO π
SOAP::Serverπ
π«Ά ACKNOWLEDGEMENTS π«Ά
Special thanks to OβReilly publishing which has graciously allowed SOAP::Lite to republish and redistribute large excerpts from Programming Web Services with Perl, mainly the SOAP::Lite reference found in Appendix B. πβ¨
π COPYRIGHT π
Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π AUTHORS π
- Paul Kulchenko (
paulclinger@yahoo.com) - Randy J. Ray (
rjray@blackperl.com) - Byrne Reese (
byrne@majordojo.com)
okay bye bestie β source/version: perl v5.42.0 β¨ date: 2024-03-04 π and SOAP::Client(3) is out π
π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-SOAP-Lite 1.27-bp160.1.11 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND CC-BY-ND-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms