1 / 8

SOAP

SOAP. Simple Object Access Protocol. SOAP. XML Usually sent via HTTP Usually sent as HTTP POST request request and response must be content type text/xml client must include SOAPAction header. <?xml version="1.0" encoding="UTF-8 "?>

tamra
Télécharger la présentation

SOAP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SOAP Simple Object Access Protocol

  2. SOAP • XML • Usually sent via HTTP • Usually sent as HTTP POST request • request and response must be content type text/xml • client must include SOAPAction header

  3. <?xml version="1.0" encoding="UTF-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:add xmlns:ns2="http://ws.notborder.org/"> <x>5</x> <y>6</y> </ns2:add> </S:Body> </S:Envelope>

  4. Car Rental Website • 2 x Audi A8 • 3 x BMW 501i • 1 x Morning • Database: table ‘cars’ (inc. url to car image) • Web methods: • getCarInfo() (returns id, name, image url, price)

More Related