From 0df7923430c74ac40b24223d9c66deab81992571 Mon Sep 17 00:00:00 2001 From: Joshua Boverhof Date: Tue, 9 Mar 2004 22:53:58 +0000 Subject: [PATCH] ---------------------------------------------------------------------- Modified Files: WSDLTools.py - small fix for the creation of the output parameters, to enable return messages to be properly typecoded. ---------------------------------------------------------------------- --- WSDLTools.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/WSDLTools.py b/WSDLTools.py index ace96c1..72d1cce 100755 --- a/WSDLTools.py +++ b/WSDLTools.py @@ -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,