Jump to content

Soap Vs Restful Services


Recommended Posts

Posted

[size=5][b] ardam ayena vallu chaduvukondi..kaani vallu repost ani nannu raayuchukuni kotti vellipondi[/b]



[b] REST vs SOAP Web Services[/b][/size]


[size=5][color=#000000][font=Helvetica, Arial, sans-serif]I am seeing a lot of new web services are implemented using a [b]REST[/b] style architecture these days rather than a SOAP one. Lets step back a second and explain what REST is.
[b]What is a REST Web Service[/b]
The acronym REST stands for [i]Representational State Transfer[/i], this basically means that each unique URL is a representation of some object. You can get the contents of that object using an HTTP GET, to delete it, you then might use a POST, PUT, or DELETE to modify the object (in practice most of the services use a POST for this).
[b]Who's using REST?[/b]
All of Yahoo's web services use REST, including Flickr, del.icio.us API uses it, pubsub, bloglines, technorati, and both eBay, and Amazon have web services for both REST and SOAP.
[b]Who's using SOAP?[/b]
Google seams to be consistent in implementing their web services to use SOAP, with the exception of Blogger, which uses XML-RPC. You will find SOAP web services in lots of enterprise software as well.
[b]REST vs SOAP[/b]
As you may have noticed the companies I mentioned that are using REST api's haven't been around for very long, and their apis came out this year mostly. So REST is definitely the trendy way to create a web service, if creating web services could ever be trendy (lets face it you use soap to wash, and you rest when your tired). The main advantages of REST web services are:[/font][/color][/size][list]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Lightweight - not a lot of extra xml markup[/font][/color][/size]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Human Readable Results[/font][/color][/size]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Easy to build - no toolkits required[/font][/color][/size]
[/list]
[size=5][color=#000000][font=Helvetica, Arial, sans-serif]SOAP also has some advantages:[/font][/color][/size][list]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Easy to consume - sometimes[/font][/color][/size]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Rigid - type checking, adheres to a contract[/font][/color][/size]
[*][size=5][color=#000000][font=Helvetica, Arial, sans-serif]Development tools[/font][/color][/size]
[/list]
[size=5][color=#000000][font=Helvetica, Arial, sans-serif]For consuming web services, its sometimes a toss up between which is easier. For instance Google's AdWords web service is really hard to consume (in CF anyways), it uses SOAP headers, and a number of other things that make it kind of difficult. On the converse, Amazon's REST web service can sometimes be tricky to parse because it can be highly nested, and the result schema can vary quite a bit based on what you search for.[/font][/color][/size]

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

  • king420

    9

  • _poori

    8

  • FAKEID

    4

  • Guillaume

    2

Popular Days

Top Posters In This Topic

Posted

[quote name='_poori' timestamp='1349227157' post='1302575387']
gp... font size konchem increase cheyochu ga :)
[/quote]
neeku rest services ki sambandam enti.....

Posted

[quote name='HAPPYNESS' timestamp='1349227198' post='1302575393']
neeku rest services ki sambandam enti.....
[/quote]
naa technology lo use chestharu ... REST and JSON <)&

Posted

[quote name='_poori' timestamp='1349227267' post='1302575396']
naa technology lo use chestharu ... REST and JSON <)&
[/quote]
JSON suxxx...maa danlo kuda ade.... aa services ni PEGA nundi connectors build chesi services consume cheskuntunnam...REST Connectors..

Posted

[quote name='HAPPYNESS' timestamp='1349227392' post='1302575407']
JSON suxxx...
[/quote]
cant help [img]http://i39.tinypic.com/a8akm.gif[/img]

Posted

student annav[img]http://i39.tinypic.com/a8akm.gif[/img]
[quote name='_poori' timestamp='1349227438' post='1302575412']
cant help
[/quote]

Posted

[quote name='_poori' timestamp='1349227438' post='1302575412']
cant help [img]http://i39.tinypic.com/a8akm.gif[/img]
[/quote]
PEGA 6.3 release ayyindi...adi ayete haayega andulone REST services build cheyyachu.... ee edava gola undadu

Posted

cheppi savandi meeru matladukoni dobbinchukune bhasha enti :#<

Posted

[quote name='Guillaume' timestamp='1349227486' post='1302575418']
student annav[img]http://i39.tinypic.com/a8akm.gif[/img]
[/quote]
student ee valla Univ lo adi use chestunnaru anta

Posted

[quote name='HAPPYNESS' timestamp='1349227500' post='1302575421']
PEGA 6.3 release ayyindi...adi ayete haayega andulone REST services build cheyyachu.... ee edava gola undadu
[/quote]
oh nice... maaku kuda anthe avasaramu koddi either external web services or internal web services connect avvuthamu

Posted

[quote name='FAKEID' timestamp='1349227512' post='1302575423']
cheppi savandi meeru matladukoni dobbinchukune bhasha enti :#<
[/quote]
SOAP ruddukuni snanam cheyyadam kanna REST teskodam best ani cheptunna..Poori emo ...JSON ane vadu valla intlo bathroom kadagataniki vachi ...phenoil seesa kottesadani cheptondi

Posted

[quote name='_poori' timestamp='1349227578' post='1302575430']
oh nice... maaku kuda anthe avasaramu koddi either external web services or internal web services connect avvuthamu
[/quote]
mana iddari abhiruchulu baaga kalisipotunnai i luv u i luv u

Posted

Univ of [b][size=4]D[/size][/b]-[b]K[/b]ansas [b]C[/b]ity ah? [img]http://i39.tinypic.com/a8akm.gif[/img]
[quote name='HAPPYNESS' timestamp='1349227532' post='1302575425']
student ee valla Univ lo adi use chestunnaru anta
[/quote]

×
×
  • Create New...