From: Sapan Bhatia Date: Tue, 16 Jun 2009 03:17:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: sfa-0.9-0@14641~276 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d3c1e293aa502d63555a8a20756fdad1fb7a4011;p=sfa.git --- diff --git a/wsdl/gw2wsdl.py b/wsdl/gw2wsdl.py index 5d586a07..b95ab399 100755 --- a/wsdl/gw2wsdl.py +++ b/wsdl/gw2wsdl.py @@ -161,10 +161,11 @@ 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").setAttribute("message","tns:" + method + "_in" inp_el.setAttribute("name",method+"_request") op_el.appendChild(inp_el) - out_el = op_el.appendChild(wsdl.createElement("wsdl:output")).setAttribute("message","tns:" + method + "_out") + out_el = wsdl.createElement("wsdl:output").setAttribute("message","tns:" + method + "_out") + out_el.setAttribute("name",method+"_response") op_el.appendChild(out_el) # Bindings