Table of Contents

Class: SOAPParser ./pyGlobus/GSISOAP.py

SOAP Parser

Base Classes   
xml.sax.handler.ContentHandler
Methods   
__init__
characters
convertDateTime
convertType
endDocument
endElementNS
endPrefixMapping
popFrame
pushFrame
startArray
startElementNS
startPrefixMapping
  __init__ 
__init__ ( self,  rules=None )

  characters 
characters ( self,  c )

  convertDateTime 
convertDateTime (
        self,
        value,
        kind,
        )

Exceptions   
Error, "invalid %s value `%s' - %s" %( kind, value, e )
Exception
  convertType 
convertType (
        self,
        d,
        t,
        attrs,
        )

Exceptions   
AttributeError, "invalid boolean value"
Error, "unknown or missing binary encoding"
OverflowError, "%s too large" % d
OverflowError, "%s too large" % t [ 1 ]
UnderflowError, "%s too small" % d
UnderflowError, "%s too small" % t [ 1 ]
UnderflowError, "invalid %s" % t [ 1 ]
UnknownTypeError, "unknown type `%s'" %(t [ 0 ] + ':' + t [ 1 ] )
ValueError, "invalid %s" % t [ 1 ]
  endDocument 
endDocument ( self )

Exceptions   
Error, "unresolved reference " + self._refs.keys() [ 0 ]
Error, "unresolved references " + ', '.join(self._refs.keys() )
  endElementNS 
endElementNS (
        self,
        name,
        qname,
        )

Exceptions   
Error, "SOAP-ENC:root must be `0' or `1'"
Error, "didn't get SOAP-ENV:Body"
Error, "didn't get SOAP-ENV:Envelope"
Error, "duplicate id `%s'" % idval
Error, "hrefs can't have data"
Error, "nils can't have data"
Error, "non-root element must have an id"
Error, "only do local hrefs right now"
  endPrefixMapping 
endPrefixMapping ( self,  prefix )

  popFrame 
popFrame ( self )

  pushFrame 
pushFrame ( self,  frame )

  startArray 
startArray (
        self,
        name,
        kind,
        attrs,
        elemsname,
        )

Exceptions   
AttributeError, "invalid Array offset"
AttributeError, "invalid Array type `%s'" % kind
Exception
  startElementNS 
startElementNS (
        self,
        name,
        qname,
        attrs,
        )

Exceptions   
Error, "expected `SOAP-ENV:Body', got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
Error, "expected `SOAP-ENV:Envelope', got `%s:%s'" %(self._prem_r [name [ 0 ] ], name [ 1 ] )
Error, "expected `SOAP-ENV:Header' or `SOAP-ENV:Body', " "got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
Error, "expected nothing, got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
faultType, ("%s:VersionMismatch" % NS.ENV_T, "Don't understand version `%s' Envelope" % name [ 0 ] )
  startPrefixMapping 
startPrefixMapping (
        self,
        prefix,
        uri,
        )


Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1