tag:blogger.com,1999:blog-3575421168816814786.post4321019042509808546..comments2023-10-25T07:10:58.697-07:00Comments on Coder's Log: SOAP support dropped from libsoupzeenixhttp://www.blogger.com/profile/04142631863736897222noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3575421168816814786.post-56277629686196512562008-04-14T12:46:00.000-07:002008-04-14T12:46:00.000-07:00Thanks for the explanation Dan and I understand wh...Thanks for the explanation Dan and I understand why you decided to drop the API rather than deprecating it. However, I wouldn't rely on google search to see which projects are using a particular API of my library. To very least, an announcement on mailing-list would been a good idea, although it wouldn't have made any difference for me but i think Jorn is subscribed to it.zeenixhttps://www.blogger.com/profile/04142631863736897222noreply@blogger.comtag:blogger.com,1999:blog-3575421168816814786.post-58035234089412374852008-04-14T07:41:00.000-07:002008-04-14T07:41:00.000-07:00It's true that I didn't discuss/announce this anyw...It's true that I didn't discuss/announce this anywhere, but I did google around a lot (looking both for people talking about it, and using Google code search to try to find people actually using it), and I didn't find anything. (I guess google code search is not very reliable; it still doesn't turn up gupnp when searching for "soup_soap_message_new".)<BR/><BR/>Compare this to google code-searching for "soup_xmlrpc_message_new", which gets hits in several different projects despite the fact that the libsoup SOAP API had been around for 4 years and the XML-RPC API only 1.5 years. This seemed to back up my feeling that the existing<BR/>API was "only useful to a single application" (and even then, evolution-groupwise had a whole set of additional SOAP helper utilities built on top of libsoup's, because libsoup's were too<BR/>low-level).<BR/><BR/>As for deprecating it, there didn't seem to be any point, since AFAICT, it was only being used by evolution-groupwise, and as Olafur pointed out, if you really want the old code, you can just copy and paste it into your new app (and then make whatever customizations would actually make it more useful to you). And there isn't likely to be another ABI break any time soon, so "deprecate and then remove"<BR/>would basically have turned into "deprecate and then keep forever anyway". Whereas taking advantage of the 2.4 ABI break to get rid of the old SOAP API opens up the soup_soap_* namespace, leaving open the possibility of adding a better SOAP API in the future (if that's useful to libsoup's users).<BR/><BR/>(BTW, the other reason there wasn't much public discussion of libsoup 2.4 before it happened was because I assumed I wasn't actually going to finish it... :-) I'd been trying to find the time to do this stuff since GNOME 2.14, and it kept not happening.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3575421168816814786.post-90257446641915572992008-04-12T09:10:00.000-07:002008-04-12T09:10:00.000-07:00Thanks but i had already read that before writing ...Thanks but i had already read that before writing this blog entry, in fact thats where i came to know of this. I truely appreciate it that they put it in the docs but:<BR/><BR/>1. "only useful to a single application" part is not true at all (GUPnP relying on it and uwog's comment is enough proof against it) and I don't see any attempt of to finding out how many projects rely on it from the developers.<BR/><BR/>2. My main point was that the API should first have been deprecated and then removed.zeenixhttps://www.blogger.com/profile/04142631863736897222noreply@blogger.comtag:blogger.com,1999:blog-3575421168816814786.post-25990860291103686652008-04-12T06:16:00.000-07:002008-04-12T06:16:00.000-07:00This is from the porting guide:SOAPSOAP support ha...This is from the porting guide:<BR/>SOAP<BR/><BR/>SOAP support has been removed; the existing methods covered only a teeny tiny subset of SOAP, which was really only useful to a single application. (The code that was formerly in libsoup has been moved to that application.). If you were using this code, you can resurrect a libsoup-2.4-compatible version of it from revision 1016 of libsoup svn.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3575421168816814786.post-70278082249106740642008-04-12T05:00:00.000-07:002008-04-12T05:00:00.000-07:00I had exactly the same. I was using the libsoup SO...I had exactly the same. I was using the libsoup SOAP support in a yet unannounced project when it was suddenly dropped. To fix it, I wrote a very small SOAP client myself that could do the things I needed. It's just a bunch of headers (so no full blown library), but they are C++. Ping me if you want to have a look at them, then I'll release those. - uwogAnonymousnoreply@blogger.com