SlideShare a Scribd company logo
1 of 7
A SOAP message is an ordinary XML document containing the
following elements.
 Envelope: ( Mandatory )
Defines the start and the end of the message.
 Header: ( Optional )
Contains any optional attributes of the message used in processing
the message, either at an intermediary point or at the ultimate end
point.
 Body: ( Mandatory )
Contains the XML data comprising the message being sent.
 Fault: ( Optional )
An optional Fault element that provides information about errors
that occurred while processing the message
1
SOAP(simple object access protocol)
The SOAP envelope indicates the start and the end of the message
so that the receiver knows when an entire message has been
received.
The SOAP envelope solves the problem of knowing when you're
done receiving a message and are ready to process it.
 Every SOAP message has a root Envelope element.
 Every Envelope element must contain exactly one Body element.
 The SOAP envelope is specified using the ENV namespace prefix
and the Envelope element.
2
SOAP Envelope element(mandatory)
Header element can be used to specify a digital signature for
password-protected services; likewise, it can be used to specify
an account number for pay-per-use SOAP services.
 The header is encoded as the first immediate child element of
the SOAP envelope.
 Header elements can occur multiple times.
 When more than one header is defined, all immediate child
elements of the SOAP header are interpreted as SOAP header
blocks.
3
SOAP Header element(Optional)
SOAP Header element can have following two attributes
 Actor attribute:
By setting the Actor attribute, the client can specify the recipient of
the SOAP header.
 MustUnderstand attribute:
Indicates whether a Header element is optional or mandatory. If
set to true ie. 1 the recipient must understand and process the
Header attribute according to its defined semantics, or return a
fault
4
 It contains the application-defined XML data being exchanged in
the SOAP message.
 The SOAP body is a mandatory element which contains the
application-defined XML data being exchanged in the SOAP
message.
5
SOAP Body Element(mandatory)
When an error occurs during processing, the response to a SOAP
message is a SOAP fault element in the body of the message, and
the fault is returned to the sender of the SOAP message.
 A SOAP Message can carry only one fault block
 SOAP fault is linked to the 500 to 599 range of status codes.
6
SOAP Fault Element(optional)
 The SOAP specification contains no mention of security facilities.
 SOAP deals with objects serialized to plain text and not with
stringified remote object references (interoperable object
references, IORs, as defined in CORBA), distributed garbage
collection has no meaning.
 SOAP clients do not hold any stateful references to remote
objects.
7
Disadvantages of SOAP

More Related Content

What's hot

Functions assignment
Functions assignmentFunctions assignment
Functions assignmentAhmad Kamal
 
A Brief Conceptual Introduction to Functional Java 8 and its API
A Brief Conceptual Introduction to Functional Java 8 and its APIA Brief Conceptual Introduction to Functional Java 8 and its API
A Brief Conceptual Introduction to Functional Java 8 and its APIJörn Guy Süß JGS
 
Login and private message
Login and private messageLogin and private message
Login and private messagegueste832a8e
 
Nairobi JVM meetup : Introduction to akka
Nairobi JVM meetup : Introduction to akkaNairobi JVM meetup : Introduction to akka
Nairobi JVM meetup : Introduction to akkaAD_
 

What's hot (11)

Php, mysq lpart3
Php, mysq lpart3Php, mysq lpart3
Php, mysq lpart3
 
C++ Functions
C++ FunctionsC++ Functions
C++ Functions
 
AutoComplete
AutoCompleteAutoComplete
AutoComplete
 
Functions assignment
Functions assignmentFunctions assignment
Functions assignment
 
Java input
Java inputJava input
Java input
 
Create and analyse programs
Create and analyse programsCreate and analyse programs
Create and analyse programs
 
A Brief Conceptual Introduction to Functional Java 8 and its API
A Brief Conceptual Introduction to Functional Java 8 and its APIA Brief Conceptual Introduction to Functional Java 8 and its API
A Brief Conceptual Introduction to Functional Java 8 and its API
 
Scanner class
Scanner classScanner class
Scanner class
 
Common Programming Errors
Common Programming ErrorsCommon Programming Errors
Common Programming Errors
 
Login and private message
Login and private messageLogin and private message
Login and private message
 
Nairobi JVM meetup : Introduction to akka
Nairobi JVM meetup : Introduction to akkaNairobi JVM meetup : Introduction to akka
Nairobi JVM meetup : Introduction to akka
 

Viewers also liked

Viewers also liked (20)

Rest
RestRest
Rest
 
Web service
Web serviceWeb service
Web service
 
Spring mvc
Spring mvcSpring mvc
Spring mvc
 
Java script object notation(json)
Java script object notation(json)Java script object notation(json)
Java script object notation(json)
 
Mule
MuleMule
Mule
 
Company profile 2015
Company profile 2015Company profile 2015
Company profile 2015
 
Exception handling in mule
Exception handling in muleException handling in mule
Exception handling in mule
 
Idea management systems for innovation
Idea management systems for innovationIdea management systems for innovation
Idea management systems for innovation
 
Futbol
FutbolFutbol
Futbol
 
Informativo de Mandato - Março/2014
Informativo de Mandato - Março/2014Informativo de Mandato - Março/2014
Informativo de Mandato - Março/2014
 
