[Fedora-suds-list] SoapFault missing attributes (Fault Description, Fault Code) on the client side

Rizwan Raza rizwan.raza at gmail.com
Fri Aug 1 16:03:02 UTC 2008


Guys:

I am deliberately raising a SOAP fault from a web service method with
some 'Description' and 'Code' which I intend to see on the client
side.

Below is what I got. It does not contain the SOAP fault description
and Code. It just says "Server raised fault"

Traceback (most recent call last):
  File "C:\Python24\lib\logging\__init__.py", line 706, in emit
    msg = self.format(record)
  File "C:\Python24\lib\logging\__init__.py", line 592, in format
    return fmt.format(record)
  File "C:\Python24\lib\logging\__init__.py", line 385, in format
    s = self._fmt % record.__dict__
KeyError: 'funcName'
Traceback (most recent call last):
  File "WSTest01.py", line 24, in ?
    print serviceProxy.FindCalendarsByName('LCCME_OPTIONS','','','','','')
  File "build\bdist.win32\egg\suds\client.py", line 166, in __call__
suds.WebFault: Server raised fault: '(faultstring){
   _lang = "en-US"
 }'

Is there a way to capture SOAP fault description and various other parameters?

Thanks




More information about the fedora-suds-list mailing list