选择<条码> 错误: 投入说明:“。 这可能意味着水桶无法存储数据。 但我的xml格式良好。 为什么在这种xml的轮椅上轮椅?
I am using Suds + python. Here is the wsdl of the soap service:
<xs:element name="parameters">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="entry">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="key" type="xs:string"/>
<xs:element minOccurs="0" name="value" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
甲型六氯环己烷
client = Client(url)
query = client.factory.create( query )
listval1 = {"key":"*:*","value":"*:*"}
query.parameters.entry = [listval1]
response = client.service.search(query)
XML ud:
<query>
<parameters>
<entry>
<key>*:*</key>
<value>*:*</value>
</entry>
</parameters>
</query>
I continue to get unmarshalling Error
. Is this because xsi:type="ns0:string"
is not added by suds to key
and value
? If yes then how to add it?