{
    "content": [
        {
            "type": "text",
            "text": "# SOAP::Constants (perldoc)\n\n## NAME\n\nSOAP::Constants - SOAP::Lite provides several variables to allows programmers and users to modify the behavior of SOAP::Lite in specific ways.\n\n## DESCRIPTION\n\nA number of \"constant\" values are provided by means of this namespace. The values aren't\nconstants in the strictest sense; the purpose of the values detailed here is to allow the\napplication to change them if it desires to alter the specific behavior governed.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **CONSTANTS**\n- **ACKNOWLEDGEMENTS**\n- **COPYRIGHT**\n- **AUTHORS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SOAP::Constants",
        "section": "",
        "mode": "perldoc",
        "summary": "SOAP::Constants - SOAP::Lite provides several variables to allows programmers and users to modify the behavior of SOAP::Lite in specific ways.",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONSTANTS",
                "lines": 34,
                "subsections": []
            },
            {
                "name": "ACKNOWLEDGEMENTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "SOAP::Constants - SOAP::Lite provides several variables to allows programmers and users to\nmodify the behavior of SOAP::Lite in specific ways.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "A number of \"constant\" values are provided by means of this namespace. The values aren't\nconstants in the strictest sense; the purpose of the values detailed here is to allow the\napplication to change them if it desires to alter the specific behavior governed.\n",
                "subsections": []
            },
            "CONSTANTS": {
                "content": "$DONOTUSEXMLPARSER\nThe SOAP::Lite package attempts to locate and use the XML::Parser package, falling back on an\ninternal, pure-Perl parser in its absence. This package is a fast parser, based on the Expat\nparser developed by James Clark. If the application sets this value to 1, there will be no\nattempt to locate or use XML::Parser. There are several reasons you might choose to do this. If\nthe package will never be made available, there is no reason to perform the test. Setting this\nparameter is less time-consuming than the test for the package would be. Also, the XML::Parser\ncode links against the Expat libraries for the C language. In some environments, this could\ncause a problem when mixed with other applications that may be linked against a different\nversion of the same libraries. This was once the case with certain combinations of Apache,\nmodperl and XML::Parser.\n\n$DONOTUSECHARSET\nUnless this parameter is set to 1, outgoing Content-Type headers will include specification of\nthe character set used in encoding the message itself. Not all endpoints (client or server) may\nbe able to properly deal with that data on the content header, however. If dealing with an\nendpoint that expects to do a more literal examination of the header as whole (as opposed to\nfully parsing it), this parameter may prove useful.\n\n$DONOTCHECKCONTENTTYPE\nThe content-type itself for a SOAP message is rather clearly defined, and in most cases, an\napplication would have no reason to disable the testing of that header. This having been said,\nthe content-type for SOAP 1.2 is still only a recommended draft, and badly coded endpoints might\nsend valid messages with invalid Content-Type headers. While the \"right\" thing to do would be to\nreject such messages, that isn't always an option. Setting this parameter to 1 allows the\ntoolkit to skip the content-type test.\n\n$PATCHHTTPKEEPALIVE\nSOAP::Lite's HTTP Transport module attempts to provide a simple patch to LWP::Protocol to enable\nHTTP Keep Alive. By default, this patch is turned off, if however you would like to turn on the\nexperimental patch change the constant like so:\n\n$SOAP::Constants::PATCHHTTPKEEPALIVE = 1;\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": []
            }
        }
    }
}