Liderança Cristã - Modelo de Jesus - Aula 14
Liderança Cristã - Modelo de Jesus - Aula 14Liderança Cristã - Modelo de Jesus - Aula 14
Liderança Cristã - Modelo de Jesus - Aula 14
 
Propòsits any 2011
Propòsits any 2011Propòsits any 2011
Propòsits any 2011
 
Liderança Cristã - Modelo de Jesus - Aula 7
Liderança Cristã - Modelo de Jesus - Aula 7Liderança Cristã - Modelo de Jesus - Aula 7
Liderança Cristã - Modelo de Jesus - Aula 7
 
Platon jeff
Platon jeffPlaton jeff
Platon jeff
 
Uso dos novos medio na aula 1 (novembro 2010)
Uso dos novos medio na aula 1 (novembro 2010)Uso dos novos medio na aula 1 (novembro 2010)
Uso dos novos medio na aula 1 (novembro 2010)
 
Tics maria cecilia y yudy
Tics maria cecilia y yudyTics maria cecilia y yudy
Tics maria cecilia y yudy
 
Bd 349 sorolla y la luz
Bd 349 sorolla y la luzBd 349 sorolla y la luz
Bd 349 sorolla y la luz
 
Renacimiento y Barroco: imágenes
Renacimiento y Barroco: imágenesRenacimiento y Barroco: imágenes
Renacimiento y Barroco: imágenes
 
8.testua
8.testua8.testua
8.testua
 
La mentida
La mentidaLa mentida
La mentida
 

Similar to Soap (20)

fffSeminar
fffSeminarfffSeminar
fffSeminar
 
SCDJWS 2. Soap
SCDJWS 2. SoapSCDJWS 2. Soap
SCDJWS 2. Soap
 
Web services
Web servicesWeb services
Web services
 
Soap
SoapSoap
Soap
 
SOAP Overview
SOAP OverviewSOAP Overview
SOAP Overview
 
Introduction to SOAP
Introduction to SOAPIntroduction to SOAP
Introduction to SOAP
 
Soap win
Soap winSoap win
Soap win
 
Java Web Service - Summer 2004
Java Web Service - Summer 2004Java Web Service - Summer 2004
Java Web Service - Summer 2004
 
web programming
web programmingweb programming
web programming
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
 
SOAP by luv
SOAP by luvSOAP by luv
SOAP by luv
 
Axis2
Axis2Axis2
Axis2
 
SOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIESSOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIES
 
Soap.doc
Soap.docSoap.doc
Soap.doc
 
Mule message
Mule messageMule message
Mule message
 
Bitstuffing
BitstuffingBitstuffing
Bitstuffing
 
Data Link Layer
Data Link Layer Data Link Layer
Data Link Layer
 
Web services Concepts
Web services ConceptsWeb services Concepts
Web services Concepts
 
Advanced soa and web services
Advanced soa and web servicesAdvanced soa and web services
Advanced soa and web services
 
Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Soap

  • 1. A SOAP message is an ordinary XML document containing the following elements.  Envelope: ( Mandatory ) Defines the start and the end of the message.  Header: ( Optional ) Contains any optional attributes of the message used in processing the message, either at an intermediary point or at the ultimate end point.  Body: ( Mandatory ) Contains the XML data comprising the message being sent.  Fault: ( Optional ) An optional Fault element that provides information about errors that occurred while processing the message 1 SOAP(simple object access protocol)
  • 2. The SOAP envelope indicates the start and the end of the message so that the receiver knows when an entire message has been received. The SOAP envelope solves the problem of knowing when you're done receiving a message and are ready to process it.  Every SOAP message has a root Envelope element.  Every Envelope element must contain exactly one Body element.  The SOAP envelope is specified using the ENV namespace prefix and the Envelope element. 2 SOAP Envelope element(mandatory)
  • 3. Header element can be used to specify a digital signature for password-protected services; likewise, it can be used to specify an account number for pay-per-use SOAP services.  The header is encoded as the first immediate child element of the SOAP envelope.  Header elements can occur multiple times.  When more than one header is defined, all immediate child elements of the SOAP header are interpreted as SOAP header blocks. 3 SOAP Header element(Optional)
  • 4. SOAP Header element can have following two attributes  Actor attribute: By setting the Actor attribute, the client can specify the recipient of the SOAP header.  MustUnderstand attribute: Indicates whether a Header element is optional or mandatory. If set to true ie. 1 the recipient must understand and process the Header attribute according to its defined semantics, or return a fault 4
  • 5.  It contains the application-defined XML data being exchanged in the SOAP message.  The SOAP body is a mandatory element which contains the application-defined XML data being exchanged in the SOAP message. 5 SOAP Body Element(mandatory)
  • 6. When an error occurs during processing, the response to a SOAP message is a SOAP fault element in the body of the message, and the fault is returned to the sender of the SOAP message.  A SOAP Message can carry only one fault block  SOAP fault is linked to the 500 to 599 range of status codes. 6 SOAP Fault Element(optional)
  • 7.  The SOAP specification contains no mention of security facilities.  SOAP deals with objects serialized to plain text and not with stringified remote object references (interoperable object references, IORs, as defined in CORBA), distributed garbage collection has no meaning.  SOAP clients do not hold any stateful references to remote objects. 7 Disadvantages of SOAP