Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

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

A Web service for content updating

Return to article


Listing 7b

[uogbuji@borgia code]$ python add_software2.py Saturnalia 1.7
Creator: Chronos@Olympos.gr
Home: http://saturnalia.olympos.gr
Description: One helluva festival
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://spam.com/softrepo' SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
 <SOAP-ENV:Body>
 <ftsoap:Document uri='/softrepo/incoming/Saturnalia-1.7.xml' imt='text/xml'>PHJkZjpSREYKICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5
bnRheC1ucyMiCiAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEiCiAg
eG1sbnM9Imh0dHA6Ly9uYW1lc3BhY2VzLjRzdWl0ZS5vcmcvd3d3L3NvZnR3YXJlLW1hcCIKPgog
IDxTb2Z0d2FyZSByZGY6SUQ9IlNhdHVybmFsaWEiPgogICAgPGRjOlRpdGxlPlNhdHVybmFsaWE8
L2RjOlRpdGxlPgogICAgPGRjOkNyZWF0b3I+Q2hyb25vc0BPbHltcG9zLmdyPC9kYzpDcmVhdG9y
PgogICAgPEhvbWUgcmRmOnJlc291cmNlPSJodHRwOi8vc2F0dXJuYWxpYS5vbHltcG9zLmdyIi8+
CiAgICA8Q3VycmVudFZlcnNpb24+MS43PC9DdXJyZW50VmVyc2lvbj4KICAgIDxkYzpEZXNjcmlw
dGlvbj5PbmUgaGVsbHV2YSBmZXN0aXZhbDwvZGM6RGVzY3JpcHRpb24+CiAgPC9Tb2Z0d2FyZT4K
PC9yZGY6UkRGPgo=
</ftsoap:Document>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Return to article