Data Source in MicroStrategy

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

An Erlang Implementation of Restms. Why have messaging? Separates applications cheaply Feed information to the right applications cheaply Interpret feed.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Overview Environment for Internet database connectivity
Introduction to Web Services
Siebel Web Services Siebel Web Services March, From
Using Taverna to access SOAP-based web services Per Larsson CBR
SOAP.
SE 370: Programming Web Services Week 4: SOAP & NetBeans Copyright © Steven W. Johnson February 1, 2013.
Introduction to Web Services and Web API’s Richard Holowczak Baruch College December, 2014.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Understand Web Services
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Web Services Andrea Miller Ryan Armstrong Alex. Web services are an emerging technology that offer a solution for providing a common collaborative architecture.
Web Services By Ethan Justin Yuli. Web Services in Action Information through Integration (Google Example)Google Example What do Web.
Multiple Tiers in Action
Peoplesoft: Building and Consuming Web Services
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Service-Oriented Programming
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Astronomical Data Query Language Simple Query Protocol for the Virtual Observatory Naoki Yasuda 1, William O'Mullane 2, Tamas Budavari 2, Vivek Haridas.
Web Services An introduction for eWiSACWIS May 2008.
Lecture 15 Introduction to Web Services Web Service Applications.
Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.
Web Services (SOAP, WSDL, UDDI) SNU OOPSLA Lab. October 2005.
Java CGI Lecture notes by Theodoros Anagnostopoulos.
COMP3019 Coursework: Introduction to GridSAM Steve Crouch School of Electronics and Computer Science.
INT-5: Integrate over the Web with OpenEdge® Web Services
Chapter 10 Intro to SOAP and WSDL. Objectives By study in the chapter, you will be able to: Describe what is SOAP Exam the rules for creating a SOAP document.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
1 Web Services Web and Database Management System.
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
© 2006 Altova GmbH. All Rights Reserved. Altova ® Product Line Overview.
Kemal Baykal Rasim Ismayilov
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Martin Kruliš by Martin Kruliš (v1.1)1.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
INFSO-RI Enabling Grids for E-sciencE Web Services Mike Mineter National e-Science Centre, Edinburgh.
Web Services Blake Schernekau March 27 th, Learning Objectives Understand Web Services Understand Web Services Figure out SOAP and what it is used.
Software Architecture Patterns (3) Service Oriented & Web Oriented Architecture source: microsoft.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
National College of Science & Information Technology.
Java Web Services Orca Knowledge Center – Web Service key concepts.
XML: Extensible Markup Language
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
XML in Web Technologies
Implementing a service-oriented architecture using SOAP
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
Distributed System using Web Services
Python and REST Kevin Hibma.
Distributed System using Web Services
Presentation transcript:

Data Source in MicroStrategy Using Web Services as a Data Source in MicroStrategy

What Is a Web Service? W3C definition: a software system designed to support interoperable machine-to- machine interaction over a network. A method of integrating web-based applications using open standards including but not limited to HTTP, XML, SOAP, WSDL, and JSON. Client and server exchange information in the form of service request and service response Information is passed in a technology-independent format Facilitates loosely coupled architecture—where client and server components may have no prior knowledge of each other except for when they need to invoke/respond to a service

Example Web Services 3

Primary Web Services Protocols SOAP Simple Object Access Protocol Not so simple—requires toolkits to build Web services REST REpresentational State Transfer Easy to build—requires basic knowledge of HTTP and XML A web service deployment publishes a contract that specifies the service that it provides. Using this specification, an XQuery script is either written by hand or can be generated using a companion product called XQuery Generator.  The XQuery script should contain three sections: (a) a request section specifying the parameters that are needed to access the web service and to send a request, (b) a response section where the response (usually in XML format) from the web service is parsed, and (c) a transformation section which contains instructions to transform the response into an XML that conforms to Microstrategy XML Schema for tabular data.  The end result is an XML that is loaded into memory as a tabular data following which the full analytics magic of the Microstrategy product is available.  Finally, the feature also supports state of the art in data security and authentication which is very important when it comes to accessing data in the cloud. 4

REST and SOAP—Service Request http://webservice.com/weather/22102 REST <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"> <soap:Body> <m:GetWeather xmlns:m="http://mywebservice.com/weather"> <m:Zip> 22102 </m:Zip> </m:GetWeather> </soap:Body> </soap:Envelope> SOAP There is an ongoing debate about the proper structure of RESTful URLs. You may encounter two different URL structures when accessing RESTful Web services. The SOAP request on the slide is simplified. The actual request must also contain the header. You will learn about it later in this presentation. The service on the slide is fictional, do not try to run it. 5

XQuery Basics: What is it? MicroStrategy uses XQuery to access Web Services as a data source XQuery is a query language designed by the W3C to extract data from XML files and format/transform the results. XQuery is to XML as SQL is to tables in a relational database. XQuery allows you to: Query XML data elements of interest using XPath expressions Transform and restructure XML data Select information based on specific criteria Search and join data from multiple documents Perform arithmetic calculations on number and dates Manipulate strings

Developing an XQuery Report in MicroStrategy Web Services reports are developed by writing XQuery statements in the Freeform XQuery Editor MicroStrategy XQuery Editor and Generator (XEG) can be used to automate the generation of XQuery scripts Steps for generating an XQuery report: Identify the Web Service APIs (optional) Test Web Service API from the server running I-Server using a browser (REST) or browser plug-in (when header or message body must be defined) Generate the XQuery script in XEG: Identify source type (REST, SOAP, XML, WebDAV, REST-JSON) Specify authentication mode Invoke the web service to capture the XML response Define report columns from the available XML nodes Generate the XQuery script Copy-and-paste the XQuery script into Free Form XQuery Editor

References and Tools for Developing in XQuery Tutorials: http://www.w3schools.com/xquery/ http://www.w3schools.com/xpath/ Publicly Available Web Services: www.programmableweb.com www.usgovxml.com MicroStrategy XQuery Editor and Generator (XEG) Firefox Add-Ons REST Client, SOA Client and Poster plug-ins to interact with and troubleshoot web services. HttpFox allows developer to analyze traffic between web browsers and web servers. Eclipse with XQuery-related plug-ins Eclipse 3.6 or higher Zorba XQuery Processor 1.4 or higher Dynamic Languages Toolkit (DLTK) 2.0 Eclipse Plug-ins XQDT Eclipse plug-in TcpTrace – useful for tracing traffic between Intelligence Server and web servers http://www.zorba-xquery.com/index.php/tutorials/