ó
f#ņ]c           @  s  d  d l  m Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l	 j
 j Z e j
 j j d  Z d Z e j e k rē e j e   n  e j
 j j   Z d  d l Z d  d l Z e j j d d e Z e j d d g  d d d	  Z d d
  Z d e j j  j! j" f d     YZ# e# e _# e j$ d d e#  d e j j  j! j" f d     YZ% e% e _% e j$ d d e%  d e j j  j! j" f d     YZ& e& e _& e j$ d d e&  d e j' j( j) f d     YZ* e* e _* d e j' j( j) f d     YZ+ e+ e _+ e j' j( j, e j j- e d  e# d e j
 j j. d d d  Z/ e j$ d e/ j0   j1   e/  e j' j( j, e j j- e d  e% d e j
 j j. d d d  Z' e j$ d e' j0   j1   e'  e j' j( j, e j j- e d  e& d e j
 j j. d d  d  Z2 e j$ d e2 j0   j1   e2  e j' j( j, e j j- e d!  e* d e j
 j j. d d" d  Z3 e j$ d e3 j0   j1   e3  e j' j( j, e j j- e d#  e+ d e j
 j j. d d$ d  Z4 e j$ d e4 j0   j1   e4  d S(%   iĸĸĸĸ(   t   unicode_literalsNu-   urn:uuid:5e96d752-9099-11e7-b77e-3497f68b2e96u   1.2.6u%   http://schemas.xmlsoap.org/wsdl/http/t   create_if_missingu   typeBindingu   elementBindingc         C  sŌ   t  j t  j k r: t  j j j |   } t | j d | S| d k rU t	 j
   } n  t  j j j d | d |  } | j   } |  } t | t j  rŽ | j t  j  } n  | j t j |   | j   } | S(   uý  Parse the given XML and use the document element to create a
    Python instance.

    @param xml_text An XML document.  This should be data (Python 2
    str or Python 3 bytes), or a text (Python 2 unicode or Python 3
    str) in the L{pyxb._InputEncoding} encoding.

    @keyword default_namespace The L{pyxb.Namespace} instance to use as the
    default namespace where there is no default namespace in scope.
    If unspecified or C{None}, the namespace of the module containing
    this function will be used.

    @keyword location_base: An object to be recorded as the base of all
    L{pyxb.utils.utility.Location} instances associated with events and
    objects handled by the parser.  You might pass the URI from which
    the document was obtained.
    t   default_namespacet   fallback_namespacet   location_baseN(   t   pyxbt   XMLStyle_saxert	   _XMLStylet   utilst   domutilst   StringToDOMt   CreateFromDOMt   documentElementt   Nonet	   Namespacet   fallbackNamespacet   bindingt   saxert   make_parsert   getContentHandlert
   isinstancet   _sixt	   text_typet   encodet   _InputEncodingt   parset   iot   BytesIOt
   rootObject(   t   xml_textR   R   t   domR   t   handlert   xmldt   instance(    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyt   CreateFromDocument%   s    c         C  s4   | d k r t j   } n  t j j j j |  |  S(   uÖ   Create a Python instance from the given DOM node.
    The node tag must correspond to an element declaration in this module.

    @deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.N(   R   R   R   R   R   t   basist   elementt   AnyCreateFromDOM(   t   nodeR   (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyR   F   s    t   addressTypec           B  sL  e  Z d  Z d
 Z e j j j j	 Z
 e Z e j j e d  Z e j j j d d d  Z e j j j j j j   Z e j j j j j j   Z e j j j e j j d
 d  d d e j j j d e  Z! e j j j d d d	  e! _" e j j j d d d	  e! _# e$ e! j% e! j& d
 d
  Z' e j( i   e j( i e! e! j)   6 RS(   uW   Complex type {http://schemas.xmlsoap.org/wsdl/http/}addressType with content type EMPTYu   addressTypeuJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdi*   i   u   locationu6   __httpschemas_xmlsoap_orgwsdlhttp_addressType_locationt   requiredi.   i   N(*   t   __name__t
   __module__t   __doc__R   t   _TypeDefinitionR   R   R#   t   complexTypeDefinitiont	   _CT_EMPTYt   _ContentTypeTagt   Falset	   _Abstractt	   namespacet   ExpandedNameR   t   _ExpandedNameR   t   utilityt   Locationt   _XSDLocationt   bundlest   wssplatt   wsdl11t   tExtensibilityElementt   _ElementMapt   copyt   _AttributeMapt   contentt   AttributeUset	   datatypest   anyURIt   Truet   _addressType__locationt   _DeclarationLocationt   _UseLocationt   propertyt   valuet   sett   locationt   updatet   name(    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyR'   Q   s   <	u   addressTypet   bindingTypec           B  sL  e  Z d  Z d
 Z e j j j j	 Z
 e Z e j j e d  Z e j j j d d d  Z e j j j j j j   Z e j j j j j j   Z e j j j e j j d
 d  d d e j j j d e  Z! e j j j d d d	  e! _" e j j j d d d	  e! _# e$ e! j% e! j& d
 d
  Z' e j( i   e j( i e! e! j)   6 RS(   uW   Complex type {http://schemas.xmlsoap.org/wsdl/http/}bindingType with content type EMPTYu   bindingTypeuJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdi4   i   u   verbu2   __httpschemas_xmlsoap_orgwsdlhttp_bindingType_verbR(   i8   i	   N(*   R)   R*   R+   R   R,   R   R   R#   R-   R.   R/   R0   R1   R2   R3   R   R4   R   R5   R6   R7   R8   R9   R:   R;   R<   R=   R>   R?   R@   RA   t   NMTOKENRC   t   _bindingType__verbRE   RF   RG   RH   RI   t   verbRK   RL   (    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyRM   p   s   <	u   bindingTypet   operationTypec           B  sL  e  Z d  Z d
 Z e j j j j	 Z
 e Z e j j e d  Z e j j j d d d  Z e j j j j j j   Z e j j j j j j   Z e j j j e j j d
 d  d d e j j j d e  Z! e j j j d d d	  e! _" e j j j d d d	  e! _# e$ e! j% e! j& d
 d
  Z' e j( i   e j( i e! e! j)   6 RS(   uY   Complex type {http://schemas.xmlsoap.org/wsdl/http/}operationType with content type EMPTYu   operationTypeuJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdi>   i   u   locationu8   __httpschemas_xmlsoap_orgwsdlhttp_operationType_locationR(   iB   i	   N(*   R)   R*   R+   R   R,   R   R   R#   R-   R.   R/   R0   R1   R2   R3   R   R4   R   R5   R6   R7   R8   R9   R:   R;   R<   R=   R>   R?   R@   RA   RB   RC   t   _operationType__locationRE   RF   RG   RH   RI   RJ   RK   RL   (    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyRQ      s   <	u   operationTypet   CTD_ANONc           B  ss   e  Z d  Z d Z e j j j j	 Z
 e Z d Z e j j j d d d  Z i  Z i  Z e j i   e j i   RS(   u0   Complex type [anonymous] with content type EMPTYuJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdiH   i   N(   R)   R*   R+   R   R,   R   R   R#   R-   R.   R/   R0   R1   R4   R   R5   R6   R7   R<   R>   RK   (    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyRS   Ū   s   t	   CTD_ANON_c           B  ss   e  Z d  Z d Z e j j j j	 Z
 e Z d Z e j j j d d d  Z i  Z i  Z e j i   e j i   RS(   u0   Complex type [anonymous] with content type EMPTYuJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdiK   i   N(   R)   R*   R+   R   R,   R   R   R#   R-   R.   R/   R0   R1   R4   R   R5   R6   R7   R<   R>   RK   (    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyRT   Â   s   u   addressRJ   uJ   /tmp/pyxbdist.WUiBAra/PyXB-1.2.6/pyxb/bundles/wssplat/schemas/httpbind.xsdi(   i   u   bindingi3   u	   operationi=   u
   urlEncodediG   u   urlReplacementiJ   (5   t
   __future__R    R   t   pyxb.bindingt   pyxb.binding.saxerR   t   pyxb.utils.utilityt   pyxb.utils.domutilst   syst   pyxb.utils.sixR   t   sixR   R5   t   UniqueIdentifiert   _GenerationUIDt   _PyXBVersiont   __version__t   PyXBVersionErrort   Objectt   _module_typeBindingst   pyxb.bundles.wssplat.wsdl11t   pyxb.binding.datatypesR2   t   NamespaceForURIRC   R   t   configureCategoriesR   R"   R   R8   R9   R:   R;   R'   t   addCategoryObjectRM   RQ   R   R#   R-   RS   RT   R$   R3   R6   t   addressRL   t	   localNamet	   operationt
   urlEncodedt   urlReplacement(    (    (    sV   /data/av2000/b2b/venv/lib/python2.7/site-packages/pyxb/bundles/wssplat/raw/httpbind.pyt   <module>   sT   !"	"	"			BBBBB