From a8c5844184764d02ca65379a90a0e52fe12ca65d Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 16 Jun 2009 03:20:21 +0000 Subject: [PATCH] --- wsdl/gw2wsdl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wsdl/gw2wsdl.py b/wsdl/gw2wsdl.py index b95ab399..0dadaf7c 100755 --- a/wsdl/gw2wsdl.py +++ b/wsdl/gw2wsdl.py @@ -161,10 +161,12 @@ def add_wsdl_ports_and_bindings (wsdl): op_el = port_el.appendChild(wsdl.createElement("wsdl:operation")) op_el.setAttribute("name", method) - inp_el=wsdl.createElement("wsdl:input").setAttribute("message","tns:" + method + "_in" + inp_el=wsdl.createElement("wsdl:input") + inp_el.setAttribute("message","tns:" + method + "_in") inp_el.setAttribute("name",method+"_request") op_el.appendChild(inp_el) - out_el = wsdl.createElement("wsdl:output").setAttribute("message","tns:" + method + "_out") + out_el = wsdl.createElement("wsdl:output") + out_el.setAttribute("message","tns:" + method + "_out") out_el.setAttribute("name",method+"_response") op_el.appendChild(out_el) -- 2.47.0