We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byHarley Scoggins
Modified over 2 years ago
Practical Uses for Web Services in Application Express
2 © 2012 Oracle Corporation – Proprietary and Confidential The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remain at the sole discretion of Oracle.
3 © 2012 Oracle Corporation – Proprietary and Confidential Agenda Web services introduction Web service support in Application Express Amazon S3 APEX_WEB_SERVICE API Web Service Tools and Debugging Additional resources Q & A
4 © 2012 Oracle Corporation – Proprietary and Confidential Web services are typically application programming interfaces (API) or web APIs that are accessed via Hypertext Transfer Protocol and executed on a remote system hosting the requested services. Web services tend to fall into one of two camps: Big Web Services and RESTful Web Services. Web Services Definition
5 © 2012 Oracle Corporation – Proprietary and Confidential SOAP Web Services
6 © 2012 Oracle Corporation – Proprietary and Confidential RESTful Style Web Services
7 © 2012 Oracle Corporation – Proprietary and Confidential RESTful Style Web Services REpresentational State Transfer RESTful Web service request – HTTP Method (GET, PUT, POST, DELETE, HEAD) indicates method of the service – HTTP URI (path) indicates the resource – HTTP headers – HTTP entity-body (parameter name/value pairs) RESTful Web service response – XML – Text – JSON
8 © 2012 Oracle Corporation – Proprietary and Confidential RESTful Support Application Express 4.x Expose report regions as RESTful Web service Wizard to create RESTful Web reference – NEW in 4.1: Testing interface while creating the reference Test/Edit RESTful Web reference Wizard to create form on RESTful Web reference Wizard to create form and report on RESTful Web reference NEW in 4.2: Support for JSON responses
9 © 2012 Oracle Corporation – Proprietary and Confidential Amazon Simple Storage Service (S3) Storage for the Internet – Designed to provide % durability and 99.99% availability – Designed to sustain the concurrent loss of data in two facilites Write, read, delete objects from 1 byte to 5 terabytes Objects are stored in buckets – a container for objects Common use cases: – Content storage and distribution – Backup or disaster recovery
10 © 2012 Oracle Corporation – Proprietary and Confidential Amazon S3 – Technical Details Create an AWS account, Sign up for an S3 account, Authentication – Authorization HTTP header AWS AWSAccessKeyId:Signature Signature is HMAC-SHA1 of selected elements from the request, AWS Secret Key is used for the key Uses REST or SOAP interfaces
11 © 2012 Oracle Corporation – Proprietary and Confidential Amazon S3 – Technical Details Endpoint: http(s)://s3.amazonaws.com Common HTTP Headers for all interactions – Host:.s3.amazonaws.com – Date: Convert to GMT, and then use format Dy, DD Mon YYYY HH24:MI:SS GMT – Authorization: AWS :
12 © 2012 Oracle Corporation – Proprietary and Confidential Amazon S3 – Technical Details – Common Operations List All Buckets Create Bucket Delete Bucket List Bucket Contents Get Object Add Object Delete Object
13 © 2012 Oracle Corporation – Proprietary and Confidential apex_web_service API Allows you to interact with Web services (SOAP, REST, RPC) in Application Express anywhere you can write PL/SQL Includes functions to encode/decode binary data to/from base64 encoding Contains function to parse response based on an XPath expression Globals to retrieve/set HTTP Headers and cookies
14 © 2012 Oracle Corporation – Proprietary and Confidential APEX_WEB_SERVICE MAKE_REST_REQUESTFunction - Syntax APEX_WEB_SERVICE.MAKE_REST_REQUEST( p_url IN VARCHAR2, p_http_method IN VARCHAR2, p_username IN VARCHAR2 default null, p_password IN VARCHAR2 default null, p_proxy_override IN VARCHAR2 default null, p_body IN CLOB default empty_clob(), p_body_blob IN BLOB default empty_blob(), p_parm_name IN WWV_FLOW_GLOBAL.VC_ARR2 default empty_vc_arr, p_parm_value IN WWV_FLOW_GLOBAL.VC_ARR2 default empty_vc_arr, p_wallet_path IN VARCHAR2 default null, p_wallet_pwd IN VARCHAR2 default null ) RETURN CLOB;
16 © 2012 Oracle Corporation – Proprietary and Confidential Web Service Tools and Debugging Web Service Reference testing interface Altova XMLSpy – Good for inspecting response – Has utility to give you XPath to response nodes ProxyTrace, – Allows you to inspect the exact HTTP traffic (including headers) for a web service request/response – Set proxy of your client to go through ProxyTrace to inspect the traffic
17 © 2012 Oracle Corporation – Proprietary and Confidential Additional Resources Application Express on OTN: Application Express Web Service Integration Page: tools/apex/application-express/integration html tools/apex/application-express/integration html – Application Express 4.0 Web Services Evaluation Guide – Web Service Integration Sample Applications – Web Service Integration Whitepapers Blog:
18 © 2012 Oracle Corporation – Proprietary and Confidential
19 © 2012 Oracle Corporation – Proprietary and Confidential
Faculty of Information Technology 31242/32549 Advanced Internet Programming Advanced Java Programming Web services Intro.
Server Access The REST of the Story David Cleary Principal Software Engineer June 12, 2013.
Java EE - JAX-RS - Pierre-Johan CHARTRE
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Representational State Transfer (REST): Representing Information in Web 2.0 Applications Emilio F Zegarra CS 2650.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
National College of Science & Information Technology.
What are Web Services? How to use them? Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
IS 4420 Database Fundamentals Chapter 10: The Internet Database Environment Leon Chen.
Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Web Services and REST.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Web Server Design Week 15 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 4/21/10.
RESTful Web Services What is RESTful?
© 2010 IBM Corporation RESTFul Service Modelling in Rational Software Architect April, 2011.
Introduction to Web Services By J. H. Wang Nov. 28, 2011.
Building RESTful Interfaces Steve Shaw. What is REST? The precepts of a RESTful Interface Security Show how to implement a REST interface within the InterSystems.
Presented to: SOA Brown Bag #10 By: SWIM Governance Team/ Jason Bloomberg, president of ZapThink Date: November 9, 2011 Federal Aviation Administration.
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Web 2.0 Programming 1 © Tongji University, Computer Science and Technology. Web Web Programming Technology 2012.
7-Aug-15 Serialization and XML Pat Palmer What is serialization? “The process of converting an object (or a graph of objects) into a linear sequence.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Janakiram MSV Developer Evangelist Microsoft Corporation.
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
Oracle SQL Developer: Unit Testing, Tuning and Other Advanced Features Kris Rice Senior Director of Development, Database Tools.
Building and using REST information services Rion Dooley.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
Using web service technologies for incremental, real- time data transfers from EDC to SAS Andrew Newbigging Vice President, Integrations Development 19.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
CS 6401 The World Wide Web Outline Background Structure Protocols.
11 JULY 2005ANN GEORGE REST - Representational State Transfer.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
1Proprietary and Confidential AirVantage API – Getting started David SCIAMMA – June 13th 2014.
© Liron Blecher Web Services Written by Liron Blecher.
EThOSnet Repositories and Web Services Workshop 2 nd June2009 Richard Green
SOAP. What is SOAP? The de facto standard for Web Service communication that provides support for: –Remote procedure call (RPC) to invoke methods on servers.
SOAP SOAP is a protocol for accessing a Web Service. SOAP stands for Simple Object Access Protocol * SOAP is a communication protocol * SOAP is for communication.
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy RESTful Web Services.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
© 2017 SlidePlayer.com Inc. All rights reserved.