comet.CSOAP¶
- class comet.CSOAP¶
This section describes all functions for the comet.CSOAP class.
Methods¶
- CSOAP.getServer()¶
Get the server name of this connection.
- Returns
The server name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSOAP.getUser()¶
Get the user name this connection was established with.
- Returns
The user name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSOAP.getLanguage()¶
Get the language this connection was established with.
- Returns
The language
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSOAP.getClient()¶
Get the client name this connection was established with.
- Returns
The client name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSOAP.getCharset()¶
Get the character set this connection was established with.
- Returns
The character set
0: System charset
1: UTF-8
2: Unicode 16 Bit
3: Unicode 32 Bit
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSOAP.uploadFile(ID, path, description='', mimeType='')¶
Upload a file to the SOAP connection.
- Parameters
- Return type
- Raises
TypeError – When parameter types are invalid
When parameter ID is empty
When parameter path is empty
CometError – On internal error
- Available
- CScript
- CSOAP.uploadData(ID, data, dataName, description='', mimeType='')¶
Upload data to the SOAP connection.
- Parameters
- Return type
- Raises
TypeError – When parameter types are invalid
When parameter ID is empty
When parameter dataName is empty
CometError – On internal error
- Available
- CScript
- CSOAP.uploadFolder(path, prefix='')¶
Upload a local folder and all contained files and folders recursively to the SOAP connection.
- Parameters
- Return type
- Raises
TypeError – When parameter types are invalid
ValueError – When parameter path is empty
CometError – On internal error
- Available
- CScript
- CSOAP.download(ID)¶
Download data from the SOAP connection which is identified by a unique ID.
- Parameters
ID (str) – The unique ID for the SOAP service to identify the data to download.
- Returns
The downloaded data
- Return type
- Raises
TypeError – When parameter types are invalid
ValueError – When parameter ID is empty
CometError – On internal error
- Available
- CScript
- CSOAP.createQuery()¶
Creates a new transaction query object for this connection.
- Returns
A new query object
- Return type
- Raises
CometError – On internal error
- Available
- CScript