Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Google Businesses The Internet

Google Deprecates SOAP API 240

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."
This discussion has been archived. No new comments can be posted.

Google Deprecates SOAP API

Comments Filter:
  • Re:Don't be evil! (Score:2, Interesting)

    by Anonymous Coward on Wednesday December 20, 2006 @12:05AM (#17309040)
    That could be what they're intending, but the larger lesson of OP's post still stands. Companies exist to make profits for their owners, and large publicly held companies are under massive pressure to show increasing revenues and profits on a quarter by quarter basis. Plus, the senior employees get greedy and self-satisfied. Microsoft was once regarded as a courageous little band of corporate misfits taking on the IBMs of the world. Sun's Java was once seen as the salvation of the software industry. Dell was once viewed with incredible admiration for its ability to execute. Et cetera. Sooner or later, all these big companies will disappoint you, even if (or maybe *especially* if) the founders stick around.
  • by dgm3574 ( 153548 ) on Wednesday December 20, 2006 @12:37AM (#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?)

  • by jsse ( 254124 ) on Wednesday December 20, 2006 @12:44AM (#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.
  • That's unfortunate (Score:5, Interesting)

    by pjdepasq ( 214609 ) on Wednesday December 20, 2006 @12:48AM (#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.
  • Google = Hypocritcal (Score:3, Interesting)

    by Luscious868 ( 679143 ) on Wednesday December 20, 2006 @01:03AM (#17309342)
    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 it's own content it suddenly has a problem. It makes perfect business sense from Google's point of view, but it exposes those who made the decision for the hypocrites that they are. If they pursue this policy I hope the lawsuits that have been filed against them for copyright infringement are successful and that Google is run into the ground.

  • by codepunk ( 167897 ) on Wednesday December 20, 2006 @01:27AM (#17309424)
    You sir could not be more correct... We have servers that process tens of thousands of xmlrpc transactions per day and could not be happier with it. SOAP is a absolutley over engineered, complicated pain in the ass spec to deal with. The couple of features it does have over xmlrpc do are not worth the complication of dealing wih it.
  • by dave562 ( 969951 ) on Wednesday December 20, 2006 @01:27AM (#17309426) Journal
    Companies don't want to make their data and services available to each other.

    That's not exactly true. In a lot of markets there is value to giving outside vendors access to your internal data. For example, one of my clients sells their product through Home Depot and Expo Design Centers. HD and Expo are constantly calling my client for status updates. By putting that information on the web my client saves a lot of time because their people aren't tied up answering calls for information that HD reps can now get online.

  • by theshowmecanuck ( 703852 ) on Wednesday December 20, 2006 @01: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.
  • Google != web (Score:3, Interesting)

    by suv4x4 ( 956391 ) on Wednesday December 20, 2006 @02:10AM (#17309582)
    Not many were the people that appreciated SOAP before "Google did it" (tm).

    After "Google did it" (tm), SOAP is suddenly a good thing. Now that they drop it, peple are discussing if it's again a bad thing. Google is not the whole of Internet though. People will use SOAP if it's better than other solutions for a given tasks.

    And if it isn't, then it was a fad all along.

    Same with "AJAX" by the way. JavaScript was out there for years before "Google did it" (tm) but there were not many people appreciating it. If Google drops JavaScript tomorrow, would this spell the end of AJAX?

    Same logic applies.
  • No SOAP, Radio (Score:5, Interesting)

    by Doc Ruby ( 173196 ) on Wednesday December 20, 2006 @02: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 killjoe ( 766577 ) on Wednesday December 20, 2006 @03:39AM (#17309954)
    "Thinking about the traditional and dirty way to do the same thing: write scripts to 'post' webpages and extract the return pages."

    That's so cute, "the traditional way". Soap is just another in the long line of technologies that attempt at RPC. SOAP is actually a way to make CORBA more palletable. CORBA was universally despised for it's complexity so SOAP was supposed to simplify it. The only way to make RPC simple is to neuter it so that's what they did. Alas there was a reason for all that complexity and as SOAP becomes more and more complex it starts to look like CORBA more and more except of course that every implementation is incompatible with every other one.
  • by joe_n_bloe ( 244407 ) on Wednesday December 20, 2006 @04:18AM (#17310102) Homepage
    Any serializing transport where, ultimately, figuring out what is going wrong - in normal use - involves using a packet sniffer to dump XML, is just broken. Nevermind that XML was never intended to be written by humans. Nevermind that the XML used in SOAP isn't intended to be human readable. It's just a layer of unnecessary crap that isn't even interoperable between different languages. Or, for that matter, different implementations on the same platform. "Web services" is a lovely addition that removes the last bit of comprehensibility and connection to reality while adding nothing except gaping security holes.

    JSON and the like are, on the other hand, reasonable, and also fairly easy on the eyes of us tired old programmers.
  • by cyclomedia ( 882859 ) on Wednesday December 20, 2006 @05: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 LizardKing ( 5245 ) on Wednesday December 20, 2006 @06:22AM (#17310596)

    What you're describing - an interface in a C like syntax - is exactly what CORBA IDL provides. While CORBA has its own set of problems, it is a far better solution than SOAP. SOAP is incredibly tedious to develop for, and difficult to optimise as it's predicated on XML parsing which is an inefficient format for what is essentially an RPC mechanism.

  • by Agelmar ( 205181 ) * on Wednesday December 20, 2006 @08: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?
  • by Anonymous Coward on Wednesday December 20, 2006 @10:48AM (#17312318)
    I find SOAP incredibly easy to develop for.

    I run wsdl.exe from the command line, build myself a proxy class. Then I just include that in my application and from then on I'm pretty much calling SOAP methods the same way I'd reference any other class.

    How can you say it's tedious?
  • by sottovoce ( 139898 ) on Wednesday December 20, 2006 @11:56AM (#17313302)

    I'm not overly depressed at the decision to get rid of the SOAP API. See: The S Stands for Simple [wanderingbarque.com].

    Maybe Google will follow in Yahoo!'s footsteps and implement a REST API now. Maybe.

  • by Anonymous Coward on Wednesday December 20, 2006 @12:32PM (#17313748)
    It's called "EvilAPI" and it's available at http://evilapi.com/ [evilapi.com] -- it re-implements the old SOAP API with page scraping.
  • by DragonWriter ( 970822 ) on Wednesday December 20, 2006 @02:18PM (#17315154)
    Presumably, because SOAP doesn't make them any money, where AJAX, with the TOS they have, will, by generating ad views.

    The SOAP API was always one of those things everyone should have known would either go away (if it wasn't successful in the right way to create a commercial market, maybe micropayment supported) or become non-free (if it was successful enough). With Google not too long ago announcing that they would be looking at the number of offerings they had, one had to expect that things like the SOAP service that had no tie to generating revenue would be at risk.

  • by Anonymous Coward on Wednesday December 20, 2006 @03:12PM (#17315870)
    The SOAP API is a real RPC API that can be called from Python, C++, or Java programs. The AJAX API is a bundle of obfuscated Javascript that can effectively only be used with Javascript interpreters running inside Web browsers. This is a big reduction in functionality.

It is not best to swap horses while crossing the river. -- Abraham Lincoln

Working...