Professional Documents
Culture Documents
(SOAP)
by Kazi Huque
Presentation Outline
Definition
Motivation
Characteristics
SOAP message format
SOAP in code
SOAP Security
SOAP in action
2
What is SOAP?
WS-Policy
WS-Federation WS-Authorization
WS-Trust
WS-Privacy
WS-Security
SOAP
4
Simply Put...
1) extensible
2) interoperable
3) independent
Extensible
Interoperable
Interoperable Cont
Independent
10
One-Way Message
11
Request/Response
12
SOAP Envelope
SOAP Body
SOAP Envelope
14
15
SOAP Header
18
SOAP Body
19
20
SOAP in Code
SOAP Message Embedded in HTTP Request:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAPENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:GetLastTradePrice xmlns:m="Some-URI">
<symbol>DIS</symbol>
</m:GetLastTradePrice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
21
22
SOAP Security
23
24
Request Encrypted
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetCreditCardNumber xmlns="http://tempuri.org/" />
</soap:Body>
</soap:Envelope>
26
Response Encrypted
<soap:Body>
<GetCreditCardNumber xmlns="http://tempuri.org/">
<GetCreditCardNumberResult>83 151 243 32 53 95 86 13 190 134
188 241 198 209 72 114 122 38 180 34 194 138 16 97 221 195 239 86 26
152 94 27
</GetCreditCardNumberResult>
</GetCreditCardNumber>
</soap:Body>
27
SOAP in Action
Demo
28
References
Understanding SOAP
Overall explanation of what SOAP is, and what it can do.
http://msdn.microsoft.com/webservices/understanding/webservicebasics/default.aspx?pull
=/library/en-us//dnsoap/html/understandsoap.asp
W3C Note
Explains how SOAP exchanges messages. Code level
details.
http://www.w3.org/TR/2000/NOTE-SOAP-20000508/
29