[Pywps-commits] r1015 - branches/pywps-3.2-soap/pywps/Wps

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Sep 15 12:04:29 CEST 2010


Author: jesus
Date: 2010-09-15 12:04:29 +0200 (Wed, 15 Sep 2010)
New Revision: 1015

Modified:
   branches/pywps-3.2-soap/pywps/Wps/Execute.py
Log:
Status reply was sending a SOAP envelope, caused by the lack of a new attribute in pyws.response.response

Modified: branches/pywps-3.2-soap/pywps/Wps/Execute.py
===================================================================
--- branches/pywps-3.2-soap/pywps/Wps/Execute.py	2010-09-15 07:54:26 UTC (rev 1014)
+++ branches/pywps-3.2-soap/pywps/Wps/Execute.py	2010-09-15 10:04:29 UTC (rev 1015)
@@ -412,9 +412,14 @@
             self.response = self.templateProcessor.__str__()
 
         # print status
+        
         if self.storeRequired and self.statusRequired:
+            import logging
+            logging.debug("isSOAP:%s" % self.wps.parser.isSoap)
+            logging.debug("soapVersion:%s" % self.wps.parser.soapVersion)
             pywps.response.response(self.response,
                                     self.outputFile,
+                                    self.wps.parser.soapVersion,
                                     self.wps.parser.isSoap,
                                     self.contentType)
 
@@ -664,6 +669,7 @@
                                    self.status == self.failed):
             pywps.response.response(self.response,
                                     self.outputFile,
+                                    self.wps.parser.soapVersion,
                                     self.wps.parser.isSoap,
                                     self.contentType)
         



More information about the Pywps-commits mailing list