How to set default xmlns with zeep in Python?

前端 未结 1 1199
一整个雨季
一整个雨季 2021-01-25 13:16

I want to use zeep to make some API calls. The expected output is:




        
相关标签:
1条回答
  • 2021-01-25 14:04

    You were close

    client.set_ns_prefix('ns0', '')
    

    Should read

    client.set_ns_prefix(None, "https://xml.dbcarsharing-buchung.de/hal2_cabserver/")
    

    Then the default namespace should be used.

    0 讨论(0)
提交回复
热议问题