Skip to Content »

online discount medstore
advair diskus for sale
buy advair diskus without prescription
allegra for sale
buy allegra without prescription
aristocort for sale
buy aristocort without prescription
astelin for sale
buy astelin without prescription
atarax for sale
buy atarax without prescription
benadryl for sale
buy benadryl without prescription
buy clarinex without prescription
clarinex for sale
buy claritin without prescription
claritin for sale
buy flonase without prescription
flonase for sale
buy ventolin without prescription
ventolin for sale
amoxil for sale
buy amoxil without prescription
augmentin for sale
buy augmentin without prescription
bactrim for sale
buy bactrim without prescription
biaxin for sale
buy biaxin without prescription
buy cipro without prescription
cipro for sale
buy cleocin without prescription
cleocin for sale
buy dexone without prescription
dexone for sale
buy flagyl without prescription
flagyl for sale
buy levaquin without prescription
levaquin for sale
buy omnicef without prescription
omnicef for sale
amaryl for sale
buy amaryl without prescription
buy cozaar without prescription
cozaar for sale
buy diabecon without prescription
diabecon for sale
buy glucophage without prescription
glucophage for sale
buy glucotrol without prescription
glucotrol for sale
buy glucovance without prescription
glucovance for sale
buy micronase without prescription
micronase for sale
buy prandin without prescription
prandin for sale
buy precose without prescription
precose for sale
buy cialis professional without prescription
cialis professional for sale
buy cialis soft without prescription
cialis soft for sale
buy cialis super active without prescription
cialis super active for sale
buy cialis without prescription
cialis for sale
buy levitra without prescription
levitra for sale
buy viagra professional without prescription
viagra professional for sale
buy viagra soft without prescription
viagra soft for sale
buy viagra super active without prescription
viagra super active for sale
buy viagra super force without prescription
viagra super force for sale
buy viagra without prescription
viagra for sale
buy celebrex without prescription
celebrex for sale
buy colcrys without prescription
colcrys for sale
buy feldene without prescription
feldene for sale
buy imitrex without prescription
imitrex for sale
buy inderal without prescription
inderal for sale
buy indocin without prescription
indocin for sale
buy naprosyn without prescription
naprosyn for sale
buy pletal without prescription
pletal for sale
buy robaxin without prescription
robaxin for sale
buy voltaren without prescription
voltaren for sale

Tech Life of Recht » REST vs WS-*

 REST vs WS-*

  • April 22nd, 2008
  • 8:10 pm

Today, we had the OIOREST workshop, a workshop on the OIOREST initiative, we’re a part of at Trifork. The workshop was meant to inform about REST in the Danish public sector and to hear what users and developers had to say. The workshop went pretty well – not a lot was changed, but at least we were (more or less) confirmed in our view that REST does have its place.
The workshop was centered around a couple of Open Space sessions. One of the topics discussed was “REST vs WS-*”. While working with OIOREST, this topic has come up again and again: What is REST in relation to SOAP and WS-*, and when should each be used? This has been the basis for many heated discussions, and today was not much different. Most people say something like “REST is for simple things, but when things get too complicated, you’ll want to use WS-*”. I can’t really figure out what to think about this. First of all, what is simple and what is complicated? Complicated scenarios often include transactions and reliability. Distributed transactions are evil, period. Reliability is handled in REST by adhering to the HTTP verbs and keeping operations idempotent, so that’s not really a good argument either. Another argument against REST is “now we’ve finally developed all these standards for SOAP, why should we then do the same for REST?”. Ignoring that REST is older than SOAP and WS-*, somehow this argument also feels wrong.

I agree that REST is not for everything: if you want a RPC interface, don’t use REST. If you work in an organization which is committed to SOAP-based web services, don’t use REST (at least not openly). If you have the need for hierarchical data in the message header, REST doesn’t quite fit. If you want to use only GET/PUT/DELETE/POST, it will for example, be hard to implement transfers between two accounts in REST.
Now, everything is possible, and all of this can be modeled in REST, but it’s starting to look wrong and diverge from “real” REST. Something like WS-Security seems hard to implement in a nice way in REST. WS-Security makes it possible to sign and/or encrypt XML payloads transparently. The signature is placed in the SOAP header, and the payload format does not have to support digital signatures directly. If you need end-to-end security, this is a pretty nice thing, and REST does not have something similar. Some payload formats, for example Atom Publishing Protocol, supports signatures as a part of the payload itself. WS-Security still has the advantage that no matter what format you’re using, you can use the same mechanism for signing and checking signatures.

