#217 default value for elements in wsdl ignored

v2.0
open
nobody
zsi (169)
5
2007-10-15
2007-10-15
No

I'm using ZSI-2.0 to generate server code from a wsdl using wsdl2dispatch and I tried adding default values to a couple of integer elements. When I generated the code, the element defaults were all set to None. In generate/containers.py, the default value for all elements is set to None, so and 'default' attribute in the WSDL is being ignored. I added a line around line 1399 to fix the problem:
+ defaultValue = c.getAttribute('default')

this worked for the default int values but probably won't work for strings and some other types.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks