The Python Web services developer, Part 3: Web services software repository, Part 2

A Web service for content updating

Return to article

Listing 4b
[uogbuji@borgia code]$ python add_software1.py Saturnalia-1.6.xml dublin_core softrepo/incoming/Saturnalia-1.6.xml
200
OK
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE SOAP-ENV:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:ftsoap='http://xmlns.4suite.org/services' SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
 <SOAP-ENV:Body>
 <ftsoap:Document uri='/softrepo/incoming/Saturnalia-1.6.xml' imt='text/xml'>PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4KPHJkZjpSREYgeG1sbnM6ZGM9
J2h0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEnIHhtbG5zOnJkZj0naHR0cDovL3d3dy53
My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyc+PFNvZnR3YXJlIHJkZjpJRD0nU2F0dXJu
YWxpYScgeG1sbnM9J2h0dHA6Ly9uYW1lc3BhY2VzLjRzdWl0ZS5vcmcvd3d3L3NvZnR3YXJlLW1h
cCc+PGRjOlRpdGxlPlNhdHVybmFsaWE8L2RjOlRpdGxlPjxkYzpDcmVhdG9yPkNocm9ub3MgJmx0
O0Nocm9ub3NAT2x5bXBvcy5ncj48L2RjOkNyZWF0b3I+PGRjOkRlc2NyaXB0aW9uPk9uZSBoZWxs
dXZhIGZlc3RpdmFsPC9kYzpEZXNjcmlwdGlvbj48Q3VycmVudFZlcnNpb24+MS42PC9DdXJyZW50
VmVyc2lvbj48SG9tZSByZGY6cmVzb3VyY2U9J2h0dHA6Ly9zYXR1cm5hbGlhLm9seW1wb3MuZ3In
Lz48L1NvZnR3YXJlPjwvcmRmOlJERj4KCg==
</ftsoap:Document>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Return to article