WS-Security has some potential, but I’ve also seen a lot of cases where WS-Security could be replaced by plain SSL instead together with a simple Authorization header. So, the original question is still valid: what are the scenarios where SOAP/WS-* simply cannot be avoided? My guess is that there is no good answer for this, just as there is no good answer to the question “when should we use Ruby instead of Java?”, or “when should we use PostgreSQL instead of MySQL?”. The answers to these questions will depend on who you are, what your experience is, where you’re working, and so on. The only way is probably to try some different scenarios in REST and SOAP and see what approach is most successful – which is what we’re in the process of doing with the Danish Nature and Environment Portal, but more about that another day.

2,645 People had this to say...

Gravatar

Tech Life of Recht » Blog Archive » REST vs WS-*
actyhrpxek
ctyhrpxek http://www.g990x1i0785vn6nr5b4zio73el73xd3ks.org/
[url=http://www.g990x1i0785vn6nr5b4zio73el73xd3ks.org/]uctyhrpxek[/url]

Gravatar

I鈥檝e recently started a site, the info you provide on this website has helped me greatly. Thank you for all of your time & work. 鈥淐ultivation to the mind is as necessary as food to the body.鈥?by Marcus Tullius Cicero.
gamma blue 11

Gravatar

We finished the drinks and I shouldered the survival kit. There was no sound of aircraft now, just some distant birdcalls and the hum of insects. We moved through the trees, staying undercover, distancing ourselves from the action with the police fleet. We listened closely but there was no sound of any engines behind or above us. I smiled. Then I frowned when I heard the grumble of a motor up ahead.
cheap designer shoes

Gravatar
Gravatar
  • 特考
  • July 21st, 2016
  • 12:14 am

Is that true? Ill spread this information. Anyway, nice posting.
特考

Gravatar

Very energetic post, I liked that a lot. Will there be a part 2?
vera bradley outlet

Gravatar

? Be aware that the lake can get rough on windy days. com /, cos come il mio personale funzione sarebbe quella di un mercato totalmente libero sul sistema di settore Internet. Of course these are not hard and fast rules which affect the game directly, but more of good etiquette when playing golf. This is very important. This is very important.

Gravatar

hello
that’s nice posting.
國小門市卷

Gravatar

銉淬偅銉淬偅銈兂銈︺偍銈广儓銈︺儍銉?google.co.jp銉€銈炽偪 銉愩儍銈?
gamma blue 11

Gravatar

hi
it’s nice posting.
南一版

Gravatar

cartierlovejesduas The company closed its pension plans to new participants at the start of 2004. The freeze does not affect those hired from that point forward or those who have already left the company or retired. All of the benefits accrued through Dec. 31 will remain in place, and employees will not lose what they have earned to that point.
falso bracciale uomo cartier

Gravatar

茅台经销商大会在山东济南召开。发表评论2013年非油品营业额达到133亿元,目前石家庄市年均缺水约10.4亿立方米,有的是全市发展的重点,”工信部副部长苏波在会上说。使用寿命长,纺织,并不代表本网赞同其观点和对其真实性负责。目前虽以欧美地区规格订的较完善,这些因素影响下。

Gravatar

When I first saw this title 莽卢鈥樏┞♀€澝B伮B伮B伮CB伮∶b€毱捗B佲€犆b偓鈧琒ONY茫鈧偓茫鈥毬得b€毬っF捖惷F捖济b€毬访F捖F捚捗F捤員200盲陆鈥溍┞ㄢ€?on google I just whent and bookmark it. I want to start a blog but would like to own the domain. Any concepts how to go about this?.
jordan 11 legend blue 2014

Gravatar

Is that true? Ill spread this information. Anyway, nice posting.
迪士尼美語世界

Want your say?

* Required fields. Your e-mail address will not be published on this site

You can use the following XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>