作者:最爱一片小舟 | 来源:互联网 | 2023-12-13 20:28
i have this simple type from an external webservice:
我从外部Web服务有这个简单的类型:
but whe i launch wsdl2py -b filename.wsdl i got this error:
但是,当我启动wsdl2py -b filename.wsdl时,我收到此错误:
ZSI.generate.Wsdl2PythonError: unsupported local simpleType restriction:
How can i fix this? I tried to change from simpleType to compleType and wsdl2py generate python code without problem. In this way i can't be able to use card_number in my python object.
我怎样才能解决这个问题?我试图从simpleType更改为compleType和wsdl2py生成python代码没有问题。这样我就无法在我的python对象中使用card_number。
Thanks for helping.
谢谢你的帮助。
1 个解决方案