[Gug-cvs] gug/gug/host/handler soap.py,1.16,1.17
Status: Planning
Brought to you by:
szferi
From: Nagy Z. <zs...@us...> - 2007-06-06 14:02:09
|
Update of /cvsroot/gug/gug/gug/host/handler In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv12980/gug/host/handler Modified Files: soap.py Log Message: Insert 'Response' into soap responses. Index: soap.py =================================================================== RCS file: /cvsroot/gug/gug/gug/host/handler/soap.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** soap.py 6 Jun 2007 10:18:09 -0000 1.16 --- soap.py 6 Jun 2007 14:02:06 -0000 1.17 *************** *** 89,93 **** result = method(auth, *args, **kw) # create a SOAP message ! response = str(SoapWriter().serialize(result, MyAny(nillable = True))) except Exception, e: # if there is any exception, first write it to the log --- 89,94 ---- result = method(auth, *args, **kw) # create a SOAP message ! response = str(SoapWriter().serialize({'Response': result}, MyAny(nillable = True))) ! print response except Exception, e: # if there is any exception, first write it to the log |