Package tlib :: Package base :: Module SoapRequestor :: Class SoapRequestor |
[hide private]
[frames] | no frames]

# Class SoapRequestor

source code

    object --+
             |
            SoapRequestor

Helper class to contruct and send SOAP requests

Instance Methods | [hide private]
__init__(self, logger, wsdl, the_doctor=None) Constructor for class | source code
create_client(self) | source code
get_methods(self) Fetches a list of method objects from the wsdl and returns them in a list | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| client = `None` client object for making calls and receiving responses
| api_wsdl = ``'````'`` WSDL file url / location to define calls
| logger = `None` logger to send loggin information to.
| my_doctor = `None` suds Doctor to fix any issues with the wsdl definition

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, logger, wsdl, the_doctor=None) (Constructor) | source code
Constructor for class Args : logger : (logger) instance of a logging object configured in testing project wsdl : (str) URL to the location of the wsdl file doctor : (ImportDoctor) instance of the suds.xsd.doctor.ImportDoctor class for fixing broken schemas Overrides: object.__init__

### get_methods(self) | source code
Fetches a list of method objects from the wsdl and returns them in a list Returns: (list) of suds Method objects containing all information on calling method and handling the response.

Class Variable Details | [hide private]

  ### logger logger to send loggin information to. Logger comes from pytest test definitions Value:
      None