我正在尝试使用python库来使用一些SOAP Zeep。但是当我尝试创建客户端时,我找不到我的问题所在。下面是我的代码示例:
from requests import Session
from requests.auth import HTTPBasicAuth
from zeep import Client, Settings
from zeep.cache import SqliteCache
from zeep.transports import Transport
from conf.shared_vars import B2B_PROXY, WSDL_PROXY
session
例如,我的Python程序中有多个XSD字符串。
xsd1 = '''<?xml version...
<xs:schema targetNamespace="...
'''
xsd2 = '''...'''
import xmlschema
schema = xmlschema.XMLSchema([xsd1, xsd2]) # it seems xmlschema does not accept such arguments
# then using schema t
我有以下格式的XSD文件:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:type name="type1">
<xsd:example>
<xsd:description>This is the description of said type1 tag</xsd:d