From: Sapan Bhatia Date: Tue, 16 Jun 2009 03:20:21 +0000 (+0000) Subject: (no commit message) X-Git-Tag: sfa-0.9-0@14641~275 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a8c5844184764d02ca65379a90a0e52fe12ca65d;p=sfa.git --- 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)