Unraveling the Web Services An Introduc7on to SOAP, - - PowerPoint PPT Presentation

unraveling the web services
SMART_READER_LITE
LIVE PREVIEW

Unraveling the Web Services An Introduc7on to SOAP, - - PowerPoint PPT Presentation

Unraveling the Web Services An Introduc7on to SOAP, WSDL and UDDI Sri Harsha Bolise? Overview Web Services SOAP WSDL UDDI


slide-1
SLIDE 1

Unraveling ¡the ¡Web ¡Services ¡ ¡ ¡ ¡

An ¡Introduc7on ¡to ¡SOAP, ¡WSDL ¡and ¡UDDI ¡

¡ Sri ¡Harsha ¡Bolise? ¡

slide-2
SLIDE 2

Overview ¡

  • Web ¡Services ¡
  • SOAP ¡
  • WSDL ¡
  • UDDI ¡
slide-3
SLIDE 3

Introduc7on ¡ ¡

  • All ¡ business ¡ units, ¡ organiza7ons ¡ have ¡ their ¡ own ¡

approach ¡to ¡store ¡and ¡exchange ¡data. ¡

  • Interoperability ¡between ¡them ¡is ¡a ¡problem! ¡
  • Web ¡ services ¡ are ¡ developed ¡ to ¡ simplify ¡ this ¡

process ¡ by ¡ defining ¡ a ¡ standardized ¡ mechanism ¡ for ¡exchanging ¡data. ¡

slide-4
SLIDE 4

Web ¡Services ¡ ¡

  • Web ¡ services ¡ are ¡ soJware ¡ components ¡ which ¡

communicate ¡using ¡web ¡technologies ¡like ¡HTTP. ¡

  • Web ¡ services ¡ framework ¡ is ¡ divided ¡ into ¡ three ¡

areas ¡– ¡communica7on ¡protocol ¡(SOAP), ¡Service ¡ Descriptor ¡(WSDL) ¡and ¡service ¡discovery ¡(UDDI) ¡

slide-5
SLIDE 5

SOAP ¡

  • Simple ¡Object ¡Access ¡Protocol ¡ ¡
  • Its ¡an ¡XML ¡based ¡protocol ¡for ¡exchanging ¡data ¡
  • ver ¡HTTP. ¡
  • SOAP ¡ provides ¡ a ¡ way ¡ to ¡ communicate ¡

between ¡ applica7ons ¡ regardless ¡ of ¡ their ¡ plaSorm ¡or ¡programming ¡language. ¡

slide-6
SLIDE 6

Elements ¡of ¡SOAP ¡

  • Envelope ¡ – ¡ specifies ¡ that ¡ XML ¡ document ¡ is ¡ a ¡ SOAP ¡

message ¡

  • Header ¡ – ¡ contains ¡ applica7on ¡ specific ¡ informa7on ¡

about ¡SOAP ¡message. ¡

  • Body ¡– ¡ ¡includes ¡the ¡message ¡payload ¡
  • Fault ¡ – ¡ carries ¡ informa7on ¡ about ¡ a ¡ client ¡ or ¡ server ¡
  • error. ¡
slide-7
SLIDE 7

Example ¡for ¡SOAP ¡

slide-8
SLIDE 8

WSDL ¡

  • Web ¡Services ¡Descrip7on ¡Language. ¡
  • Its ¡an ¡XML ¡– ¡based ¡format ¡for ¡describing ¡web ¡
  • services. ¡ ¡
  • Clients ¡wishing ¡to ¡access ¡a ¡web ¡service ¡can ¡just ¡read ¡ ¡

and ¡interpret ¡its ¡WSDL ¡file ¡to ¡learn ¡about ¡the ¡ loca7on ¡of ¡the ¡service ¡and ¡its ¡available ¡opera7ons. ¡

slide-9
SLIDE 9

WSDL ¡Document ¡Structure ¡

  • Message ¡– ¡describes ¡names ¡and ¡format ¡of ¡the ¡message ¡supported ¡by ¡the ¡
  • service. ¡
  • Types ¡– ¡defines ¡the ¡data ¡types ¡used ¡by ¡the ¡service ¡for ¡sending ¡messages ¡

between ¡client ¡and ¡server. ¡

  • Port ¡Type ¡– ¡defines ¡a ¡web ¡service, ¡the ¡opera7ons ¡that ¡can ¡be ¡performed ¡

and ¡the ¡messages ¡that ¡are ¡involved. ¡

  • Binding ¡ – ¡ A ¡ protocol ¡ and ¡ data ¡ format ¡ specifica7on ¡ for ¡ a ¡ par7cular ¡ port ¡

type ¡

slide-10
SLIDE 10

WSDL ¡Example ¡

slide-11
SLIDE 11

UDDI ¡

  • Universal ¡ Descrip7on ¡ Discovery ¡ and ¡
  • Integra7on. ¡
  • UDDI ¡ is ¡ a ¡ directory ¡ for ¡ storing ¡ informa7on ¡

about ¡web ¡services. ¡

  • UDDI ¡ describes ¡ services ¡ using ¡ WSDL ¡ and ¡

communicates ¡via ¡SOAP ¡messaging. ¡

slide-12
SLIDE 12
slide-13
SLIDE 13

Advantages ¡of ¡Web ¡Services ¡

  • Applica7on ¡and ¡data ¡Integra7on. ¡
  • Versa7lity. ¡
  • Code ¡re-­‑use. ¡
  • Communica7on ¡Protocol’s ¡reliability. ¡
  • Cost ¡Savings. ¡
slide-14
SLIDE 14

Conclusion ¡

  • Web ¡ services ¡ provides ¡ a ¡ systema7c ¡ and ¡ extensible ¡

framework ¡for ¡applica7on ¡interac7ons. ¡

  • Web ¡services ¡have ¡evolved ¡as ¡a ¡prac7cal, ¡cost-­‑effec7ve ¡

solu7on ¡ for ¡ uni7ng ¡ informa7on ¡ distributed ¡ between ¡ cri7cal ¡applica7ons ¡over ¡opera7ng ¡systems, ¡plaSorms ¡ and ¡language ¡barriers ¡that ¡were ¡previously ¡impassable ¡

slide-15
SLIDE 15