SOAP¶
Client-independent SOAP support.
SOAP is an HTTP-based protocol
This packages provides implementations specific to SOAP. The generic HTTP features are available as a part of HTTP support.
Markers¶
operation_name ¶
Mark a service call's operation name.
Examples:
>>> class SupportsNumberConversion(SupportsService):
>>> @operation_name("NumberToWords")
>>> def number_to_words(self) -> ...:
>>> ...
See Also
Source code in combadge/support/soap/markers.py
Responses¶
Response extensions for SOAP.
BaseSoapFault ¶
Bases: ErrorResponse
SOAP Fault error response model.
This class is intended for use with the SOAP Fault specification
For custom errors returned in a SOAP response body (such as <error>
tag),
subclass the ErrorResponse
.
Tip
SOAP backends should always fall back to BaseSoapFault
if the actual SOAP fault
does not match any of the protocol's return types.
For client developers, this means that it is a good idea to include BaseSoapFault
as the last possible Union
variant to let users know that is should be handled.
Source code in combadge/support/soap/response.py
raise_for_result ¶
Raise the derived error for this fault.