RescueHandlerWrapper
""
""
""
""
1100
http://sumatra.wst.univie.ac.at:9290/groups/Cinemas/
http://sumatra.wst.univie.ac.at:9291/
post
true
'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'
'Cinemas-Input'
'EN'
data.title = result.data.value('title')
data.date = result.data.value('date')
data.city = result.data.value('city')
true
"search_and_book"
endpoints.injection_handler
"select"
data.title
data.date
res = result[0]
if res['status'] == 200
# Computing service responses
data.reservation_number = res['reservation_id']
data.starting_time = res['starting_time']
data.selected_title = res['movie_title']
data.selected_date = res['selected_date']
data.hall = res['hall']
# Computing properties of executed services
perf_book = properties['call_book']['perform_book']
data.selected_cinema = " #{perf_book.values[0]['vendor']['name']}\n#{perf_book.values[0]['address']['street']}\n#{perf_book.values[0]['address']['zip']} #{perf_book.values[0]['address']['city']}"
end
post
true
'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'
'Cinemas-Output'
'EN'
data.selected_title
data.selected_date
data.hall
data.reservation_number
data.selected_cinema
http://cpee.org/~demo/rescue-1.0.xslt