You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/12/03 04:41:09 UTC

svn commit: r481700 - /incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py

Author: jsdelfino
Date: Sat Dec  2 19:41:09 2006
New Revision: 481700

URL: http://svn.apache.org/viewvc?view=rev&rev=481700
Log:
Uncommented the call to the update command in the REST Customer sample, now that multipart/form-data parts are correctly parsed.

Modified:
    incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py

Modified: incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py?view=diff&rev=481700&r1=481699&r2=481700
==============================================================================
--- incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py (original)
+++ incubator/tuscany/cpp/sca/samples/RestCustomer/sample.customer.restclient/CustomerRestClient.py Sat Dec  2 19:41:09 2006
@@ -75,9 +75,8 @@
 print "Command  - Retrieved customer " + et.tostring(customer)
 
 customer.find("{http://sample.customer}lastName").text="Smith"
-# commented out for now as application/form-data does not work yet
-#customerCommand.update("1234", customer)
-#print "Command  - Updated customer 1234"
+customerCommand.update("1234", customer)
+print "Command  - Updated customer 1234"
 
 customer = customerCommand.retrieve("1234")
 print "Command  - Retrieved customer " + et.tostring(customer)



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org