class API: def __init__(self, url=None): self.stub = NVWebServiceServiceLocator().getNVWebServicePort(url=url) def validate(self, name, type): toPass = NVWebService_validateWS() toPass._name = name toPass._type = type return self.stub.validateWS(toPass)._return
def __init__(self, url=None): self.stub = NVWebServiceServiceLocator().getNVWebServicePort(url=url)