/usr/lib/python2.7/dist-packages/pyxb/bundles/wssplat/raw/soapbind11.py is in python-pyxb-bundles-wssplat 1.2.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 | # ./pyxb/bundles/wssplat/raw/soapbind11.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:2df158009b766a507448a09144cbc02d3d478843
# Generated 2013-09-18 10:35:51.401054 by PyXB version 1.2.3
# Namespace http://schemas.xmlsoap.org/wsdl/soap/
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb.utils.domutils
import sys
# Unique identifier for bindings created at the same time
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:ffa7793a-2077-11e3-a53a-c8600024e903')
# Version of PyXB used to generate the bindings
_PyXBVersion = '1.2.3'
# Generated bindings are not compatible across PyXB versions
if pyxb.__version__ != _PyXBVersion:
raise pyxb.PyXBVersionError(_PyXBVersion)
# Import bindings for namespaces imported into schema
import pyxb.bundles.wssplat.wsdl11
import pyxb.binding.datatypes
# NOTE: All namespace declarations are reserved within the binding
Namespace = pyxb.namespace.NamespaceForURI(u'http://schemas.xmlsoap.org/wsdl/soap/', create_if_missing=True)
Namespace.configureCategories(['typeBinding', 'elementBinding'])
_Namespace_wsdl = pyxb.bundles.wssplat.wsdl11.Namespace
_Namespace_wsdl.configureCategories(['typeBinding', 'elementBinding'])
def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
"""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.
"""
if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
dom = pyxb.utils.domutils.StringToDOM(xml_text)
return CreateFromDOM(dom.documentElement)
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
handler = saxer.getContentHandler()
xmld = xml_text
if isinstance(xmld, unicode):
xmld = xmld.encode(pyxb._InputEncoding)
saxer.parse(io.BytesIO(xmld))
instance = handler.rootObject()
return instance
def CreateFromDOM (node, default_namespace=None):
"""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}."""
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
# List simple type: {http://schemas.xmlsoap.org/wsdl/soap/}encodingStyle
# superclasses pyxb.binding.datatypes.anySimpleType
class encodingStyle (pyxb.binding.basis.STD_list):
"""
"encodingStyle" indicates any canonicalization conventions followed in the contents of the containing element. For example, the value "http://schemas.xmlsoap.org/soap/encoding/" indicates the pattern described in SOAP specification
"""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'encodingStyle')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 39, 2)
_Documentation = u'\n "encodingStyle" indicates any canonicalization conventions followed in the contents of the containing element. For example, the value "http://schemas.xmlsoap.org/soap/encoding/" indicates the pattern described in SOAP specification\n '
_ItemType = pyxb.binding.datatypes.anyURI
encodingStyle._InitializeFacetMap()
Namespace.addCategoryObject('typeBinding', u'encodingStyle', encodingStyle)
# Atomic simple type: {http://schemas.xmlsoap.org/wsdl/soap/}tStyleChoice
class tStyleChoice (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tStyleChoice')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 58, 2)
_Documentation = None
tStyleChoice._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=tStyleChoice, enum_prefix=None)
tStyleChoice.rpc = tStyleChoice._CF_enumeration.addEnumeration(unicode_value=u'rpc', tag=u'rpc')
tStyleChoice.document = tStyleChoice._CF_enumeration.addEnumeration(unicode_value=u'document', tag=u'document')
tStyleChoice._InitializeFacetMap(tStyleChoice._CF_enumeration)
Namespace.addCategoryObject('typeBinding', u'tStyleChoice', tStyleChoice)
# Atomic simple type: {http://schemas.xmlsoap.org/wsdl/soap/}useChoice
class useChoice (pyxb.binding.datatypes.string, pyxb.binding.basis.enumeration_mixin):
"""An atomic simple type."""
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'useChoice')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 90, 2)
_Documentation = None
useChoice._CF_enumeration = pyxb.binding.facets.CF_enumeration(value_datatype=useChoice, enum_prefix=None)
useChoice.literal = useChoice._CF_enumeration.addEnumeration(unicode_value=u'literal', tag=u'literal')
useChoice.encoded = useChoice._CF_enumeration.addEnumeration(unicode_value=u'encoded', tag=u'encoded')
useChoice._InitializeFacetMap(useChoice._CF_enumeration)
Namespace.addCategoryObject('typeBinding', u'useChoice', useChoice)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tAddress with content type EMPTY
class tAddress (pyxb.bundles.wssplat.wsdl11.tExtensibilityElement):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tAddress with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tAddress')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 141, 2)
_ElementMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._ElementMap.copy()
_AttributeMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._AttributeMap.copy()
# Base type is pyxb.bundles.wssplat.wsdl11.tExtensibilityElement
# Attribute required inherited from {http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement
# Attribute location uses Python identifier location
__location = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'location'), 'location', '__httpschemas_xmlsoap_orgwsdlsoap_tAddress_location', pyxb.binding.datatypes.anyURI, required=True)
__location._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 144, 8)
__location._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 144, 8)
location = property(__location.value, __location.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__location.name() : __location
})
Namespace.addCategoryObject('typeBinding', u'tAddress', tAddress)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tBinding with content type EMPTY
class tBinding (pyxb.bundles.wssplat.wsdl11.tExtensibilityElement):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tBinding with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tBinding')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 49, 2)
_ElementMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._ElementMap.copy()
_AttributeMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._AttributeMap.copy()
# Base type is pyxb.bundles.wssplat.wsdl11.tExtensibilityElement
# Attribute required inherited from {http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement
# Attribute transport uses Python identifier transport
__transport = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'transport'), 'transport', '__httpschemas_xmlsoap_orgwsdlsoap_tBinding_transport', pyxb.binding.datatypes.anyURI, required=True)
__transport._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 52, 8)
__transport._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 52, 8)
transport = property(__transport.value, __transport.set, None, None)
# Attribute style uses Python identifier style
__style = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'style'), 'style', '__httpschemas_xmlsoap_orgwsdlsoap_tBinding_style', tStyleChoice)
__style._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 53, 8)
__style._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 53, 8)
style = property(__style.value, __style.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__transport.name() : __transport,
__style.name() : __style
})
Namespace.addCategoryObject('typeBinding', u'tBinding', tBinding)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tOperation with content type EMPTY
class tOperation (pyxb.bundles.wssplat.wsdl11.tExtensibilityElement):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tOperation with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tOperation')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 66, 2)
_ElementMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._ElementMap.copy()
_AttributeMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._AttributeMap.copy()
# Base type is pyxb.bundles.wssplat.wsdl11.tExtensibilityElement
# Attribute required inherited from {http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement
# Attribute soapAction uses Python identifier soapAction
__soapAction = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'soapAction'), 'soapAction', '__httpschemas_xmlsoap_orgwsdlsoap_tOperation_soapAction', pyxb.binding.datatypes.anyURI)
__soapAction._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 69, 8)
__soapAction._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 69, 8)
soapAction = property(__soapAction.value, __soapAction.set, None, None)
# Attribute style uses Python identifier style
__style = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'style'), 'style', '__httpschemas_xmlsoap_orgwsdlsoap_tOperation_style', tStyleChoice)
__style._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 70, 8)
__style._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 70, 8)
style = property(__style.value, __style.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__soapAction.name() : __soapAction,
__style.name() : __style
})
Namespace.addCategoryObject('typeBinding', u'tOperation', tOperation)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tBody with content type EMPTY
class tBody (pyxb.bundles.wssplat.wsdl11.tExtensibilityElement):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tBody with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tBody')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 81, 2)
_ElementMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._ElementMap.copy()
_AttributeMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._AttributeMap.copy()
# Base type is pyxb.bundles.wssplat.wsdl11.tExtensibilityElement
# Attribute required inherited from {http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement
# Attribute encodingStyle uses Python identifier encodingStyle
__encodingStyle = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'encodingStyle'), 'encodingStyle', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_encodingStyle', encodingStyle)
__encodingStyle._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 77, 4)
__encodingStyle._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 77, 4)
encodingStyle = property(__encodingStyle.value, __encodingStyle.set, None, None)
# Attribute use uses Python identifier use
__use = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'use'), 'use', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_use', useChoice)
__use._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 78, 4)
__use._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 78, 4)
use = property(__use.value, __use.set, None, None)
# Attribute namespace uses Python identifier namespace
__namespace = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'namespace'), 'namespace', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_namespace', pyxb.binding.datatypes.anyURI)
__namespace._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 79, 4)
__namespace._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 79, 4)
namespace = property(__namespace.value, __namespace.set, None, None)
# Attribute parts uses Python identifier parts
__parts = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'parts'), 'parts', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_parts', pyxb.binding.datatypes.NMTOKENS)
__parts._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 84, 8)
__parts._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 84, 8)
parts = property(__parts.value, __parts.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__encodingStyle.name() : __encodingStyle,
__use.name() : __use,
__namespace.name() : __namespace,
__parts.name() : __parts
})
Namespace.addCategoryObject('typeBinding', u'tBody', tBody)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tHeader with content type ELEMENT_ONLY
class tHeader (pyxb.bundles.wssplat.wsdl11.tExtensibilityElement):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tHeader with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tHeader')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 124, 2)
_ElementMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._ElementMap.copy()
_AttributeMap = pyxb.bundles.wssplat.wsdl11.tExtensibilityElement._AttributeMap.copy()
# Base type is pyxb.bundles.wssplat.wsdl11.tExtensibilityElement
# Element {http://schemas.xmlsoap.org/wsdl/soap/}headerfault uses Python identifier headerfault
__headerfault = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'headerfault'), 'headerfault', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_httpschemas_xmlsoap_orgwsdlsoapheaderfault', True, pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 135, 2), )
headerfault = property(__headerfault.value, __headerfault.set, None, None)
# Attribute required inherited from {http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement
# Attribute message uses Python identifier message
__message = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'message'), 'message', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_message', pyxb.binding.datatypes.QName, required=True)
__message._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 118, 4)
__message._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 118, 4)
message = property(__message.value, __message.set, None, None)
# Attribute part uses Python identifier part
__part = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'part'), 'part', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_part', pyxb.binding.datatypes.NMTOKEN, required=True)
__part._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 119, 4)
__part._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 119, 4)
part = property(__part.value, __part.set, None, None)
# Attribute use uses Python identifier use
__use = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'use'), 'use', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_use', useChoice, required=True)
__use._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 120, 4)
__use._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 120, 4)
use = property(__use.value, __use.set, None, None)
# Attribute encodingStyle uses Python identifier encodingStyle
__encodingStyle = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'encodingStyle'), 'encodingStyle', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_encodingStyle', encodingStyle)
__encodingStyle._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 121, 4)
__encodingStyle._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 121, 4)
encodingStyle = property(__encodingStyle.value, __encodingStyle.set, None, None)
# Attribute namespace uses Python identifier namespace
__namespace = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'namespace'), 'namespace', '__httpschemas_xmlsoap_orgwsdlsoap_tHeader_namespace', pyxb.binding.datatypes.anyURI)
__namespace._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 122, 4)
__namespace._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 122, 4)
namespace = property(__namespace.value, __namespace.set, None, None)
_ElementMap.update({
__headerfault.name() : __headerfault
})
_AttributeMap.update({
__message.name() : __message,
__part.name() : __part,
__use.name() : __use,
__encodingStyle.name() : __encodingStyle,
__namespace.name() : __namespace
})
Namespace.addCategoryObject('typeBinding', u'tHeader', tHeader)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tHeaderFault with content type EMPTY
class tHeaderFault (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tHeaderFault with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tHeaderFault')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 136, 2)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Attribute message uses Python identifier message
__message = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'message'), 'message', '__httpschemas_xmlsoap_orgwsdlsoap_tHeaderFault_message', pyxb.binding.datatypes.QName, required=True)
__message._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 118, 4)
__message._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 118, 4)
message = property(__message.value, __message.set, None, None)
# Attribute part uses Python identifier part
__part = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'part'), 'part', '__httpschemas_xmlsoap_orgwsdlsoap_tHeaderFault_part', pyxb.binding.datatypes.NMTOKEN, required=True)
__part._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 119, 4)
__part._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 119, 4)
part = property(__part.value, __part.set, None, None)
# Attribute use uses Python identifier use
__use = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'use'), 'use', '__httpschemas_xmlsoap_orgwsdlsoap_tHeaderFault_use', useChoice, required=True)
__use._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 120, 4)
__use._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 120, 4)
use = property(__use.value, __use.set, None, None)
# Attribute encodingStyle uses Python identifier encodingStyle
__encodingStyle = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'encodingStyle'), 'encodingStyle', '__httpschemas_xmlsoap_orgwsdlsoap_tHeaderFault_encodingStyle', encodingStyle)
__encodingStyle._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 121, 4)
__encodingStyle._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 121, 4)
encodingStyle = property(__encodingStyle.value, __encodingStyle.set, None, None)
# Attribute namespace uses Python identifier namespace
__namespace = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'namespace'), 'namespace', '__httpschemas_xmlsoap_orgwsdlsoap_tHeaderFault_namespace', pyxb.binding.datatypes.anyURI)
__namespace._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 122, 4)
__namespace._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 122, 4)
namespace = property(__namespace.value, __namespace.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__message.name() : __message,
__part.name() : __part,
__use.name() : __use,
__encodingStyle.name() : __encodingStyle,
__namespace.name() : __namespace
})
Namespace.addCategoryObject('typeBinding', u'tHeaderFault', tHeaderFault)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes with content type EMPTY
class tFaultRes (tBody):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = True
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tFaultRes')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 98, 2)
_ElementMap = tBody._ElementMap.copy()
_AttributeMap = tBody._AttributeMap.copy()
# Base type is tBody
# Attribute required is restricted from parent
# Attribute {http://schemas.xmlsoap.org/wsdl/}required uses Python identifier required
__required = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(_Namespace_wsdl, u'required'), 'required', '__httpschemas_xmlsoap_orgwsdl_tExtensibilityElement_httpschemas_xmlsoap_orgwsdlrequired', pyxb.binding.datatypes.boolean)
__required._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/wsdl11.xsd', 305, 2)
__required._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 101, 5)
required = property(__required.value, __required.set, None, None)
# Attribute encodingStyle is restricted from parent
# Attribute encodingStyle uses Python identifier encodingStyle
__encodingStyle = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'encodingStyle'), 'encodingStyle', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_encodingStyle', encodingStyle)
__encodingStyle._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 77, 4)
__encodingStyle._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 77, 4)
encodingStyle = property(__encodingStyle.value, __encodingStyle.set, None, None)
# Attribute use is restricted from parent
# Attribute use uses Python identifier use
__use = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'use'), 'use', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_use', useChoice)
__use._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 78, 4)
__use._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 78, 4)
use = property(__use.value, __use.set, None, None)
# Attribute namespace is restricted from parent
# Attribute namespace uses Python identifier namespace
__namespace = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'namespace'), 'namespace', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_namespace', pyxb.binding.datatypes.anyURI)
__namespace._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 79, 4)
__namespace._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 79, 4)
namespace = property(__namespace.value, __namespace.set, None, None)
# Attribute parts is restricted from parent
# Attribute parts uses Python identifier parts
__parts = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'parts'), 'parts', '__httpschemas_xmlsoap_orgwsdlsoap_tBody_parts', pyxb.binding.datatypes.NMTOKENS, prohibited=True)
__parts._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 102, 8)
__parts._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 102, 8)
parts = property(__parts.value, __parts.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__required.name() : __required,
__encodingStyle.name() : __encodingStyle,
__use.name() : __use,
__namespace.name() : __namespace,
__parts.name() : __parts
})
Namespace.addCategoryObject('typeBinding', u'tFaultRes', tFaultRes)
# Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tFault with content type EMPTY
class tFault (tFaultRes):
"""Complex type {http://schemas.xmlsoap.org/wsdl/soap/}tFault with content type EMPTY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_EMPTY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'tFault')
_XSDLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 107, 2)
_ElementMap = tFaultRes._ElementMap.copy()
_AttributeMap = tFaultRes._AttributeMap.copy()
# Base type is tFaultRes
# Attribute required_ inherited from {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes
# Attribute encodingStyle_ inherited from {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes
# Attribute use_ inherited from {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes
# Attribute namespace_ inherited from {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes
# Attribute parts_ inherited from {http://schemas.xmlsoap.org/wsdl/soap/}tFaultRes
# Attribute name uses Python identifier name
__name = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'name'), 'name', '__httpschemas_xmlsoap_orgwsdlsoap_tFault_name', pyxb.binding.datatypes.NCName, required=True)
__name._DeclarationLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 110, 8)
__name._UseLocation = pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 110, 8)
name = property(__name.value, __name.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__name.name() : __name
})
Namespace.addCategoryObject('typeBinding', u'tFault', tFault)
address = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'address'), tAddress, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 140, 2))
Namespace.addCategoryObject('elementBinding', address.name().localName(), address)
binding = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'binding'), tBinding, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 48, 2))
Namespace.addCategoryObject('elementBinding', binding.name().localName(), binding)
operation = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'operation'), tOperation, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 65, 2))
Namespace.addCategoryObject('elementBinding', operation.name().localName(), operation)
body = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'body'), tBody, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 75, 2))
Namespace.addCategoryObject('elementBinding', body.name().localName(), body)
header = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'header'), tHeader, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 116, 2))
Namespace.addCategoryObject('elementBinding', header.name().localName(), header)
headerfault = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'headerfault'), tHeaderFault, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 135, 2))
Namespace.addCategoryObject('elementBinding', headerfault.name().localName(), headerfault)
fault = pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'fault'), tFault, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 97, 2))
Namespace.addCategoryObject('elementBinding', fault.name().localName(), fault)
tHeader._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(Namespace, u'headerfault'), tHeaderFault, scope=tHeader, location=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 135, 2)))
def _BuildAutomaton ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton
del _BuildAutomaton
import pyxb.utils.fac as fac
counters = set()
cc_0 = fac.CounterCondition(min=0L, max=None, metadata=pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 128, 10))
counters.add(cc_0)
states = []
final_update = set()
final_update.add(fac.UpdateInstruction(cc_0, False))
symbol = pyxb.binding.content.ElementUse(tHeader._UseForTag(pyxb.namespace.ExpandedName(Namespace, u'headerfault')), pyxb.utils.utility.Location('/tmp/pyxbdist.FvaD3zy/PyXB-1.2.3/pyxb/bundles/wssplat/schemas/soapbind11.xsd', 128, 10))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
transitions.append(fac.Transition(st_0, [
fac.UpdateInstruction(cc_0, True) ]))
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, True, containing_state=None)
tHeader._Automaton = _BuildAutomaton()
|