SlideShare a Scribd company logo
1 of 34
September 2014 – Webservices
Workshop
By
Avinash Ramineni
Workshop Objectives
• During this workshop, you will learn
– XML
– JSON
– About Web services, SOA
• SOAP
• REST
– Security with Services
– Invoke and Testing web services
– Best Practices while dealing with Web services
System Setup
• SOAP UI
• Oxygen XML Editor
• Advanced Rest Client Plugin for Chrome
XML – Extensible Markup Language -1
• Designed to Describe Data
– Self Descriptive way representing the Data and Documents
• Platform agnostic Data representation for transferring data
• Easy to understand and follow
• Easy to convert to other formats
– HTML ,PDF , Word
XML – Example
<?xml version="1.0" encoding="UTF-8"?>
<StudentTranscript>
<ProgramName> Masters in Business Adminstration </ProgramName>
<Courses>
<Course>
<CourseCode>MBA/510</CourseCode>
<CourseCompletionDate> 8/8/1900</CourseCompletionDate>
<Credits>4</Credits>
<CourseGrade>A</CourseGrade>
</Course>
<Course>
<CourseCode>MBA/520</CourseCode>
<CourseCompletionDate> 8/8/1910</CourseCompletionDate>
<Credits>4</Credits>
<CourseGrade>B</CourseGrade>
</Course>
<Courses>
</StudentTranscript>
XML – Extensible Markup Language -2
• XML Document
– Elements
– Attributes
• Exactly one root element
– Parent of all the elements
– Forms a tree structure
• Start Tag and End Tag
– XML Tags are not predefined - Makeup your own tags
• CDATA – No Unescaped < or & characters in the data
• Well Formed XML
– All Elements need to have a closing tag
– XML tags are case-sensitive
– XML tags must be properly nested
– All attributes need to be enclosed in quotations
– Elements cannot have attributes of the same name
– Elements can be empty <studentTranscript/>
XML – Example
<?xml version="1.0" encoding="UTF-8"?>
<StudentTranscript>
<ProgramName> Masters in Business Adminstration </ProgramName>
<Courses>
<Course code=“MBA/510” completionDate=“8/8/1900” credits=“4”
grade=“A”/>
<Course code=“MBA/520” completionDate=“8/8/1920” credits=“4”
grade=“B”/>
<Courses>
</StudentTranscript>
What is the Difference ?
Hands-On Exercise 1
• Build an XML file to represent Student Profile Data
Namespace
• Element Name Conflicts
– What if same element name needs to be under different entities ?
• Trying to combine data from two different xmls
– Ex: description of a course and description of a program
• Use namespaces
– Similar to packages – separates the elements with unique prefixes.
Namespace
<Program>
<Name>MBA V1</Name>
<description>Master of Business Administration </description>
</Program>
<Course>
<Name>MBA/510</Name>
<description>Marketing 101</description>
</Course>
We would want to combine them or using it together is student transcription xml
<p:Program xmlns:p=“http://program”>
<p:Name>MBA V1</p:Name>
<p:description>Master of Business Administration </p:description>
</p:Program>
<c:Course xmlns:c=“http://course”>
<c:Name>MBA/510</c:Name>
<c:description>Marketing 101</c:description>
</c:Course>
XSLT and XML Schema
• XML Schema
– Describes the structure of an xml Document
• Supports data types
• Put restrictions on possible values
– Written in XML
– Validate that the XML is Valid
• Valid Vs Wellformed
• XSLT – extensible stylesheet language transformation
– Uses XPATH
– Outputs a file – another html,xml pdf …
Web service
• “Web Services are self-contained, modular, distributed, dynamic applications that can be described,
published, located, or invoked over the network to create products, processes, and supply chains. These
applications can be local, distributed, or Web-based. Web services are built on top of open standards such
as TCP/IP, HTTP, Java, HTML, and XML. “
• Services offered over the web  ?
– A modular component that does a specific functionality
– The functionality is exposed out which can be invoked by other
services or applications.
– Input / Output is XML
• Ex: Profile Service ?
– Retrieves all the demographics data given a profile ID
– Ability to search for a student
– Ability to create a new profile for an user
– Ability to update address for an user
• How do we know what Input to be passed and what Output to
expect ?
Why use XML here?
• Can .NET invoke Java logic ?
• What is so unique about XML , that we have to use it here?
– Not tied to a specific programming language
– Any programming language that can parse XML can use the services
– Interoperability
• Transport Protocol
– HTTP, FTP,SMTP, JMS
SOAP - 1
• Simple Object Access Protocol
• XML based protocol for accessing web services
• Platform Independent
• Language Independent
• Extensible
• Transport Protocol
– HTTP , HTTPS, SMTP ..
SOAP - 2
• SOAP Payload is nothing but XML
• SOAP Payload
– Soap Envelope : Root Element
• SOAP Header
• SOAP Body
• SOAP Fault
• All elements are declared in default
namespace
SOAP Example 1
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope">
<soap:Body>
<m:GetStockQuote xmlns:m="http://nyse.com/ticker">
<m:Item>AAPL</m:Item>
</m:GetStockQuote>
</soap:Body>
</soap:Envelope>
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope">
<soap:Body>
<m:GetStockQuoteResponse xmlns:m="http://www.w3schools.com/prices">
<m:Price>500</m:Price>
</m:GetStockQuoteResponse>
</soap:Body>
</soap:Envelope>
SOAP Fault
• Inside SOAP Body
• Fault Code
– Code for Identifying the Fault
• Server
• Client
• Fault String
– Explanation of the Fault
• Detail
– Application Specific Error
SOAP Fault Example
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Message does not have necessary info</faultstring>
<faultactor>http://gizmos.com/order</faultactor>
<detail>
<PO:order xmlns:PO="http://gizmos.com/orders/">
Quantity element does not have a value</PO:order>
<PO:confirmation xmlns:PO="http://gizmos.com/confirm">
Incomplete address: no zip code</PO:confirmation>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
WSDL
• Web Services Description Language
• XML-based language for describing Web
services.
• How do we know what Input to be passed and
what Output to expect ?
– Input and Output for a web service are described
using a WSDL
• Can there be a SOAP Service without WSDL ?
Hands-On Exercise 2
• Invoke a few SOAP Webservices
Review HTTP
• Hyper Text Transfer Protocol
– Request Headers
– Request Body
• HTTP VERBs
– GET
– POST
– PUT
– DELETE
• HTTP Headers
– Content-type
– Accept
– Cookie
– Authorization
HTTP Response Codes
• 1xx Informational
– 100 - Continue
• 2xx Success
– 200 – OK
– 201 – Created
– 202 – Accepted
• 3xx Redirection
– 301 – Moved Permanently
– 302 - Found
– 307 - Temporary Redirect
• 4xx Client Error
– 400 – Bad Request
– 401 – Unauthorized
– 402 - Payment Required
– 403 – Forbidden
– 404 – Not Found
– 405 – Method Not Allowed
– 409 - Edit Conflict
• 5xx Server Error
– 500 Internal Server Error
– 502 Bad Gateway
What is REST ?
• Representational State Transfer
– Architectural Style for developing web services
– Based on Doctoral Thesis from Roy Fielding
– REST is not a Standard
• Rest web services communicate over HTTP
Services
– HTTP VERBS - GET , POST, PUT,DELETE
– Resources addressed through URI
– Media Types -
– Http Response Codes
•
Characteristics of REST
• Uniform Interface
• Client-Server Decoupling
• Stateless
• Cacheable
• Layered System
HTTP – GET Examples
• Query Parameter
– http://hostname/student?studentId=122
– http://hostname/student?studentId=122,111,111
– http://hostname/student/address?studentId=122
• Matrix parameter
– http://hostname/student/studentId=122;
– http://hostname/student;name=122;zipcode=85286;
• URI parameter
– http://hostname/student/1
– http://hostname/student/Name/avi/zipcode/85286
– http://hostname/student/1/address
• Header Parameters
Hands-On Exercise 3
• Invoke a REST Service
PUT,POST,DELETE
• POST – Submits information to the service for processing
– Should typically return the new or modified resource.
– http://localhost/student
• Payload is passed in body and Id is part of the payload
• PUT – Add a new resource at the request URL
– http://localhost/student/{id}
• Payload is passed in body
• DELETE – Removes the resource at the request URL
– http://locathost/student/{id}
• OPTIONS – Indicates which methods are supported
• HEAD – Returns meta information about the request URL
JSON
• JavaScript Object Notation
• XML
<COURSE>
<ID>MBA/510</ID>
<NAME>Marketing</NAME>
</COURSE>
• JSON
{ course :
{
id: MBA/510 ,
name: “marketing”
}
}
JSON Example
• {
"StudentTranscript":{
"ProgramName":"Masters in Business Adminstration",
"Courses":{
"Course":[
{
"CourseCode":"MBA/510",
"CourseCompletionDate":"8/8/1900",
"Credits":4,
"CourseGrade":"A"
},
{
"CourseCode":"" <MBA/520 "",
"CourseCompletionDate":"8/8/1910",
"Credits":4,
"CourseGrade":"B"
}
]
}
}
}
Hands-On Exercise 4
• Build a JSON file to represent Student Profile
Data
• Compare the XML file and JSON
• What is the difference ?
• What do you prefer ?
Security
• SOAP
– Https
– WS-Security
– Http Headers
• Rest
– Https
– Authorization Token
Transactions
• ACID
– Atomicity
– Consistency
– Isolation
– Durability
SOA
• Principle and Practices for designing shared , reusable ,
distributed services
– Loose Coupling
– Self Describing Interfaces
– Synchronous and Asynchronous
– Service Registry
– Quality of Service
– Service Aggregation and service orchestration
SAAS,PAAS,IAAS
• PLATFORM
– Thing of this LEGO blocks using which you can build any application
• Software As a Service
• Platform AS a Service
• Infrastructure As a Service

