SOAP
- Data Flow in SOAP
- Basic Structure of SOAP
- SOAP Header
- SOAP Body
- Document/Literal
- RPC/Literal
- SOAP Fault Codes
- SOAP over HTTP
Format
SOAP XML Request
SOAP XML Response
Transport
SOAP over MQ
SOAP over HTTP
Service Definition
WSDL
SOAP Request
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:GetCourseDetailsRequest xmlns:ns2="http://in28minutes.<ns2:course>
<ns2:id>1</ns2:id>
</ns2:GetCourseDetailsRequest>
</ns2:getCourseDetailsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SOAP Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:getCourseDetailsResponse xmlns:ns2="http://in28minutes.<ns2:course>
<ns2:id>1</ns2:id>
<ns2:name>Spring</ns2:name>
<ns2:description>10 Steps</ns2:description>
</ns2:course>
</ns2:getCourseDetailsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SOAP Header
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>user</wsse:Username>
<wsse:Password>password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</Header>
<Body>
<GetCourseDetailsRequest xmlns="http://in28minutes.com/courses"
<id>1</id>
</GetCourseDetailsRequest>
</Body>
No comments:
Post a Comment