~ubuntu-branches/ubuntu/oneiric/emesene/oneiric-proposed

« back to all changes in this revision

Viewing changes to emesenelib/soap/requests.py

  • Committer: Bazaar Package Importer
  • Author(s): Devid Antonio Filoni
  • Date: 2010-04-14 01:33:51 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414013351-r2icbt5gs4ai71j8
Tags: 1.6.1-0ubuntu1
* New upstream release (LP: #562646).
* Fix missing-debian-source-format lintian warning.
* Refresh 20_dont_build_own_libmimic.patch patch.
* Bump Standards-Version to 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
90
90
        soap.templates.updateProfile % (affinityCache, rid, nick, pm), callback, args)
91
91
 
 
92
def create_profile(proxy, callback):
 
93
    soap.manager.do_request(proxy,
 
94
        'http://www.msn.com/webservices/storage/w10/CreateProfile',
 
95
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
96
        soap.templates.createProfile, callback)
 
97
 
 
98
def update_dp(proxy, affinitycache, cid, name, mimetype, data, callback, *args):
 
99
    soap.manager.do_request(proxy,
 
100
        'http://www.msn.com/webservices/storage/w10/CreateDocument',
 
101
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
102
        soap.templates.updateDp % (affinitycache, cid, name, mimetype, data), callback, args)
 
103
 
 
104
def create_relationships(proxy, affinitycache, source_id, target_id, callback, *args):
 
105
    soap.manager.do_request(proxy,
 
106
        'http://www.msn.com/webservices/storage/w10/CreateRelationships',
 
107
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
108
        soap.templates.createRelationships % (affinitycache, source_id, target_id), callback, args)
 
109
 
 
110
def find_document(proxy, affinitycache, cid, callback, *args):
 
111
    soap.manager.do_request(proxy,
 
112
        'http://www.msn.com/webservices/storage/w10/FindDocuments',
 
113
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
114
        soap.templates.findDocument % (affinitycache, cid), callback, args)
 
115
 
 
116
def delete_relationship1(proxy, affinitycache, dpid, cid, callback, *args):
 
117
    soap.manager.do_request(proxy,
 
118
        'http://www.msn.com/webservices/storage/w10/DeleteRelationships',
 
119
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
120
        soap.templates.deleteRelationship1 % (affinitycache, cid, dpid), callback, args)
 
121
 
 
122
def delete_relationship2(proxy, affinitycache, dpid, rid, callback, *args):
 
123
    soap.manager.do_request(proxy,
 
124
        'http://www.msn.com/webservices/storage/w10/DeleteRelationships',
 
125
        'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
 
126
        soap.templates.deleteRelationship2 % (affinitycache, rid, dpid), callback, args)
 
127