News for hackers. Stuff that matters.
Re:Stop SOAP by kingofspain on Wednesday January 18, 2012 @09:25AM (#3479778)
As someone who recently had to deal with a system with two different (incompatible) SOAP services, I fully endorse the message behind this site.

Luckily my exposure seems to be restricted to legacy and enterprisey stuff nowadays.

Re:Stop SOAP by i2pi on Wednesday January 18, 2012 @12:43PM (#3480836)
Hi - I'm Josh - the guy behind Stop SOAP.

There is no political intent behind this site. It is meant to be a joke. A joke with a grain of truth.

Backstory: I was waiting for a conference call, saw that stopsoap wasn't registered and put this together in 15min.

Deeper backstory: I'm the co-founder & CEO of Simple.com. We deal with many SOAP APIs. The upside is that SOAP provides very clear specifications as to how the API is supposed to work. The downside, is that things rarely work as expected. It is frustrating, but such is life in banking.

On a more serious note, We're Hiring. If you'd like to work at Simple, where we replace you bank & give you clean REST APIs to your finances, check us out: http://simple.com

Re:Stop SOAP by zerostar07 on Wednesday January 18, 2012 @04:05PM (#3481837)
Well, you may soon be the accidental hero who saved the world from slippery things.
Re:Stop SOAP by 4ad on Wednesday January 18, 2012 @09:21AM (#3479759)
Re:Stop SOAP by pilif on Wednesday January 18, 2012 @10:56AM (#3480286)
protocols with simple (or lightweight) in their name usually are anything but.
Re:Stop SOAP by dexen on Wednesday January 18, 2012 @11:04AM (#3480323)
Not a coincidence. Simple to implement != simple to explain to your boss (`it's standard industry practice'). The name is meant to sell the standard to non-techies.
Re:Stop SOAP by DomreiRoam on Wednesday January 18, 2012 @09:47AM (#3479891)
SOAP is no more the acronym of Simple Object Access Protocol since version 1.2
Re:Stop SOAP by 4ad on Wednesday January 18, 2012 @09:55AM (#3479940)
That's no excuse (and if you read the article you'd know that it acknowledges this fact).
Re:Stop SOAP by DomreiRoam on Wednesday January 18, 2012 @10:06AM (#3480002)
Agreed, When i started SOAP around 2000, it was very simple. After that we for more into the awful WSDL 1 (WSDL 2 is better). But the number of WS-* and the different implementations that are all incompatible is just a nightmare.
Re:Stop SOAP by baudehlo on Wednesday January 18, 2012 @10:47AM (#3480239)
In 2001 I gave a talk (I believe at OSCon, to a packed audience) titled "Why SOAP Sucks". I started with a print-out of all the specs required to implement SOAP fully (there were lots of incomplete implementations around at the time, but barely any complete ones). It was more than two reams of paper (around 1100 pages of spec, if I recall). It had quite an "impact".
Re:Stop SOAP by bch on Wednesday January 18, 2012 @12:01PM (#3480641)
IIRC, the Table of Contents for the SOAP spec is bigger than the entire XML-RPC spec, yet SOAP offers little practical advantage. Luckily many new RPC implementations bypass both SOAP and XML-RPC and are looking to REST. $deity help all of us who need to work with legacy SOAP, however...
Re:Stop SOAP by jeremya on Wednesday January 18, 2012 @10:13AM (#3480033)
I can totally relate to these two articles, having recently attempted to write a .NET SOAP client for a web service that uses the (non-standard) SOAP with Attachments method for sending binary data. For something that was created to provide simple interoperability, SOAP is rife with a ridiculous number of inconsistencies and competing mini-(non)standards.
Re:Stop SOAP by zerostar07 on Wednesday January 18, 2012 @09:27AM (#3479792)
Finally, a legit movement for us non-americans!! How are we supposed to protest against this? cover our pages with bubbles?
Re:Stop SOAP by cgh on Wednesday January 18, 2012 @10:22AM (#3480088)
You must stop bathing for one week and blog about the results.
Re:Stop SOAP by seanalltogether on Wednesday January 18, 2012 @09:48AM (#3479896)
I'll admit to being completely ignorant about the benefits of using SOAP to communicate between servers. However I can say that for server->client communication it is the worse data representation I've ever had to work with and I genuinely hope we see the end of it. JSON maybe not be perfect, but it's so much better at delivering a structured data model then xml is.
Re:Stop SOAP by nirvdrum on Wednesday January 18, 2012 @11:16AM (#3480393)
I think I'd like JSON as a data representation a lot more if schemas for it were more prevalent. I've noticed it's a lot harder to generate valid JSON -- or rather a lot harder to escape data. With XML, this is fairly trivial. Granted, my use case is considerably different from most.

The other idea from SOAP I'd love to see applied to ReST is a descriptor document for the API. Given how poorly many ReST APIs are documented, I do miss the good 'ol WSDL. Plus, it gave me some measure of security that the API didn't change.

Re:Stop SOAP by seanalltogether on Wednesday January 18, 2012 @12:58PM (#3480913)
The strictness in generating valid json is exactly why i like it so much. I've worked with too many SOAP services with nodes and attributes thrown lazily around the document simply because xml is so unstructured. I do agree however that json could use a few more built-in data types to handle more complex use cases.
Re:Stop SOAP by sciurus on Wednesday January 18, 2012 @12:09PM (#3480680)
Does WADL provide what you liked about WSDL?

http://www.w3.org/Submission/wadl/

Re:Stop SOAP by nirvdrum on Wednesday January 18, 2012 @12:58PM (#3480915)
I haven't heard of this before. But I'll be checking it out. Thanks for the info.
Re:Stop SOAP by smacktlk on Wednesday January 18, 2012 @10:11AM (#3480020)
You seem to be confused between SOAP and Restful XML Web Services? They are different...
Re:Stop SOAP by electrichead on Wednesday January 18, 2012 @10:33AM (#3480157)
You don't think you can replace one with the other?
Re:Stop SOAP by zerostar07 on Wednesday January 18, 2012 @04:01PM (#3481825)
There's also XMLRPC which is as simple as JSON and still XML
Re:Stop SOAP by mmaunder on Wednesday January 18, 2012 @10:52AM (#3480268)
More tragic than HN becoming an advocacy site (the beginning of Slashdot's demise) is how many comments here don't get the joke.
Re:Stop SOAP by jokermatt999 on Wednesday January 18, 2012 @11:59AM (#3480627)
The population of HN isn't just anti-SOPA because it's fashionable. SOPA would directly affect small internet businesses by putting the onus of copyright policing on site owners. Considering how many of the HN startups have any user generated content at all, it's a real concern for the vast majority of them. To not advocate against SOPA would be foolish.
Re:Stop SOAP by levesque on Wednesday January 18, 2012 @11:50AM (#3480582)
Since when is being a web programmer a prerequisite to participating on HN?
Re:Stop SOAP by simias on Wednesday January 18, 2012 @11:54AM (#3480606)
I think what the OP meant is that this story is meant as a parody of the avalanche of "sopa is evil" posts lately. Whether you know what SOAP is or not is beyond the point.
Re:Stop SOAP by abrahamsen on Thursday January 19, 2012 @07:09AM (#3484121)
Slashdot was always an advocacy site. Rob Malda posted about a similar action he took in 1996, before /. got its name. https://plus.google.com/u/0/105030465637303791249/posts/MTYL...
Re:Stop SOAP by simias on Wednesday January 18, 2012 @11:49AM (#3480572)
I agree. Sure discussions about SOPA have their place here, but lately it just felt like a bit echo chamber where you have the same people preaching to the choir using the same arguments over and over again.

If I look at the homepage right now it seems half the posts are "site XXX blacked out to protest SOPA". Do all those need a separate story? The redditization of HN is running wild.

Will september ever end?

Re:Stop SOAP by TylerE on Wednesday January 18, 2012 @11:54AM (#3480604)
Indeed. Another irony, the Cheezburger Network sites are using a pop-up complaining about SOPA, when arguably they are just the sort of site there is a legitimate complaint about, as they routinely rip off other people's comments, and bask in the ad revenue.
Re:Stop SOAP by pvarangot on Wednesday January 18, 2012 @12:15PM (#3480711)
I'm against Stop SOAP. SOAP is a jobs-protocol.

In the current economy, consultants specialized in fixing convoluted web applications need us more than ever.

Re:Stop SOAP by T_S_ on Wednesday January 18, 2012 @12:32PM (#3480775)
I agree. We need SOAP to stop the JSON loving bit thieves trying to steal our intellectual overhead (IO). Don't drop the SOAP!
Re:Stop SOAP by orblivion on Wednesday January 18, 2012 @09:08AM (#3479687)
I was thinking, Spanish people must be wondering, "what do all these nerds have against soup?".
Re:Stop SOAP by TobbenTM on Wednesday January 18, 2012 @09:11AM (#3479711)
And all english-speaking people must think, "what do all these nerds have against soap?".
Re:Stop SOAP by vijayr on Wednesday January 18, 2012 @09:15AM (#3479729)
these nerds - they rarely shower !!!
Re:Stop SOAP by narag on Wednesday January 18, 2012 @09:42AM (#3479854)
Re:Stop SOAP by ArturoVM on Wednesday January 18, 2012 @10:10AM (#3480013)
Yep, every time I ask a non-nerd what they think about SOPA, they answer "Why, it's delicious!".
Re:Stop SOAP by yock on Wednesday January 18, 2012 @10:04AM (#3479991)
Someone went searching for "Stop SOPA" and discovered something brilliant from their typo.
Re:Stop SOAP by llambda on Wednesday January 18, 2012 @01:23PM (#3481048)
I'm wondering how it's technically possible for a submission with over 500 up-votes to be flagged to the point of being pushed off the front page; interestingly, it was not a gradual departure, as you'd expect, but rather it seemed to move instantly, from the top spot, to number 33 or 34, on the second page.

I think it's terribly important that it be possible for the community to reflect, critically: SOPA is a serious issue, one we should all be concerned about, and more importantly taking action against. However, there is a point where it becomes an echo chamber, where we are preaching to the choir. Having nearly every submission be yet another "X is blacked out" does not necessarily correlate to communicating to our lawmakers that we do not want this legislation to pass.

Clearly this subtle, yet provocative submission's intent to communicate such a critique was understood by a number of people. I'm still unsure how it ended up bumped so quickly, but whatever the case, I hope the point wasn't entirely lost on those of you who didn't appreciate it.

Re:Stop SOAP by mike-cardwell on Wednesday January 18, 2012 @01:31PM (#3481084)
I suspect the absolutely dismal state of the comments helped to get it flagged into oblivion.
Re:Stop SOAP by Achshar on Wednesday January 18, 2012 @12:52PM (#3480881)
Alright guys.. i'll admit, i dont get the joke. can any one explain? What's happening on that site and why do i see xml? (yes, i am still learning new stuff, like everyone else)
Re:Stop SOAP by RyanMcGreal on Wednesday January 18, 2012 @01:02PM (#3480932)
SOAP is a specification for exposing remote procedure calls via a web service. The client executes a SOAP request by making an HTTP Post request against a URL with an XML request body that specifies what remote procedure to call and what parameters to pass into it. The service, in turn, sends an HTTP response with an XML body that contains the return value from the procedure call.

SOAP services also usually include a WSDL, which is alternately said to stand for Web Service Definition List, Web Service Definition Language, or Web Service Description Language and is meant to define the methods and parameters available to the client.

Because the whole system is so complicated, cumbersome and over-engineered, the normal way to create a WSDL is to do it automatically using tooling. Unfortunately, different frameworks generate different and often mutually incompatible and non-interoperable WSDLs. So, for example, a .NET SOAP client might not be able to consume a WSDL generated by a Java framework.

The S in SOAP originally stood for "Simple", but the protocol is anything but.

Re:Stop SOAP by Achshar on Wednesday January 18, 2012 @01:15PM (#3480999)
Yes that comment really helps but if i am getting it right, it is something like JSON, right? like JSON is used in public API's and all sorts of server-client communication. Any particular reason to take SOAP against something like JSON?
Re:Stop SOAP by RyanMcGreal on Wednesday January 18, 2012 @01:30PM (#3481074)
Not exactly.

SOAP is a protocol specification for executing remote procedure calls over a network. SOAP uses XML for its message formatting and data serialization, and (usually) HTTP for its network protocol.

JSON, on the other hand, is a data serialization format rather than a remote procedure call format. It is sometimes used in web services - especially services based on Representational state transfer (REST) - to pass structured data between the client and server, but it is not a remote procedure call protocol in itself.

REST, in turn, is a method for designing a web service so that its functionality is accessed the same way that HTTP works. In REST, the service is organized into resources and methods, with resources corresponding to URLs and methods corresponding to the HTTP request methods: chiefly GET, POST, PUT and DELETE.

If you want to access a resource, you issue an HTTP GET request on the URL corresponding to that resource. If you want to create a resource, you issue an HTTP POST request on the URL corresponding to that resource with the data you want to post in the request body. If you want to update an existing resource, you issue an HTTP PUT request on the corresponding URL with the updated data. If you want to delete a resource, you issue an HTTP DELETE request on the corresponding URL.

Recently, many REST web services are designed to accept request data in JSON format and to send responses in JSON as well. Since web services are mainly consumed by client programs (rather than by humans browsing), JSON allows for a generic data structure that the client can consume and parse more easily than HTML, which is designed more specifically to structure documents.

Re:Stop SOAP by chrisbolt on Wednesday January 18, 2012 @12:53PM (#3480886)
Re:Stop SOAP by Achshar on Wednesday January 18, 2012 @12:56PM (#3480904)
Oh, i see, so it is some kind of communication protocol. But i am surprised i never heard of it even thought i have been writing/learning code for a few years now.
Re:Stop SOAP by ghc on Wednesday January 18, 2012 @09:11AM (#3479704)
Finally a movement I can get behind!
Re:Stop SOAP by wladimir on Wednesday January 18, 2012 @09:27AM (#3479793)
Well in contrary to the SOPA people, the SOAP people aren't trying to forcibly push SOAP on all of us with laws and treaties. There's enough alternatives. Let them use SOAP :p
Re:Stop SOAP by markokocic on Wednesday January 18, 2012 @09:44AM (#3479869)
Unless you have to integrate with their "mission critical" SOAP based "enterprise solution".
Re:Stop SOAP by petenixey on Wednesday January 18, 2012 @10:07AM (#3480005)
I can't shake the association between your comment and the one calling to "please drop the soap"
Re:Stop SOAP by harrisreynolds on Wednesday January 18, 2012 @09:49AM (#3479904)
Unfortunately I spent a couple years building web services tools in 2002,3. I have long since repented. Love the "S stands for Simple" link... fantastic dialog!
Re:Stop SOAP by umjames on Wednesday January 18, 2012 @12:22PM (#3480745)
As someone who is about to work with a client's enterprisey SOAP API, I really wish I could upvote this article multiple times.
Re:Stop SOAP by tar on Wednesday January 18, 2012 @11:08AM (#3480339)
REST in peace, SOAP.
Re:Stop SOAP by etaty on Wednesday January 18, 2012 @09:47AM (#3479890)
One does not simply get some REST.
Re:Stop SOAP by simondlr on Wednesday January 18, 2012 @10:02AM (#3479978)
There is a "REST in peace" joke there as well.
Re:Stop SOAP by xbryanx on Wednesday January 18, 2012 @01:03PM (#3480940)
Have you considered Dr Bronner's? - http://www.drbronner.com/pdf/drbronner_32oz_Pep.pdf
Re:Stop SOAP by AznHisoka on Wednesday January 18, 2012 @12:29PM (#3480767)
Is there even 1 legit reason why someone would use SOAP over REST, aside from legacy?
Re:Stop SOAP by mindcrime on Wednesday January 18, 2012 @12:53PM (#3480887)
Re:Stop SOAP by abailin on Wednesday January 18, 2012 @11:36AM (#3480504)
This is great - put on some tweet/fb like/+1 buttons so we can help spread the word.
Re:Stop SOAP by aangjie on Wednesday January 18, 2012 @09:49AM (#3479907)
Almost thought it was SOPA.. misspelled article..:-P Agree.. SOAP is way to verbose....and annoying to read manually while debugging...
[deleted]
Re:Stop SOAP by mike-cardwell on Wednesday January 18, 2012 @10:41AM (#3480206)
It helps if you click the article link and understand the content, before commenting.
Re:Stop SOAP by pedrosanta on Wednesday January 18, 2012 @10:13AM (#3480036)
lawl
Re:Stop SOAP by jburwell on Wednesday January 18, 2012 @10:03AM (#3479984)
Friends don't let friends do SOAP.
Re:Stop SOAP by yuvalo on Wednesday January 18, 2012 @10:34AM (#3480161)
oh i see what you did there

*sorry, reddit is down

Re:Stop SOAP by Kesty on Wednesday January 18, 2012 @10:26AM (#3480110)
We should use SOPA againt SOAP and ask internet providers acroos the globe to block access to every server that runs a SOAP webservice.
Re:Stop SOAP by binarray2000 on Wednesday January 18, 2012 @10:39AM (#3480195)
..."Don worked with Microsoft and Dave Winer to create the original SOAP specification in 1998.":

http://www.microsoft.com/presspass/exec/de/Box/default.mspx

Actually, swell guy. I'm still wondering how he created such a mess.

Re:Stop SOAP by tomelders on Wednesday January 18, 2012 @10:28AM (#3480131)
I am not Barrack Obama, and I endorse this message.
Re:Stop SOAP by onedewd on Wednesday January 18, 2012 @10:12AM (#3480026)
So much efforts to stop law proposal X. Which is great.

What about the idea of a Open-USA or other Open-Iran where a true Meta-Democracy or whatever open society model is implemented where all efforts would be PRO something instead of hateful stuff like protesting.

This laws are proposed by lobbies that go against the interest of 99% of the persons. How is that even conceivable ?

All this big companies opposing could create a github project for open government and then elect a person that implements that.