70 likes | 172 Views
Querying Business Processes with BP-QL. Catriel Beeri Hebrew University Anat Eyal, Simon Kamenkovich, Tel Aviv University Tova Milo. Business Processes. Complex applications Integrating remote Web Services Standards facilitate development XML data exchange
E N D
Querying Business Processes with BP-QL Catriel Beeri Hebrew University Anat Eyal, Simon Kamenkovich, Tel Aviv University Tova Milo
Business Processes • Complex applications • Integrating remote Web Services Standards facilitate development • XML data exchange • BPEL specifications
Service Specifications <process> <!– Definition and roles of participants --> <partnerLinks> ... </partnerLinks> <!- Data/state used within the process --> <variables> ... </variables> <!- Exception handling --> <faultHandlers> ... </faultHandlers <!- Error recovery – undoing actions --> <compensationHandlers> ... <!- Concurrent events --> <eventHandlers> ... </eventHandlers> <!- Business process flow --> (activities)* </process>
Interesting questions What kind of credit services are used (in)directly? How can I buy a plane ticket ? Can one get a price quote without giving first credit card info? Design Considerations A dedicated language vs. XQuery Visual query similar to specifications (BPEL designer) Query specifications vs. execution flow Distributed query processing Motivation Not just simplifying development… This is a new mine of Information!
Query Language Which operations are provided by the Airline service? Query language extensions (1) • Transitive edge • Zoom-in node • Local/ global
Query with Negation Which airline services allow to searchwithoutlogin first? Query language extensions (2) • Negation We can also query the data flow (not just the execution flow)
Active XML: XML with embedded calls to Web Services state type=“initial” transition state name=“searchTrip” transition zoom-in state type=“initial” state transition name=“reserveTrip” state type=“join” transition transition axml:sc axml:sc service=“getOperation/ searchCars” service=“getOperation/ searchFlights” … zoom-out axml:sc Architecture The problem: • Distribution of specifications • Cycles in the service graph BP-QL Query Editor Result Viewer BPQL 2 XOQL Post Processor AXML peer S1 AXML peer S2 query Query processor SOAP Evaluator AXML read update SOAP wrapper read update consults AXML AXML peer S3 service descriptions SOAP AXML document store