from zeep import Client from zeep.exceptions import Fault # Replace with the actual WSDL URL for your service wsdl = 'http://10.35.7.12/iWsService' # Initialize the SOAP client client = Client('http://10.35.7.12/iWsService') # Set the communication key and other necessary parameters com_key = "0" # Replace with your actual communication key pin = "29305" # Replace with the actual user name if required try: # Call the GetUserInfo method response = client.service.GetUserInfo( ArgComKey=com_key, PinKey=pin # Adjust according to the service's method signature ) # Process and print the response print("User Information:", response) except Fault as fault: # Handle specific SOAP faults print("SOAP Fault:", fault) except Exception as e: # Handle other exceptions print("An error occurred:", e)