0
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Â609_‘I|¥‰ÓMdœv ©ƒ†ü+=ÂÁ a    ‹      Õ—ÑnÛ †ïûŒ‹Ý%Çi»]´SWZ´6�ÚLÓ4M£Ú`‰ë=ýŽílM«DÛ¤u’oÀÀçÿ°8Æñ«äf4û2½$f×WdúéýÕxDhàóÉ ™%íÀi? \N(¡iÅ@Y–ýò¤oÝ
f·�†<;œ¡/ƒ¤ì(®ûØ‰SÅ%Ö$:dŠ��TÄ.	ØuðZ*œWy�j£…òõsP9+USD ŠuKíò’;5oŠ´òZð¬m	.Rº^7Š¡�‚qa8^XYÕ~/C4 |ÑX¨‹CJ6<Ó+3¤Á”Å:_ïÄ�‚ÖxXdÜÜ÷WzI	ÏÂ�~�n¾¡BZÏf1'©SË!}7NÎo†	ež«ø~Í5j.(»â>�ÜJ½ÔJßµâ;ýýð‚I«I”NA[ó(DÜE6óGÖ7H�º]U+‘¿Û.žlÆôâör2KÆ·í–Èz‰GwÿøMR6ÅqH¢�ÁºjKÚ†}m¾8ÿÙ$[§Wi Œ�Ù«üøµ¹7¶4»ü¸·{É…MZÕ<ÓFÍ=¾@Êötî<s|¿í½ãˆDÑ–ä€ÏÿÇÿˆ¦1�hÙAã™Ú¨Œ²¦ê }³ÎÊÍírîUð”=mwè×oNCÁ~0{Qv` ƒˆ>Å„%ç˜ß�ÅcügÝFÊyñ„Û]jrsG“q¨
4_—4¿ÆLl0l[w ä•¯0÷Þ
ÍƒÞèPQ¶·ûåñþðžÛpÍÝ;†ö_à"¡”›n    L   ˆl–Ãa¾”Ò~êq@³pÜêbÑ¿�þB gmJÓat±�ùÅƒh¹Äa–Ãa¾”Ò~êq@³pMÜmÕ1hßÃ      online
  B   ˆl–ß=¿Jå/”Š�nãMÜmµ1hß�þFã‘¬ÙelE,oH"ùÇ„hNŸÆ_ŠI|¥�+Wé3ž¯ÀÅ ?÷     #!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

"""Pythonic simple SOAP Client implementation"""

from __future__ import unicode_literals
import sys
if sys.version > '3':
    unicode = str

try:
    import cPickle as pickle
except ImportError:
    import pickle
import copy
import hashlib
import logging
import os
import tempfile
import warnings

from . import __author__, __copyright__, __license__, __version__, TIMEOUT
from .simplexml import SimpleXMLElement, TYPE_MAP, REVERSE_TYPE_MAP, Struct
from .transport import get_http_wrapper, set_http_wrapper, get_Http
# Utility functions used throughout wsdl_parse, moved aside for readability
from .helpers import Alias, fetch, sort_dict, make_key, process_element, \
                     postprocess_element, get_message, preprocess_schema, \
                     get_local_name, get_namespace_prefix, TYPE_MAP, urlsplit
from .wsse import UsernameToken

log = logging.getLogger(__name__)

class SoapFault(RuntimeError):
    def __init__(self, faultcode, faultstring, detail=None):
        self.faultcode = faultcode
        self.faultstring = faultstring
        self.detail = detail
        RuntimeError.__init__(self, faultcode, faultstring, detail)

    def __unicode__(self):
        return '%s: %s' % (self.faultcode, self.faultstring)

    if sys.version > '3':
        __str__ = __unicode__
    else:
        def __str__(self):
            return self.__unicode__().encode('ascii', 'ignore')

    def __repr__(self):
        return "SoapFault(faultcode = %s, faultstring %s, detail = %s)" % (repr(self.faultcode),
                                                                           repr(self.faultstring),
                                                                           repr(self.detail))


# soap protocol specification & namespace
soap_namespaces = dict(
    soap11='http://schemas.xmlsoap.org/soap/envelope/',
    soap='http://schemas.xmlsoap.org/soap/envelope/',
    soapenv='http://schemas.xmlsoap.org/soap/envelope/',
    soap12='http://www.w3.org/2003/05/soap-env',
    soap12env="http://www.w3.org/2003/05/soap-envelope",
)


class SoapClient(object):
    """Simple SOAP Client (simil PHP)"""
    def __init__(self, location=None, action=None, namespace=None,
                 cert=None, exceptions=True, proxy=None, ns=None,
                 soap_ns=None, wsdl=None, wsdl_basedir='', cache=False, cacert=None,
                 sessions=False, soap_server=None, timeout=TIMEOUT,
                 http_headers=None, trace=False,
                 username=None, password=None,
                 key_file=None, plugins=None, strict=True,
                 ):
        """
        :param http_headers: Additional HTTP Headers; example: {'Host': 'ipsec.example.com'}
        """
  