Ignore:
Timestamp:
14/07/06 11:45:38 (13 years ago)
Author:
pjkersha
Message:

setup.py, README: altered version info to post Alpha development
NDG/LogClient.py, SimpleCAClient.py and GatekeeperClient?.py: catch HTTPResponse error from ZSI ServiceProxy?. This
allows more error info for file not found type problems.

NDG/Session.py, NDG/CredWallet.py: use AttAuthorityClient? wrapper rather than direct calls to ZSI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/NDG/GatekeeperClient.py

    r968 r1301  
    1414 
    1515from ZSI import ServiceProxy 
     16from ZSI.wstools.Utility import HTTPResponse 
    1617import sys 
    1718import os 
     
    7677                                        use_wsdl=True,  
    7778                                        tracefile=self.__traceFile) 
     79        except HTTPResponse, e: 
     80            raise GatekeeperClientError, \ 
     81                "Error initialising WSDL Service Proxy for \"%s\": %s %s" % \ 
     82                (self.__wsdl, e.status, e.reason) 
     83                 
    7884        except Exception, e: 
    79             raise GatekeeperClientError(\ 
    80                     "Initialising WSDL Service Proxy: " + str(e)) 
     85            raise GatekeeperClientError, \ 
     86                    "Initialising WSDL Service Proxy: " + str(e) 
    8187 
    8288                                     
Note: See TracChangeset for help on using the changeset viewer.