SlideShare a Scribd company logo
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 (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

Propòsits any 2011
Propòsits any 2011Propòsits any 2011
Propòsits any 2011
miquel14
 
Renacimiento y Barroco: imágenes
Renacimiento y Barroco: imágenesRenacimiento y Barroco: imágenes
Renacimiento y Barroco: imágenes
felixrubio
 
La mentida
La mentidaLa mentida
La mentida
USEEMMP
 

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

Topic6 Basic Web Services Technology
Topic6 Basic Web Services TechnologyTopic6 Basic Web Services Technology
Topic6 Basic Web Services Technology
sanjoysanyal
 

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

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

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