from gnuviechadmin_services import * from ZSI.ServiceContainer import ServiceSOAPBinding class gnuviechadmin(ServiceSOAPBinding): soapAction = { 'https://ssl.gnuviech.info/gnuviechadmin/Authenticate': 'soap_Authenticate', 'https://ssl.gnuviech.info/gnuviechadmin/ListDomains': 'soap_ListDomains', 'https://ssl.gnuviech.info/gnuviechadmin/ListMailAliases': 'soap_ListMailAliases', } _wsdl = """ """ def __init__(self, post='/gnuviechadmin', **kw): ServiceSOAPBinding.__init__(self, post) def soap_Authenticate(self, ps): # input vals in request object args = ps.Parse( AuthRequestWrapper ) # assign return values to response object class SimpleTypeWrapper(str): typecode = AuthResponseWrapper() # WARNING specify value eg. SimpleTypeWrapper(1) response = SimpleTypeWrapper() # Return the response return response def soap_ListDomains(self, ps): # input vals in request object args = ps.Parse( ListDomainsRequestWrapper ) # assign return values to response object response = ListDomainsResponseWrapper() # Return the response return response def soap_ListMailAliases(self, ps): # input vals in request object args = ps.Parse( ListMailAliasesRequestWrapper ) # assign return values to response object response = ListMailAliasesResponseWrapper() # Return the response return response