{
    "mode": "perldoc",
    "parameter": "SOAP::Client",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/SOAP%3A%3AClient/json",
    "generated": "2026-10-04T18:53:33Z",
    "sections": {
        "NAME": {
            "content": "SOAP::Client - exists purely as a superclass for client classes declared by the various\nSOAP::Lite transport modules.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The SOAP::Client class exists purely as a superclass for client classes declared by the various\nSOAP::Lite transport modules. The methods it provides are all simple accessors; they return the\ncurrent value when called with no arguments or set the attribute value and return the object\nreference when called with an argument. These attributes include:\n",
            "subsections": []
        },
        "METHODS": {
            "content": "code, message, status\nStores the response code, message, and status from the most-recent send attempt. For some\nprotocols, such as FTP, the same value is used for all three because of the lack of\nfiner-grained detail (the default is to ensure that all three attributes contain data, even\nif redundant). Other protocols (such as HTTP) have distinct values in each.\n\nendpoint\nIdentifies the current endpoint to which messages are being sent. This should match the\nvalue of the transport method from the SOAP::Transport class, but setting this doesn't\npropagate to the transport object. It is better to use the transport object (or the shortcut\nvia the SOAP::Lite object itself) when setting this.\n\nissuccess\nThe success or failure of the most-recent transmission is noted here as a boolean value.\n\noptions\nThe options attribute keeps a hash-table reference of additional options and their values.\nAt present, only one option is used by any of the transport modules:\n\ncompressthreshold\nThe value of this option should be a numerical value. If set, and if the Compress::Zlib\nlibrary is available, messages whose size in bytes exceeds this value will be compressed\nbefore sending. Both ends of the conversation must have it enabled.\n\nOther options may be defined using this mechanism. Note that setting the options using this\naccessor requires a full hash reference be passed. To set just one or a few values, consider\nretrieving the current reference value and using it to set the key(s).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "SOAP::Server\n",
            "subsections": []
        },
        "ACKNOWLEDGEMENTS": {
            "content": "Special thanks to O'Reilly publishing which has graciously allowed SOAP::Lite to republish and\nredistribute large excerpts from *Programming Web Services with Perl*, mainly the SOAP::Lite\nreference found in Appendix B.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Paul Kulchenko (paulclinger@yahoo.com)\n\nRandy J. Ray (rjray@blackperl.com)\n\nByrne Reese (byrne@majordojo.com)\n",
            "subsections": []
        }
    },
    "summary": "SOAP::Client - exists purely as a superclass for client classes declared by the various SOAP::Lite transport modules.",
    "flags": [],
    "examples": [],
    "see_also": []
}