More Related Content

What's hot

Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first courseVlad Posea
 
A CMD Core Model for CLARIN Web Services
A CMD Core Model for CLARIN Web ServicesA CMD Core Model for CLARIN Web Services
A CMD Core Model for CLARIN Web ServicesMenzo Windhouwer
 
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...Maarten Balliauw
 
Consuming RESTful services in PHP
Consuming RESTful services in PHPConsuming RESTful services in PHP
Consuming RESTful services in PHPZoran Jeremic
 
[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to BallerinaWSO2
 
jmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstartjmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services JumpstartBill Buchan
 
High Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentHigh Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentNicolle Morton
 
Intro to Java ME and Asha Platform
Intro to Java ME and Asha PlatformIntro to Java ME and Asha Platform
Intro to Java ME and Asha PlatformJussi Pohjolainen
 
Web programming and services
Web programming and servicesWeb programming and services
Web programming and serviceslaibamaqsood
 
Java web services soap rest training from hyderabad
Java web services soap rest training from hyderabadJava web services soap rest training from hyderabad
Java web services soap rest training from hyderabadFuturePoint Technologies
 
Web architecture - overview of techniques.
Web architecture - overview of  techniques.Web architecture - overview of  techniques.
Web architecture - overview of techniques.Ruslan Shevchenko
 
High performance website
High performance websiteHigh performance website
High performance websiteChamnap Chhorn
 

What's hot (19)

Soap vs rest
Soap vs restSoap vs rest
Soap vs rest
 
Introduction to Web Programming - first course
Introduction to Web Programming - first courseIntroduction to Web Programming - first course
Introduction to Web Programming - first course
 
Intro to Dynamic Web Pages
Intro to Dynamic Web PagesIntro to Dynamic Web Pages
Intro to Dynamic Web Pages
 
A CMD Core Model for CLARIN Web Services
A CMD Core Model for CLARIN Web ServicesA CMD Core Model for CLARIN Web Services
A CMD Core Model for CLARIN Web Services
 
Web Service
Web ServiceWeb Service
Web Service
 
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control - W...
 
Consuming RESTful services in PHP
Consuming RESTful services in PHPConsuming RESTful services in PHP
Consuming RESTful services in PHP
 
[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina[WSO2Con EU 2017] Introduction to Ballerina
[WSO2Con EU 2017] Introduction to Ballerina
 
jmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstartjmp206 - Lotus Domino Web Services Jumpstart
jmp206 - Lotus Domino Web Services Jumpstart
 
High Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed ContentHigh Voltage - Building Static Sites With Wordpress-Managed Content
High Voltage - Building Static Sites With Wordpress-Managed Content
 
Bn1038 demo pega
Bn1038 demo  pegaBn1038 demo  pega
Bn1038 demo pega
 
Intro to Java ME and Asha Platform
Intro to Java ME and Asha PlatformIntro to Java ME and Asha Platform
Intro to Java ME and Asha Platform
 
Web service
Web serviceWeb service
Web service
 
Web programming and services
Web programming and servicesWeb programming and services
Web programming and services
 
RubyonRails
RubyonRailsRubyonRails
RubyonRails
 
Java web services soap rest training from hyderabad
Java web services soap rest training from hyderabadJava web services soap rest training from hyderabad
Java web services soap rest training from hyderabad
 
Web browsers and web document
Web browsers and web documentWeb browsers and web document
Web browsers and web document
 
Web architecture - overview of techniques.
Web architecture - overview of  techniques.Web architecture - overview of  techniques.
Web architecture - overview of techniques.
 
High performance website
High performance websiteHigh performance website
High performance website
 

Viewers also liked

Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServicesKhasim Saheb
 
WebServices Basic Introduction
WebServices Basic IntroductionWebServices Basic Introduction
WebServices Basic IntroductionShahid Shaik
 
Android - Consumindo Webservices
Android - Consumindo WebservicesAndroid - Consumindo Webservices
Android - Consumindo WebservicesArthur Emanuel
 
Web Service Testing using TestComplete
Web Service Testing using TestCompleteWeb Service Testing using TestComplete
Web Service Testing using TestCompletesrivinayak
 
Testing web services
Testing web servicesTesting web services
Testing web servicesTaras Lytvyn
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTPradeep Kumar
 

Viewers also liked (8)

Introduction of WebServices
Introduction of WebServicesIntroduction of WebServices
Introduction of WebServices
 
WebServices Basic Introduction
WebServices Basic IntroductionWebServices Basic Introduction
WebServices Basic Introduction
 
Webservices
WebservicesWebservices
Webservices
 
Android - Consumindo Webservices
Android - Consumindo WebservicesAndroid - Consumindo Webservices
Android - Consumindo Webservices
 
Web Service Testing using TestComplete
Web Service Testing using TestCompleteWeb Service Testing using TestComplete
Web Service Testing using TestComplete
 
Webservices
WebservicesWebservices
Webservices
 
Testing web services
Testing web servicesTesting web services
Testing web services
 
Webservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and RESTWebservices Overview : XML RPC, SOAP and REST
Webservices Overview : XML RPC, SOAP and REST
 

Similar to Webservices Workshop - september 2014

Introduction to SoapUI day 1
Introduction to SoapUI day 1Introduction to SoapUI day 1
Introduction to SoapUI day 1Qualitest
 
Soap UI - Getting started
Soap UI - Getting startedSoap UI - Getting started
Soap UI - Getting startedQualitest
 
API-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptxAPI-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptxamarnathdeo
 
Restful webservice
Restful webserviceRestful webservice
Restful webserviceDong Ngoc
 
Webservices Testing PPT.pdf
Webservices Testing PPT.pdfWebservices Testing PPT.pdf
Webservices Testing PPT.pdfAbhishekDhotre4
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesWebStackAcademy
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API RecommendationsJeelani Shaik
 
REST & RESTful Web Service
REST & RESTful Web ServiceREST & RESTful Web Service
REST & RESTful Web ServiceHoan Vu Tran
 
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data Management
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data ManagementODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data Management
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data ManagementFrancisco Amores
 
Structured Functional Automated Web Service Testing
Structured Functional Automated Web Service TestingStructured Functional Automated Web Service Testing
Structured Functional Automated Web Service Testingrdekleijn
 
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment Portal
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment PortalCASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment Portal
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment PortalAlfresco Software
 
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and Orbeon
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and OrbeonAlfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and Orbeon
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and OrbeonOksana Kurysheva
 
REST Api Tips and Tricks
REST Api Tips and TricksREST Api Tips and Tricks
REST Api Tips and TricksMaksym Bruner
 
Rest with Java EE 6 , Security , Backbone.js
Rest with Java EE 6 , Security , Backbone.jsRest with Java EE 6 , Security , Backbone.js
Rest with Java EE 6 , Security , Backbone.jsCarol McDonald
 
Java Web services
Java Web servicesJava Web services
Java Web servicesvpulec
 
web programming
web programmingweb programming
web programmingshreeuva
 

Similar to Webservices Workshop - september 2014 (20)

Introduction to SoapUI day 1
Introduction to SoapUI day 1Introduction to SoapUI day 1
Introduction to SoapUI day 1
 
Soap UI - Getting started
Soap UI - Getting startedSoap UI - Getting started
Soap UI - Getting started
 
API-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptxAPI-Testing-SOAPUI-1.pptx
API-Testing-SOAPUI-1.pptx
 
Restful webservice
Restful webserviceRestful webservice
Restful webservice
 
SharePoint 2013 - What's New
SharePoint 2013 - What's NewSharePoint 2013 - What's New
SharePoint 2013 - What's New
 
Webservices Testing PPT.pdf
Webservices Testing PPT.pdfWebservices Testing PPT.pdf
Webservices Testing PPT.pdf
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
 
REST API Recommendations
REST API RecommendationsREST API Recommendations
REST API Recommendations
 
REST & RESTful Web Service
REST & RESTful Web ServiceREST & RESTful Web Service
REST & RESTful Web Service
 
Web services
Web servicesWeb services
Web services
 
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data Management
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data ManagementODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data Management
ODTUG KSCOPE 2018 - REST APIs for FDMEE and Cloud Data Management
 
Structured Functional Automated Web Service Testing
Structured Functional Automated Web Service TestingStructured Functional Automated Web Service Testing
Structured Functional Automated Web Service Testing
 
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment Portal
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment PortalCASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment Portal
CASE-5 Using Alfresco and Orbeon to Implement a Local eGovernment Portal
 
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and Orbeon
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and OrbeonAlfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and Orbeon
Alfresco DevCon 2011. Implementing eGov Portal. Powered by Alfresco and Orbeon
 
REST Api Tips and Tricks
REST Api Tips and TricksREST Api Tips and Tricks
REST Api Tips and Tricks
 
Overview of java web services
Overview of java web servicesOverview of java web services
Overview of java web services
 
Rest
RestRest
Rest
 
Rest with Java EE 6 , Security , Backbone.js
Rest with Java EE 6 , Security , Backbone.jsRest with Java EE 6 , Security , Backbone.js
Rest with Java EE 6 , Security , Backbone.js
 
Java Web services
Java Web servicesJava Web services
Java Web services
 
web programming
web programmingweb programming
web programming
 

More from clairvoyantllc

Getting started with SparkSQL - Desert Code Camp 2016
Getting started with SparkSQL  - Desert Code Camp 2016Getting started with SparkSQL  - Desert Code Camp 2016
Getting started with SparkSQL - Desert Code Camp 2016clairvoyantllc
 
MongoDB Replication fundamentals - Desert Code Camp - October 2014
MongoDB Replication fundamentals - Desert Code Camp - October 2014MongoDB Replication fundamentals - Desert Code Camp - October 2014
MongoDB Replication fundamentals - Desert Code Camp - October 2014clairvoyantllc
 
Architecture - December 2013 - Avinash Ramineni, Shekhar Veumuri
Architecture   - December 2013 - Avinash Ramineni, Shekhar VeumuriArchitecture   - December 2013 - Avinash Ramineni, Shekhar Veumuri
Architecture - December 2013 - Avinash Ramineni, Shekhar Veumuriclairvoyantllc
 
Big data in the cloud - Shekhar Vemuri
Big data in the cloud - Shekhar VemuriBig data in the cloud - Shekhar Vemuri
Big data in the cloud - Shekhar Vemuriclairvoyantllc
 
Bigdata workshop february 2015
Bigdata workshop  february 2015 Bigdata workshop  february 2015
Bigdata workshop february 2015 clairvoyantllc
 
Running Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on HadoopRunning Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on Hadoopclairvoyantllc
 
Databricks Community Cloud
Databricks Community CloudDatabricks Community Cloud
Databricks Community Cloudclairvoyantllc
 
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014clairvoyantllc
 
Event Driven Architectures - Phoenix Java Users Group 2013
Event Driven Architectures - Phoenix Java Users Group 2013Event Driven Architectures - Phoenix Java Users Group 2013
Event Driven Architectures - Phoenix Java Users Group 2013clairvoyantllc
 
Strata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash RamineniStrata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash Ramineniclairvoyantllc
 
HBase from the Trenches - Phoenix Data Conference 2015
HBase from the Trenches - Phoenix Data Conference 2015HBase from the Trenches - Phoenix Data Conference 2015
HBase from the Trenches - Phoenix Data Conference 2015clairvoyantllc
 

More from clairvoyantllc (12)

Getting started with SparkSQL - Desert Code Camp 2016
Getting started with SparkSQL  - Desert Code Camp 2016Getting started with SparkSQL  - Desert Code Camp 2016
Getting started with SparkSQL - Desert Code Camp 2016
 
MongoDB Replication fundamentals - Desert Code Camp - October 2014
MongoDB Replication fundamentals - Desert Code Camp - October 2014MongoDB Replication fundamentals - Desert Code Camp - October 2014
MongoDB Replication fundamentals - Desert Code Camp - October 2014
 
Architecture - December 2013 - Avinash Ramineni, Shekhar Veumuri
Architecture   - December 2013 - Avinash Ramineni, Shekhar VeumuriArchitecture   - December 2013 - Avinash Ramineni, Shekhar Veumuri
Architecture - December 2013 - Avinash Ramineni, Shekhar Veumuri
 
Big data in the cloud - Shekhar Vemuri
Big data in the cloud - Shekhar VemuriBig data in the cloud - Shekhar Vemuri
Big data in the cloud - Shekhar Vemuri
 
Bigdata workshop february 2015
Bigdata workshop  february 2015 Bigdata workshop  february 2015
Bigdata workshop february 2015
 
Intro to Apache Spark
Intro to Apache SparkIntro to Apache Spark
Intro to Apache Spark
 
Running Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on HadoopRunning Airflow Workflows as ETL Processes on Hadoop
Running Airflow Workflows as ETL Processes on Hadoop
 
Databricks Community Cloud
Databricks Community CloudDatabricks Community Cloud
Databricks Community Cloud
 
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
Log analysis using Logstash,ElasticSearch and Kibana - Desert Code Camp 2014
 
Event Driven Architectures - Phoenix Java Users Group 2013
Event Driven Architectures - Phoenix Java Users Group 2013Event Driven Architectures - Phoenix Java Users Group 2013
Event Driven Architectures - Phoenix Java Users Group 2013
 
Strata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash RamineniStrata+Hadoop World NY 2016 - Avinash Ramineni
Strata+Hadoop World NY 2016 - Avinash Ramineni
 
HBase from the Trenches - Phoenix Data Conference 2015
HBase from the Trenches - Phoenix Data Conference 2015HBase from the Trenches - Phoenix Data Conference 2015
HBase from the Trenches - Phoenix Data Conference 2015
 

Recently uploaded

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Webservices Workshop - september 2014

  • 1. September 2014 – Webservices Workshop By Avinash Ramineni
  • 2. Workshop Objectives • During this workshop, you will learn – XML – JSON – About Web services, SOA • SOAP • REST – Security with Services – Invoke and Testing web services – Best Practices while dealing with Web services
  • 3. System Setup • SOAP UI • Oxygen XML Editor • Advanced Rest Client Plugin for Chrome
  • 4. XML – Extensible Markup Language -1 • Designed to Describe Data – Self Descriptive way representing the Data and Documents • Platform agnostic Data representation for transferring data • Easy to understand and follow • Easy to convert to other formats – HTML ,PDF , Word
  • 5. XML – Example <?xml version="1.0" encoding="UTF-8"?> <StudentTranscript> <ProgramName> Masters in Business Adminstration </ProgramName> <Courses> <Course> <CourseCode>MBA/510</CourseCode> <CourseCompletionDate> 8/8/1900</CourseCompletionDate> <Credits>4</Credits> <CourseGrade>A</CourseGrade> </Course> <Course> <CourseCode>MBA/520</CourseCode> <CourseCompletionDate> 8/8/1910</CourseCompletionDate> <Credits>4</Credits> <CourseGrade>B</CourseGrade> </Course> <Courses> </StudentTranscript>
  • 6. XML – Extensible Markup Language -2 • XML Document – Elements – Attributes • Exactly one root element – Parent of all the elements – Forms a tree structure • Start Tag and End Tag – XML Tags are not predefined - Makeup your own tags • CDATA – No Unescaped < or & characters in the data • Well Formed XML – All Elements need to have a closing tag – XML tags are case-sensitive – XML tags must be properly nested – All attributes need to be enclosed in quotations – Elements cannot have attributes of the same name – Elements can be empty <studentTranscript/>
  • 7. XML – Example <?xml version="1.0" encoding="UTF-8"?> <StudentTranscript> <ProgramName> Masters in Business Adminstration </ProgramName> <Courses> <Course code=“MBA/510” completionDate=“8/8/1900” credits=“4” grade=“A”/> <Course code=“MBA/520” completionDate=“8/8/1920” credits=“4” grade=“B”/> <Courses> </StudentTranscript> What is the Difference ?
  • 8. Hands-On Exercise 1 • Build an XML file to represent Student Profile Data
  • 9. Namespace • Element Name Conflicts – What if same element name needs to be under different entities ? • Trying to combine data from two different xmls – Ex: description of a course and description of a program • Use namespaces – Similar to packages – separates the elements with unique prefixes.
  • 10. Namespace <Program> <Name>MBA V1</Name> <description>Master of Business Administration </description> </Program> <Course> <Name>MBA/510</Name> <description>Marketing 101</description> </Course> We would want to combine them or using it together is student transcription xml <p:Program xmlns:p=“http://program”> <p:Name>MBA V1</p:Name> <p:description>Master of Business Administration </p:description> </p:Program> <c:Course xmlns:c=“http://course”> <c:Name>MBA/510</c:Name> <c:description>Marketing 101</c:description> </c:Course>
  • 11. XSLT and XML Schema • XML Schema – Describes the structure of an xml Document • Supports data types • Put restrictions on possible values – Written in XML – Validate that the XML is Valid • Valid Vs Wellformed • XSLT – extensible stylesheet language transformation – Uses XPATH – Outputs a file – another html,xml pdf …
  • 12. Web service • “Web Services are self-contained, modular, distributed, dynamic applications that can be described, published, located, or invoked over the network to create products, processes, and supply chains. These applications can be local, distributed, or Web-based. Web services are built on top of open standards such as TCP/IP, HTTP, Java, HTML, and XML. “ • Services offered over the web  ? – A modular component that does a specific functionality – The functionality is exposed out which can be invoked by other services or applications. – Input / Output is XML • Ex: Profile Service ? – Retrieves all the demographics data given a profile ID – Ability to search for a student – Ability to create a new profile for an user – Ability to update address for an user • How do we know what Input to be passed and what Output to expect ?
  • 13. Why use XML here? • Can .NET invoke Java logic ? • What is so unique about XML , that we have to use it here? – Not tied to a specific programming language – Any programming language that can parse XML can use the services – Interoperability • Transport Protocol – HTTP, FTP,SMTP, JMS
  • 14. SOAP - 1 • Simple Object Access Protocol • XML based protocol for accessing web services • Platform Independent • Language Independent • Extensible • Transport Protocol – HTTP , HTTPS, SMTP ..
  • 15. SOAP - 2 • SOAP Payload is nothing but XML • SOAP Payload – Soap Envelope : Root Element • SOAP Header • SOAP Body • SOAP Fault • All elements are declared in default namespace
  • 16. SOAP Example 1 <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"> <soap:Body> <m:GetStockQuote xmlns:m="http://nyse.com/ticker"> <m:Item>AAPL</m:Item> </m:GetStockQuote> </soap:Body> </soap:Envelope> <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"> <soap:Body> <m:GetStockQuoteResponse xmlns:m="http://www.w3schools.com/prices"> <m:Price>500</m:Price> </m:GetStockQuoteResponse> </soap:Body> </soap:Envelope>
  • 17. SOAP Fault • Inside SOAP Body • Fault Code – Code for Identifying the Fault • Server • Client • Fault String – Explanation of the Fault • Detail – Application Specific Error
  • 18. SOAP Fault Example <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>Message does not have necessary info</faultstring> <faultactor>http://gizmos.com/order</faultactor> <detail> <PO:order xmlns:PO="http://gizmos.com/orders/"> Quantity element does not have a value</PO:order> <PO:confirmation xmlns:PO="http://gizmos.com/confirm"> Incomplete address: no zip code</PO:confirmation> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  • 19. WSDL • Web Services Description Language • XML-based language for describing Web services. • How do we know what Input to be passed and what Output to expect ? – Input and Output for a web service are described using a WSDL • Can there be a SOAP Service without WSDL ?
  • 20. Hands-On Exercise 2 • Invoke a few SOAP Webservices
  • 21. Review HTTP • Hyper Text Transfer Protocol – Request Headers – Request Body • HTTP VERBs – GET – POST – PUT – DELETE • HTTP Headers – Content-type – Accept – Cookie – Authorization
  • 22. HTTP Response Codes • 1xx Informational – 100 - Continue • 2xx Success – 200 – OK – 201 – Created – 202 – Accepted • 3xx Redirection – 301 – Moved Permanently – 302 - Found – 307 - Temporary Redirect • 4xx Client Error – 400 – Bad Request – 401 – Unauthorized – 402 - Payment Required – 403 – Forbidden – 404 – Not Found – 405 – Method Not Allowed – 409 - Edit Conflict • 5xx Server Error – 500 Internal Server Error – 502 Bad Gateway
  • 23. What is REST ? • Representational State Transfer – Architectural Style for developing web services – Based on Doctoral Thesis from Roy Fielding – REST is not a Standard • Rest web services communicate over HTTP Services – HTTP VERBS - GET , POST, PUT,DELETE – Resources addressed through URI – Media Types - – Http Response Codes •
  • 24. Characteristics of REST • Uniform Interface • Client-Server Decoupling • Stateless • Cacheable • Layered System
  • 25. HTTP – GET Examples • Query Parameter – http://hostname/student?studentId=122 – http://hostname/student?studentId=122,111,111 – http://hostname/student/address?studentId=122 • Matrix parameter – http://hostname/student/studentId=122; – http://hostname/student;name=122;zipcode=85286; • URI parameter – http://hostname/student/1 – http://hostname/student/Name/avi/zipcode/85286 – http://hostname/student/1/address • Header Parameters
  • 26. Hands-On Exercise 3 • Invoke a REST Service
  • 27. PUT,POST,DELETE • POST – Submits information to the service for processing – Should typically return the new or modified resource. – http://localhost/student • Payload is passed in body and Id is part of the payload • PUT – Add a new resource at the request URL – http://localhost/student/{id} • Payload is passed in body • DELETE – Removes the resource at the request URL – http://locathost/student/{id} • OPTIONS – Indicates which methods are supported • HEAD – Returns meta information about the request URL
  • 28. JSON • JavaScript Object Notation • XML <COURSE> <ID>MBA/510</ID> <NAME>Marketing</NAME> </COURSE> • JSON { course : { id: MBA/510 , name: “marketing” } }
  • 29. JSON Example • { "StudentTranscript":{ "ProgramName":"Masters in Business Adminstration", "Courses":{ "Course":[ { "CourseCode":"MBA/510", "CourseCompletionDate":"8/8/1900", "Credits":4, "CourseGrade":"A" }, { "CourseCode":"" <MBA/520 "", "CourseCompletionDate":"8/8/1910", "Credits":4, "CourseGrade":"B" } ] } } }
  • 30. Hands-On Exercise 4 • Build a JSON file to represent Student Profile Data • Compare the XML file and JSON • What is the difference ? • What do you prefer ?
  • 31. Security • SOAP – Https – WS-Security – Http Headers • Rest – Https – Authorization Token
  • 32. Transactions • ACID – Atomicity – Consistency – Isolation – Durability
  • 33. SOA • Principle and Practices for designing shared , reusable , distributed services – Loose Coupling – Self Describing Interfaces – Synchronous and Asynchronous – Service Registry – Quality of Service – Service Aggregation and service orchestration
  • 34. SAAS,PAAS,IAAS • PLATFORM – Thing of this LEGO blocks using which you can build any application • Software As a Service • Platform AS a Service • Infrastructure As a Service

Editor's Notes

  1. There is an xml <Program> <Name>MBA V1</Name> <description>Master of Business Administration </description> </Program> <Course> <Name>MBA/510</Name> <description>Marketing 101</description> </Course> We would want to combine them or using it together is student transcription xml <p:Program xmlns:p=“http://program”> <p:Name>MBA V1</p:Name> <p:description>Master of Business Administration </p:description> </p:Program> <c:Course xmlns:c=“http://course”> <c:Name>MBA/510</c:Name> <c:description>Marketing 101</c:description> </c:Course>
  2. Sample Schema Oxygen show how to generate xml file from XSD Sample XSL http://www.w3schools.com/xml/xml_xsl.asp
  3. Sample Schema Oxygen show how to generate xml file from XSD Sample XSL http://www.w3schools.com/xml/xml_xsl.asp
  4. Representational Clients possess the information necessary to identify, modify, and/or delete a web resource. State All resource state information is stored on the client. Transfer Client state is passed from the client to the service through HTTP. What is the difference between GET , POST for html page
  5. What if you have document that might need to use same name under elements for example : description of a product or place
  6. Sample Schema Oxygen show how to generate xml file from XSD Sample XSL http://www.w3schools.com/xml/xml_xsl.asp