

def process_Submit(self):
    (lab_server_id, experiment_specification, _, _) = serializer.parse_submit_request(request.data)
    ilab_request = {
        'operation': 'submit',
        'payload': experiment_specification,
    }
    reservation_status = weblab_api.api.reserve_experiment(ExperimentId(lab_server_id, 'iLab experiments'), json.dumps(ilab_request), '{}')
    weblab_api.ctx.other_cookies = {
        'weblab_reservation_id': reservation_status.reservation_id.id,
    }
    return ('<?xml version="1.0" encoding="utf-8"?>\n<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">\n<soap:Body>\n<SubmitResponse xmlns="http://ilab.mit.edu">\n<SubmitResult>\n<vReport>\n<accepted>true</accepted>\n<errorMessage />\n<estRuntime>8</estRuntime>\n</vReport>\n<experimentID>61</experimentID>\n<minTimeToLive>0</minTimeToLive>\n<wait>\n<effectiveQueueLength>%s</effectiveQueueLength>\n<estWait>5</estWait>\n</wait>\n</SubmitResult>\n</SubmitResponse>\n</soap:Body>\n</soap:Envelope>' % experiment_specification.position)

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/web/ilab.py process_Submit/VarMisuse@93/376 `reservation_status`->`experiment_specification`