Browse Source

----------------------------------------------------------------------

Modified Files:
 	WSDLTools.py  - small fix for the creation of the output parameters,
           to enable return messages to be properly typecoded.


 ----------------------------------------------------------------------
main
Joshua Boverhof 21 years ago
parent
commit
0df7923430
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      WSDLTools.py

+ 8
- 6
WSDLTools.py View File

@@ -1171,12 +1171,14 @@ def callInfoFromWSDL(port, name):
parts = message.parts.values()

if parts:
callinfo.setReturnParameter(
parts[0].name,
parts[0].element or parts[0].type,
element_type = parts[0].element and 1 or 0
)
for part in parts[1:]:
# XXX no idea what this is for, but it breaks everything. jrb
#callinfo.setReturnParameter(
# parts[0].name,
# parts[0].element or parts[0].type,
# element_type = parts[0].element and 1 or 0
# )
#for part in parts[1:]:
for part in parts:
callinfo.addOutParameter(
part.name,
part.element or part.type,


Loading…
Cancel
Save