89
89
'storage.msn.com', 443, '/storageservice/SchematizedStore.asmx',
90
90
soap.templates.updateProfile % (affinityCache, rid, nick, pm), callback, args)
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)
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)
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)
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)
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)
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)