REST Client Tutorial by Pavan Ethic Coder

Slides:



Advertisements
Similar presentations
LiNC Developer Meetup Welcome!. Our job is to make your life easier APIs Tools and workflow Documentation Stay in touch: developers.lithium.com Join the.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Query Verb Proposal Ashok Malhotra, Oracle
How To Create a Blog in Sharepoint For Secondary Educators.
New School Websites Teacher Pages. Visit the SCUSD Website for videos tutorials: For more information.
Beyond the UI Using Tools to Improve Testing Jeremy Traylor
Module 5: Managing Public Folders. Overview Managing Public Folder Data Managing Network Access to Public Folders Publishing an Outlook 2003 Form Discussion:
Google Data APIs Google Data APIs : Integrando suas aplicações Java com os serviços Google.
GET Examples – db.org/sops/3/experimental_conditions/55http://seek.sysmo- db.org/sops/3/experimental_conditions/55 –
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Open Data Protocol * Han Wang 11/30/2012 *
Chapter 3 Servlet Basics. 1.Recall the Servlet Role 2.Basic Servlet Structure 3.A simple servlet that generates plain text 4.A servlet that generates.
Oracle Data Integrator Procedures, Advanced Workflows.
Introduction to the SharePoint 2013 REST API. 2 About Me SharePoint Solutions Architect at Sparkhound in Baton Rouge
JIRA Integration 0.04 Version of JIRA Plugin Rajesh Jain.
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
CS116 COMPILER ERRORS George Koutsogiannakis 1. How to work with compiler Errors The Compiler provide error messages to help you debug your code. The.
THE EYESWEB PLATFORM - GDE The EyesWeb XMI multimodal platform GDE 5 March 2015.
1 Meta-Door 2.0 An online management tool for FGDC-compliant metadata, MarineXml metadata, and SensorML.
Clinical Data Exchange using HL7 and Mirth Connect Lecture 8 - HTTP Connectors - Web Service Connectors - JMS Connectors Siv Raman, MD, MS.
Data and tools on the Web have been exposed in a RESTful manner. Taverna provides a custom processor for accessing such services.
Windows Communication Foundation and Web Services
Architecture Review 10/11/2004
Inspecting Software Requirement Document
Servlets.
Essential tools for implementing and testing websites
Generics, Exceptions and Undo Command
Business Directory REST API
Integration Framework of SAP Business One as Platform for Scenario Development January 2016 Public.
Johnson, Baismall, Andre
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
Data Virtualization Tutorial… CORS and CIS
Browser Settings *Failure to have the correct Browser cache setting may result in incorrect data being displayed. This is the procedure to allow Indistar.
Node.js Express Web Services
Baoming Yu(于宝明) Software Engineer Wicresoft
Advanced Web-based Systems | Misbhauddin
Hypertext Transport Protocol
Data Validation and Protecting Workbook
Windows Communication Foundation and Web Services
IBM Cognos Analytics Administrator V11 C Questions Answers
Exceptions C++ Interlude 3
Ashish Pandit IT Architect, Middleware & Integration Services
Testing REST IPA using POSTMAN
Implementing a service-oriented architecture using SOAP
WEB API.
03 | Client Side SharePoint Development
How to Process a Batch Report
$, $$, $$$ API testing Edition
Testing RESTful Web APIs
BTEC Level 3 Subsidiary Diploma
JavaScript & jQuery AJAX.
Agile testing for web API with Postman
William Stallings Data and Computer Communications
WebDAV Design Overview
REST APIs Maxwell Furman Department of MIS Fox School of Business
Lecture 17: Web Service and post
Inside a PMI Online Course
Chengyu Sun California State University, Los Angeles
WEB SERVICES From Chapter 19, Distributed Systems
CSc 337 Lecture 1: post.
Generate Header & URL Install PostMan for Chrome (looks like a man with a jetpack) Under the auth tab, set it to basic Put in the admin username and password.
Week 05 Node.js Week 05
Techniques to Invoke Web Services from SAS
While the audience is gathering. During breaks etc
WCF Data Services and Silverlight
CSc 337 Lecture 18: post.
Chengyu Sun California State University, Los Angeles
Presentation transcript:

REST Client Tutorial by Pavan Golesar @ Ethic Coder

Chrome Add-on

Prerequisite Installation of (Add-on) Advance Rest Client on system (refer description) Link SAP Gateway and REST Client Integration (.pdf) is shown in description of this video or you may refer to blog www.abaper.weebly.com PDF section User Management (User Self-Service) OData Service Basic knowledge of API Tools like POSTMAN or Advance Rest Client References: www.abaper.weebly.com - Pavan Golesar Self Made Notes YouTube Channel Ethic Coder - SAP Tutorials for Beginners and Learners

Basic Questions over this topic How to perform GET operation in REST Client? How to create user in SAP using User Self Service? How to test OData Services using API TOOL-- REST Client! Testing User Management OData Service ! Testing OData Service using Rest Client ! OData Service Testing using Json format for POST operation? How to perform POST Operation in REST CLIENT ? How to add headers in REST Client? How to use "ADVANCE REST CLIENT" ?

Some imp points to remember You will mostly work with "Method", "Headers" and "Body" tabs. Choose the appropriate method on "Method" tab. If you are using a GET method, then you don't need to use "Headers" or "Body" tab. If you are using a PUT or a POST, then put your XML in "Body" tab and add application/atom+xml as "Content-Type" header on "Headers" tab. If you are trying to run a GET method followed by PUT or POST, you do not need to delete the contents of "Headers" and "Body" tabs. They will be promptly ignored. Don't forget to use "https" instead of "http".

Problems and Solutions Error Message at Client: While calling a service operation through REST client, you encounter RFC call ended with "System Failure" exception” Error Analysis: This is a very common error while using the RFC tool in Service Builder. There can be many reasons for this error and error can be pin pointed by looking at the back-end error log. One other option is to go to your Data Provider Class (DPC) and find the place where RFC is called and put a external breakpoint and debug. Common problems Mandatory parameters are not supplied to RFC, Problem with RFC destination, Problem with the RFC itself (interface changed, not active etc.)

Problems and Solutions Error Message at Client: The specified HTTP method is not allowed for the resource identified by the Data Service Request URI Error Analysis: For each http method you need to be aware of the right URI convention. Common problems: For a ‘POST’ method URI should point to a Collection. Example:  ….. /sap/opu/odata/<NameSpace>/<ServiceName>/<CollectionName> For a ‘PUT’ and ‘DELETE’ methods URI should point to an Entry. Example: ….. /sap/opu/odata/<NameSpace>/<ServiceName>/<CollectionName>(<keys and values>) If you are using a $batch, the request has to be a 'POST'

Problems and Solutions Error Message at Client: While executing a query/read, encountered In the context of Data services and unknown error occurred Error Analysis: This is usually problem with the properties involving Date, Time, UoM etc. There seems to be problem with RFC model importer in Service Builder. Common problems: If your RFC/model has a date property, check that it is of type Edm.DateTime and Precision is 0. Service Builder usually gives a Precision as 8. After changing it to 0, generate the runtime artifacts again, clear the cache and run the operation.

References www.abaper.weebly.com SCN.sap.com Pavan Golesar’s Self made notes 2017