python - How to specify type when using zeep
问题描述
WSDL defines an element as follows
<xs:element minOccurs="0" name="address" nillable="true" type="q146:Address"/>
My zeep request is as follows
client.service.UpdateAddressDetails(address='sample@sample.com')
But I am getting
Missing element type (UpdateAddressDetails.address.type)
From what i know i need to specify the type for this field. How can I do it, I have come across this zeep documentation but nothing clicked
解决方案
您是否尝试过在地址参数中使用大写“A”:
client.service.UpdateAddressDetails(Address='sample@sample.com')
推荐阅读
- android-studio - KMM 应用程序 iproject 模板未显示
- html - Facebook、Whatsapp 和 iMessage 的 OpenGraph 图像标准
- scala - Scala编译器插件将函数定义重写为元组:错误:未找到:值scala.Tuple2
- mysql - MySQL Workbench 错误悬停工具提示为空白
- python-3.x - 在本地执行 ansible 模块代码时出现“No module named library/my_module”错误
- python - 仅当数据框异常值出现在每行 Python 的多个列上时才删除
- c - 为什么如果我们分配一个变量 0 它在 if else 语句中不能正常工作
- python - 了解埃拉托色尼筛
- r - 如何“取消组合”预先分组的数据框
- r - 使用 R 在 excel 中使用动态 sheetNames 编写多张工作表