def login(username, password):
    
    root, body = create_root_request()
    
    el = create_request_type(body, "login")
    
    username_el = SubElement(el, "username")
    username_el.set("xsi:type", "xsd:string")
    username_el.text = username
    
    password_el = SubElement(el, "password")
    password_el.set("xsi:type", "xsd:string")
    password_el.text = password
    
    return tostring(root)
This method requires SSL be used due to the sensitive nature of
dataset/ETHPy150Open mapbox/usgs/usgs/soap.py/login