PSLC DataShop Web Services Demo Slides current to DataShop version 4.1.8 Alida Skogsholm DataShop Manager and Developer.

Slides:



Advertisements
Similar presentations
Cognos Web Services Business Intelligence. SOA SOA (Service Oriented Architecture) The SOA approach involves seven key principles: -- Coarse -grained.
Advertisements

PSLC DataShop Closing Remarks Slides current to DataShop version John Stamper DataShop Technical Director.
Improving learning by improving the cognitive model: A data- driven approach Cen, H., Koedinger, K., Junker, B. Learning Factors Analysis - A General Method.
Designing a Database Unleashing the Power of Relational Database Design.
Distributed Web Software  Presentation-based, e.g., dynamic web pages  Service-based – Web Services.
Python and Web Programming
Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
Distributed Web Software Presentation-based, e.g., dynamic web pages Service-based – Web Services.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Web Services 101 James Payne Managing Director for New Media / Advancement July 30, 2013.
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
ONLINE BOOKSTORE DATABASE CSC 8490 BY: Chaya Gaddamanugu
New “Collaborate” Button Integrate UI directly into the browser. Preferred target: Firefox Easiest browser to extend in terms of UI.
Creating File Access Services Presented by Ashraf Memon Presented by Ashraf Memon.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
PSLC DataShop Introduction Slides current to DataShop version John Stamper DataShop Technical Director.
JavaScript & jQuery the missing manual Chapter 11
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Snap-Together Visualization Chris North Lab for Information Visualization and Evaluation Department of Computer Science Virginia Tech.
Open Archives Iniative – Protocol for Metadata Harvesting Iztok Kavkler, University of Ljubljana Some slides by Stefaan Ternier, KUL Bram Vandenputte,
Examples of Using Servlets and JSP Representation and Management of Data on the Internet.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Java Server Pages A JSP page is a text-based document that contains two types of text: static template data, which can be expressed in any text-based format,
Copyright OpenHelix. No use or reproduction without express written consent1.
© 2012 Autodesk Implementing Cloud-Based Productivity Solutions with the AutoCAD® ObjectARX® API Ravi Krishnaswamy Senior Software Architect.
DataShop v7.1 Release Event Friday, November 1, 2013 LearnLabdatashop.org LearnLab
JDBC Tutorial MIE456 - Information Systems Infrastructure II Vinod Muthusamy November 4, 2004.
PSLC DataShop Introduction Slides current to DataShop version John Stamper DataShop Technical Director.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
MySQL Connection using ADO.Net Connecting to MySQL from.NET Languages.
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
Serialization. Serialization is the process of converting an object into an intermediate format that can be stored (e.g. in a file or transmitted across.
1 Design Issues in XML Databases Ref: Designing XML Databases by Mark Graves.
1 Recitation 8. 2 Outline Goals of this recitation: 1.Learn about loading files 2.Learn about command line arguments 3.Review of Exceptions.
Introduction to the SharePoint 2013 REST API. 2 About Me SharePoint Solutions Architect at Sparkhound in Baton Rouge
XHTML & Forms. PHP and the WWW PHP and HTML forms – Forms are the main way users can interact with your PHP scrip Typical usage of the form tag in HTML.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Ergo User Tutorial - Part 3 NCSA, UIUC.
DataShop Import Workshop Tuesday, June 14, 2011 pslcdatashop.org PSLC
Data, data, data In-depth session on data integration.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Ergo User Tutorial - Part 3 NCSA, UIUC.
Java Enterprise Edition Programming Page 1 of 9Configuring Servlets Web Application Context Name  In multiple web applications, a “context name” is used.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
Calling Web Services from Oracle Presenter – Raymond Jones Company – Intermountain Healthcare Background – We are implementing a new ERP system (Peoplesoft)
WebObjects Matt Aguirre Lally Singh. What Is It? A Java based development platform specifically designed for database-backed web applications.
ICM – API Server & Forms Gary Ratcliffe.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
1 Brian Remmington Alfresco Product Architect. 2 A demonstration The Web Quick Start model Overview of the features in the repository tier Overview of.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Starting with Oracle SQL Plus. Today in the lab… Connect to SQL Plus – your schema. Set up two tables. Find the tables in the catalog. Insert four rows.
Adding network connections. Connecting to the Network To perform the network operations, your application manifest must include the following permissions:
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
EBay Searcher Brian Payton, Jason Nowakoski, Justin Szeluga, Salvatore Siragusa, David Wolkiser.
How to Leverage Java in Oracle Forms Web Applications Duncan Mills Application Development Tools Oracle Corporation.
By: Eliav Menachi.  On Android, all application data (including files) are private to that application  Android provides a standard way for an application.
HTML Forms and User Input
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Web Development & Design Foundations with H T M L 5
CSG, Power BI & Embedded.
Getting Started With Solr
CS4961 Software Design Laboratory Understand Aquila Backend
Introduction to HTML: Forms
Uniform Resource Locator: URL
Presentation transcript:

PSLC DataShop Web Services Demo Slides current to DataShop version Alida Skogsholm DataShop Manager and Developer

Overview Why Web Services?? Get Web Services Download Getting Credentials Authentication & DatashopClient What is an ID? How to get a dataset ID How to see some transaction data Add a little Swing… Web Services URL 2

Why Web Services?? To access the data from a program –New visualization –Data mining –or other application 3

Get Web Services Download 4

Getting Credentials 5

Authentication & DatashopClient Put your token and secret access key in a file named ‘webservices.properties’ 6

What is an ID? The DataShop API expects you to reference various objects by “ID”, a unique identifier for each dataset, sample, custom field, or transaction in the repository. The ID of any of these can be determined by performing a request to list the various items, which lists the IDs in the response. For example, a request for datasets will list the ID of each dataset in the “id” attribute of each dataset element. 7

How to get a dataset ID Use DatashopClient class provided in datashop- webservices.jar Pass in a URL to form the request Results include datasets that you have access to java –jar dist/datashop-webservices.jar “ Handwriting/Examples Dec 2006 … 8

How to get a dataset ID java –jar dist/datashop-webservices.jar “ > datasets.xml 9

Open XML in browser and search 10

Back to command line 11

How to get a sample ID java –jar dist/datashop-webservices.jar “ All Data Default Sample that contains all transactions. % articleTutor-B Default Sample that contains all transactions

How to see some transaction data Request a subset of columns for a given dataset and the ‘All Data’ sample which is the default java edu.cmu.pslc.datashop.webservices.DataShopClient “ limit=10&cols=problem_hierarchy,problem_name,step_name,outcome,i nput” Problem Hierarchy Problem Name Step Name Outcome Input Unit IWT_S09articleTutorB-A, Section IWT Tests and Tutors articleTutor-B "The wo Unit IWT_S09articleTutorB-A, Section IWT Tests and Tutors articleTutor-B ___ oxy Unit IWT_S09articleTutorB-A, Section IWT Tests and Tutors articleTutor-B She too Unit IWT_S09articleTutorB-A, Section IWT Tests and Tutors articleTutor-B ___ big … 13

import edu.cmu.pslc.datashop.webservices.DatashopClient; public class WebServicesDemoClient extends DatashopClient { … private static final String DATASETS_PATH = "/datasets/"; private static final String TXS_PATH = "/transactions?headers=false” + "&cols=problem_hierarchy,problem_name,step_name,outcome,input"; private WebServicesDemoClient(String root, String apiToken, String secret) { super(root, apiToken, secret); }; public TreeMap runReport(String datasetId) { String path = DATASETS_PATH + datasetId + TXS_PATH; HttpURLConnection conn = serviceGetConnection(path); conn.setRequestProperty("accept", "text/xml"); TreeMap map = new TreeMap(); try { InputStream is = conn.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String row = null; while ((row = reader.readLine()) != null) { TransactionDataSubset t = TransactionDataSubset.createTransaction(row); … 14

Add a little Swing… java –classpath “../dist/datashop-webservices.jar;.” WebServicesDemoClientUI dataset

To get more details… WebServicesDemoClient_src.zip 16