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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]