Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Google Deprecates SOAP API

Posted by kdawson on Tue Dec 19, 2006 10:28 PM
from the washed-up dept.
Michi writes "Brady Forrest at O'Reilly Radar reports that Google has deprecated their SOAP API; they aren't giving out any new SOAP Search API keys. Nelson Minar (the original author of the Google SOAP API) argues that this move is motivated by business reasons rather than technical ones. Does this mark the beginning of the end for SOAP or for ubiquitous middleware in general?" Forrest's post quotes developer Paul Bausch: "This is such a bad move because the Google API was the canonical example of how web services work. Not only is Google Hacks based on this API, but hundreds of other books and online examples use the Google API to show how to incorporate content from another site into a 3rd party application."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • From TFA:

    I remember the first web services summit we did, where a Microsoft developer who I won't name admitted that SOAP was made so complex partly because "we want our tools to read it, not people."

    Just as I suspected: SOAP suffers from an artificial (read: gratuitous) complexity; what more do you need besides XML-RPC, anyway?

    Google quietly shutting down services, on the other hand, reminds me of differentiating stem-cells: the honeymoon is over.

    • by rbanffy (584143) on Tuesday December 19 2006, @10:38PM (#17308870) Homepage
      Any technology that requires a specific tool to write code for it is way too complex.

      Without a Next-Next-Finish wizard, SOAP is a pain. With the tool it's mildly uncomfortable.
      • by timeOday (582209) on Tuesday December 19 2006, @10:50PM (#17308948)
        This isn't about deprecating SOAP in favor of something simpler, is it? Sounds to me like google wants people to visit their website to use their services. Which, once again, proves why the semantic web and web services will never fly. Companies don't want to make their data and services available to each other.
        • by Anonymous Coward on Tuesday December 19 2006, @11:12PM (#17309082)
          Companies don't want to make their data and services available to each other.

          I don't think it's so much that companies don't want to as it is that there is no money in it.

          If Amazon provided an API for buying stuff, I think it would stick around

          If eBay provided an API for listing / searching, I think it would stick around.

          Google, however, provides their product strictly for advertising revenue...it's wayyyy too easy for a consumer of the content to filter out the thing Google makes their money from.

          It's very similar to the problem with Tivo's (PVR's) and commercial television. Luckily in that case, the television providers don't make their money directly from advertising revenue...

        • Re: (Score:3, Insightful)

          by Anonymous Coward

          > Companies don't want to make their data and services available to each other.

          But people do. Why does everything we do have to be dictated by what a company would do? There are ways to achieve things in life other than to wait for a company to do it.

        • by jsse (254124) on Tuesday December 19 2006, @11:44PM (#17309250) Homepage Journal
          Which, once again, proves why the semantic web and web services will never fly. Companies don't want to make their data and services available to each other.

          Well, I beg the differ, please bear with me.

          SOAP is based on an idea of giving APIs to external parties for accessing information the way the information-owners want it. SOAP might be bad, but the idea is sound. Thinking about the traditional and dirty way to do the same thing: write scripts to 'post' webpages and extract the return pages. You can imagine slight changes in webpage layout could render the original extraction scripts useless, and that kind of information extraction might not be the owners' desire.

          In short, things SHOULD be done this way, but Google doesn't like this implementation(SOAP). Google might want to adopt other implementation, that's what we'd like to know.
          • by jd (1658) <imipak.yahoo@com> on Wednesday December 20 2006, @12:33AM (#17309448) Homepage Journal
            AJAX, SOAP and so on are all based on the premise that there are ways of abstracting out a lot of the complexity of service/user and service/service interactions. That assumption, I believe, is essentially correct. From that premise, these standards go on to assume that vendors are the right people to make such abstractions. Here is where the error lies. Vendors are notorious for producing crippled standards (such as SQL) that require vendor extensions to be usable. At a recent PCI-SIG conference, I was amazed at both the obviously stupid limitations of the standards and the gratuitous "vendor extension" options that very obviously existed so that vendors could provide proprietary solutions to those limitations. If a standard cannot stand, it ceases to be a standard and becomes little more than a cub scout badge.


            (Another case: I cannot name a single well-designed W3C spec that was consortium-driven, and cannot name a single consortium-driven W3C spec that was well-designed.)


            Web service standards cannot be driven by the very people who profit most from non-standard solutions. Even when they are designed well, they will STILL carry unacceptable flaws precisely because they are not driven by a collective itch but by a desire to stop someone else's scratch being the one that's used. The day a truly open federation of user-developers (you need a group of people where each person is both user AND developer) who have no ulterior motive beyond solving the service issue is formed will be the day that you see a protocol that requires no "perfect case study", proprietary extensions, overweight IDEs, etc. It will just work and be just used. Same as every other system developed that way has always just worked and just been used.

            • by cyclomedia (882859) on Wednesday December 20 2006, @04:45AM (#17310426) Homepage Journal
              What i truly don't understand is why it has to be so complex even the much vaunted and pparently much simpler XML-RPC looks like attatching a nuclear bomb to the process:

              <?xml version="1.0"?>
              <methodCall>
                  <methodName>namespace.getCountryCodeFromAbbr</meth odName>
                  <params>
                      <param>
                              <value><string>UK</string></value>
                      </param>
                  </params>
              </methodCall>

              Browsers already have Javascript engines in that take C-syntaxey looking ascii and convert it into functions and objects, so why not just use a C-syntaxey plaintext to describe the service?

              read: namespace{ int getCountryCodeFromAbbr( string ); };

              send: namespace.getCountryCodeFromAbbr( "UK" );

              get : 44

              now, ok you might want to send comlext data structures back, but hey, you can just slap in the curly braces and be done

              read: namespace{ personStruct{ string name, int age, char sex }; personStruct getPersonFromUserId( int ); };

              send: namespace.getPersonFromUserId( 12 );

              get : { "John Smith", 34, 'M' };

              oh, but i forget: everthing has to be XML to be enterprisey, wether or not it's the best tool for the job, or if there's already a tool for the job that can do it for you with just a little tiny bit of effort. The "include this .js file" AJAX approach is essentially a wrapper for doing what i've just described, but taking the communication automation out of it.
              • by Kazoo the Clown (644526) on Wednesday December 20 2006, @01:46PM (#17315544)
                Yes, and where XML really shines is in turning a 1M record database query from 30MB of text into 150MB of text...
                • by Agelmar (205181) * on Wednesday December 20 2006, @07:43AM (#17311192)
                  Have you ever tried using this for nontrivial examples? I must confess to being quite fed up with the whole thing. Support for anything beyond the basics seems to vary greatly from library to library, platform to platform, language to language. Axis is probably the best choice for Java, but it's rather lacking when it comes to commercial support, which is important for some people. For C/C++ you're more or less screwed. Gsoap works (for the most part), but it produces the most god-awful stubs I've ever seen. The library that comes as part of Visual Studio (for .Net I believe) either doesn't support MIME or DIME attachments, I don't recall which. There just seem to be too many problems for me to actually bother to use it.

                  In my opinion, at this point it's just a mess, and for anything beyond the complexity of the stock-quote example I look to other technologies. I, for one, shed no tears at the end of this honeymoon.

                  (And am I the only one that cringes at using SOAP messages (or XML in general) for something that's supposed to be a machine-to-machine interaction? If you're going to write a new standard, why not write something more efficient?
        • This isn't about deprecating SOAP in favor of something simpler, is it? Sounds to me like google wants people to visit their website to use their services. Which, once again, proves why the semantic web and web services will never fly. Companies don't want to make their data and services available to each other.

          Which makes Google one hell of a hypocritical company. This is a company that couldn't exist if it wasn't for content put out there by other businesses and individuals yet when it comes to sharing

          • by theshowmecanuck (703852) on Wednesday December 20 2006, @12:42AM (#17309486) Journal
            One could argue that if it weren't for Google and other search engines, no one would ever know of about 90% of the web content put out by businesses and individuals. People and businesses who wanted to get *their* word out would have shrivelled up and died on the vine since no-one would ever have heard them calling. Since Google provides a service to those web sites, your argument could be considered spurious and therefore moot. If anything, those web sites owe Google, not the other way around as you contend.
      • Power of SOAP (Score:4, Informative)

        by Phil John (576633) <phil@websta[ ]td.com ['rsl' in gap]> on Wednesday December 20 2006, @05:23AM (#17310598)

        The real power of SOAP comes when you are using a language or framework that has support for it builtin. SOAP is complex simply because it does more than XML-RPC with type handling etc.

        In PHP you can use NuSOAP (or in 5.x the built-in SOAP library), to simply register some functions and autogenerate the WSDL, or generate a proxy from a given WSDL - takes a couple of minutes tops and then looks like you are simply calling another function.

        Anyone who uses ASP.NET regularly has it even better - create an ASMX file, define a class and functions like you would in any C# class, add some namespace arguments, a [WebMethod] over all your public methods and it can then be instantiated and called from any other ASP.NET website or .NET dekstop app seamlessly, like it was a local class. It's really cool just how transparent it all is. You can even throw exceptions and catch them on the other side, pass back objects - it's really slick.

    • by WasterDave (20047) <davep@[ ]kep.com ['zed' in gap]> on Tuesday December 19 2006, @10:55PM (#17308970)
      Yes indeed it is. The cool kids see externally provided services and say "mashup! mashup! mashup!", the old timers see them and say "risk! risk! risk!".

      Dave
  • bastards (Score:5, Funny)

    by PktLoss (647983) on Tuesday December 19 2006, @10:32PM (#17308824) Homepage Journal
    Bastards, I wrote one of those books! Quick buy your copy today, it's practicaly a collectable now.

  • by rednip (186217) * <<rednip> <at> <gmail.com>> on Tuesday December 19 2006, @10:32PM (#17308826) Journal
    Well it was 'just' a Beta, but then again so is gmail, Google maps, and every other neat Google application. Of course as a gmail user it does give me pause, as to what I'm really doing.
  • What about XMLRPC? (Score:5, Informative)

    by Dynedain (141758) <{moc.nilcmynohtna} {ta} {2todhsals}> on Tuesday December 19 2006, @10:34PM (#17308840) Homepage
    Does Google offer XMLRPC services?

    If so, then I'd say it's fine to drop SOAP. XMLRPC is a bit cleaner anyways.
  • by canuck57 (662392) on Tuesday December 19 2006, @10:35PM (#17308846)
    Soap, what was that....

    Maybe something to do with:

    UNIX Sex

    {look;gawk;find;sed;talk;grep;touch;finger;find;fl ex;unzip;head;tail; mount;workbone;fsck;yes;gasp;fsck;more;yes;yes;eje ct;umount;makeclean; zip;split;done;exit:xargs!!;)}

  • by hernick (63550) on Tuesday December 19 2006, @10:52PM (#17308958)
    Wow. This is the first time I read an article about Google and, for a second, find myself thinking "Google appears to be Evil and driven by Greed. This isn't happening. This is just a mistake. Google will see the light. Google is Good."
    • by Ingolfke (515826) on Tuesday December 19 2006, @10:55PM (#17308968) Journal
      Yes. Google is evil. They've become drunk on their stock earnings and intend to use their massive computing capabilities to use up all of the Earth's energy in order to enslave mankind... it's all clear now that the SOAP Search API is gone.

      Um... seriously though. Give them a bit of time and see if the make and announcement and publish an alternative (non-AJAX) API.
      • Re:Don't be evil! (Score:4, Informative)

        by FooAtWFU (699187) on Tuesday December 19 2006, @11:02PM (#17309018) Homepage
        It needn't even be "non-AJAX". There are plenty of other possibilities for a web service API besides SOAP. The one I'm particularly well-acquainted with, and perhaps the biggest contender out there, is REST (REpresentational State Transfer). In particular, I recall one web developer howto-type site speaking about Amazon's SOAP-related services, and how most people don't use them, because they're an order of magnitude slower than most REST services.
    • Re: (Score:3, Insightful)

      "Wow. This is the first time I read an article about Google and, for a second, find myself thinking "Google appears to be Evil and driven by Greed. This isn't happening. This is just a mistake. Google will see the light. Google is Good.""

      Google provides you a wide range of services, which you value, at aboslutely no cost to yourself.

      ?

      *boggle*

      So did you just need to take a break from bashing the Salvation Army, or what?
  • by Anonymous Coward on Tuesday December 19 2006, @10:58PM (#17308986)
    Without soap Google will become evil.
  • by MrData (130916) on Tuesday December 19 2006, @10:59PM (#17308992)
    Simpy put the Author of the article has it all wrong. SOAP is a type of Web Service but not all web services use SOAP.
  • Google branding? (Score:3, Informative)

    by BorgCopyeditor (590345) on Tuesday December 19 2006, @11:01PM (#17309006)
    So, skimming the Google AJAX Search API [google.com] example code pages, it looks like a big part of this is to attach Google's name and image to everything your web page or web app does with the data Google provides. Does that seem to anyone else like a fair assessment? If so, is it a fair practice?
    • by FooAtWFU (699187) on Tuesday December 19 2006, @11:43PM (#17309246) Homepage
      So, skimming the Google AJAX Search API example code pages, it looks like a big part of this is to attach Google's name and image to everything your web page or web app does with the data Google provides. Does that seem to anyone else like a fair assessment? If so, is it a fair practice?

      Well, since Google is the one who aggregated it in the first place... and is paying for the processing power and bandwidth requirements that go along with that... what's unfair about the practice? (It's not like they're really preventing one from giving you similar data, or somehow stealing away value from any of the sites they've indexed, or...)

  • by siddesu (698447) on Tuesday December 19 2006, @11:31PM (#17309184)
    Yawn... Google is a company. Regardless of the marketing bullshit they spew on, they aren't in the business of providing APIs (or whatever), they are in the business of making money. Anything else is subject to change.

    Their responsibility is more towards their shareholders, not so much towards their users. So, if they think one of their products -- be that APIs, ajax apps or whatever are providing diminishing returns for some reason, they'll axe it unless it is popular enough so that too many users feel ripped off. APIs aren't in the category at all.

    Also, the bigger they get, the more expensive the stock becomes, and the more their ownership sreads, the more clout the bean counters have over any other management ideology.

    So, if one relies exclusively to Google for anything, better check your contract with Google carefully and assess all risks (including risk from expensive litigation) first.
  • by dgm3574 (153548) on Tuesday December 19 2006, @11:37PM (#17309228) Homepage

    Say it ain't so!

    It would be interesting to know how many active API users there were, and at what rate new ones were signing up, if at all. It may well be that continuing to support that API wasn't considered a useful (read: profitable) part of their business.

    Google is a publicly held corporation now. They have a responsibility to their shareholders to make decisions based on sound business practices. For a software company that means sending products into the end-of-life bin periodically.

    In a fabulous dose of irony, I found that on Google's AJAX Search API page [google.com], their own embedded search example is showing a blog posting titled "Google quietly backrooms SOAP API for AJAX".

    Screenshot here [davidmays.com] (Yeah, I'm using IE7, wannafightaboutit?)

  • That's unfortunate (Score:5, Interesting)

    by pjdepasq (214609) on Tuesday December 19 2006, @11:48PM (#17309268)
    I loved using the Google API as the basis of one of my data structures programming assignments. It's a great way to have my student tackle the use of another party's API, as well as a useful way to grab a ton of data and play with it (say in a binary search tree or hash table). Now I need to find something else that will let us do the same, or come up with something else.
  • And the replacement (Score:3, Informative)

    by brajesh (847246) <brajesh.sachanNO@SPAMgmail.com> on Tuesday December 19 2006, @11:57PM (#17309320) Homepage
    The recommended replacement AJAX api [google.com] not only has limited applications, but also it promises [google.com] to show google ads beside the results.

    Not that Google Search API has ever been very stable - it probably works only 80% of the time. Now even the support has been dropped and usage samples along with FAQ have been removed for SOAP api.
  • by SeaFox (739806) on Wednesday December 20 2006, @12:02AM (#17309340)
    • Does Google own any patent/copyright on SOAP? If Google is dropping SOAP I don't want to get fucked if I pick it up.

    • No! Please don't let us run out of SOAP, Google! I feel so dirty using Microsoft's rival technology!

    • This is quite a slippery situation. I hope Google will come clean on my they are depreciating the APIs.

    • My reaction to this required me to use some SOAP - on my clothes.

    • When the developers heard this we had to get some SOAP - for their mouths.

    • I guess the "do no evil" bubble has finally burst...

    • There must be a better solution that will allow the technology to continue while satisfying Google's business reasons. No reason to throw out the baby with the bath water...

    • Why does Google have to play dirty like this?

    • This doesn't smell like an Irish Spring to me!

    • Hopefully they will introduce something even better for us to use, then the whole issue will be a wash.
  • No SOAP, Radio (Score:5, Interesting)

    by Doc Ruby (173196) on Wednesday December 20 2006, @01:19AM (#17309618) Homepage Journal
    How could this deprecation of a SOAP API mark the end of "ubiquitous middleware" (as if that even existed) when deprecation means an API change, not a feature shutdown ?

    Google is replacing SOAP with an AJAX API. Maybe it is a blow to SOAP - which is long overdue for the 1990s graveyard. But how could that be bad for open-access middleware when there's a new, better API?
  • by feste12 (265406) on Wednesday December 20 2006, @02:26AM (#17309882) Homepage
    There's already a drop-in replacement [evilapi.com] for applications that are using Google's SOAP API. It scrapes Google's web results and returns them via a SOAP layer. The code behind it is free under the MIT License.
  • Good riddance. (Score:4, Informative)

    by arcade (16638) on Wednesday December 20 2006, @03:37AM (#17310166) Homepage
    Seriously. Good riddance. SOAP is a mess. Google has gone the XMLRPC way, and they're providing access via that.

    This isn't google being evil. This is google removing a piece of completely unnecessary junk from their offerings. SOAP should never have seen the light of day, and google is now making sure that they do their part of burying it.
  • by MancDiceman (776332) on Wednesday December 20 2006, @04:23AM (#17310322)
    Correct me if I'm wrong, but the SOAP search results didn't come back with ads embedded in them. The AJAX API tools are capable of putting ad content in their results, as can the maps API because Google is controlling the display elements.

    Given that Google want to run their business off the back of ad revenues, it should come as no surprise they're getting rid of services that don't allow them to sell lots and lots of ads. I also imagine that the cost of providing the SOAP interface was higher than any subscription fees would have brought in due to a small market. What's more, it would directly help their competitors pull in results from Google and run their own ads alongside it. The API was neat, but from a business perspective it was always an experiment at best.

    Personally, I'd rather they brought something RESTful like Yahoo's interface or xml-rpc to the table, and charged us all a couple of cents per 100 queries, but that isn't going to happen any time soon.
    • by MeanMF (631837) on Tuesday December 19 2006, @10:32PM (#17308828) Homepage
      Spoken like a true Slashdotter... :)
    • Re:WTF is SOAP? (Score:5, Informative)

      by omeomi (675045) on Tuesday December 19 2006, @11:53PM (#17309302) Homepage
      SOAP (originally Simple Object Access Protocol) is a protocol for exchanging XML-based messages over computer network, normally using HTTP. SOAP forms the foundation layer of the Web services stack, providing a basic messaging framework that more abstract layers can build on. The original acronym was dropped with Version 1.2 of the standard, which became a W3C Recommendation on June 24, 2003, as it was considered to be misleading. - Wikipedia.org [wikipedia.org]