Changeset fca8740


Ignore:
Timestamp:
Aug 28, 2008 3:22:09 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
4d48e01
Parents:
2d5c8b6
Message:

xmlrpc access to Create

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_proj.py

    r2d5c8b6 rfca8740  
    4949            'Create' : 'soap_Create',\
    5050            }
    51     xmlrpc_methods = { 'RequestAccess': 'xmlrpc_RequestAccess' }
     51    xmlrpc_methods = { \
     52            'RequestAccess': 'xmlrpc_RequestAccess',
     53            'Create': 'xmlrpc_Create',
     54            }
    5255
    5356    class access_project:
     
    579582                    "No response generated?!");
    580583
     584    def xmlrpc_RequestAccess(self, params, fid):
     585        msg = self.create_experiment.create_experiment(params[0], fedid)
     586
     587        if msg != None:
     588            return xmlrpclib.dumps(({ "CreateResponseBody": msg },))
     589        else:
     590            raise service_error(service_error.internal,
     591                    "No response generated?!");
     592
    581593    def read_trust(self, trust):
    582594        """
Note: See TracChangeset for help on using the changeset viewer.