0% found this document useful (0 votes)
20 views

3.Web Service Basics (1)

Uploaded by

chandinisri0423
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

3.Web Service Basics (1)

Uploaded by

chandinisri0423
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Introduction to Web service

Agenda

⮚ What are Web Services?

⮚ SOAP Service Basics

⮚ WSDL and XML

⮚ Test Standard SOAP Service – ERP Integration Service

⮚ REST API Basics

⮚ Test Standard REST API – ERP Banks REST API

2
Web Service Basics
Web Services are services offered over web. A web service enables
communication among various applications by using open standards such as
XML, WSDL, and SOAP. Popular types of web services include SOAP and REST

Web Services have two types of uses:

1. Reusable application-components like: currency conversion, weather


reports, or even language translation as services.

2. Connect existing software - With Web services you can exchange data
between different applications and different platforms

3
SOAP Web Services
SOAP stands for Simple Object Access Protocol. SOAP Web Service definition
is captured in WSDL. It uses XML format for communication.

A SOAP message is an ordinary XML document containing the following


elements:

1. An Envelope element that identifies the XML document as a SOAP


message

2. A Header element that contains header information

3. A Body element that contains call and response information

4. A Fault element containing errors and status information


4
SOAP Skeleton Message

5
WSDL
WSDL stands for Web Services Definition Language and is used to
describe web services. It specifies the location of the service, and the
methods of the service, using these major elements:
Element Description

<types> Defines the (XML Schema) data types used by the web service

<message> Defines the data elements for each operation

<portType> Describes the operations that can be performed and the messages
involved.
<binding> Defines the protocol and data format for each port type

6
WSDL

7
Report Service
https://docs.oracle.com/en/cloud/saas/index.html

<ERP URL>/xmlpserver/services/v2/ReportService?wsdl

8
REST APIs

RESTful (Representational State Transfer) Web Services are basically


REST Architecture based Web Services

Key Features
⮚ In REST Architecture, everything is a resource

⮚ REST Services use JSON (Java Script Object Notation) format

⮚ RESTful web services are light weight, highly scalable and maintainable

⮚ REST APIs deliver better performance than SOAP Services on any given day

⮚ REST APIs are widely used in web-based applications

9
REST API Key Elements
REST APIs have 3 fundamental elements:

Element Description

Resource Identifier Represent the actual resources that a service


Syntax exposes: URI
Methods Protocol mechanism used to transfer the data – GET,
POST etc.
Types of data XML, JSON
transferred

10
ERP Banks REST API
https://docs.oracle.com/en/cloud/saas/index.html

Get all Banks URI: /fscmRestApi/resources/11.13.18.05/cashBanks

ERP Base URL: https://fa-etaq-saasfademo1.ds-fa.oraclepdemos.com

Complete URL - https:// fa-etaq-saasfademo1.ds-fa.oraclepdemos.com


/fscmRestApi/resources/11.13.18.05/cashBanks

11
THANK YOU

12

You might also like