How To Write Java XML Pinging (Technorati, blogs) In To Your Application.
Another very sought after and often Googled code block from my Fatima (JavaPress) project on Java.net is how to use Apache’s XML-RPC to ping update services for blogs, podcasting, email, ect. Many services like Technorati and BlogSpot use XML pinging, and many people get led astray by using Sun’s XML-RPC library which only uses SOAP.
You must use Apache’s XML-RPC. Why? Since SUN Microsystem’s API(s) insist on using SOAP as the transmission protocol but integrators wish to have XML sent instead, you have to use the xmlrpc-1.2 code from the Apache Foundation. Technorati and others don’t accept a SOAP envelope obviously.
So, here is a ping service for you. Just download Apache’s XML-RPC and call the class.
Do to formatting issues in Internet Explorer, I can no longer include the code in this post. You may download it from the Fatima project on Java.net directly or view it in JavaLobby.

December 2nd, 2005 at 10:48 am
Not to be picky, but whats with the Vector? :)
December 3rd, 2005 at 3:17 pm
First off, cool blog title, although I can’t tell if you or The Dillinger Escape Plan had it first.
Anyway, I have no clue looking at it why I used a Vector. I think I was expecting params to get a lot more play back then and for memory reasons used it, yet then I went and made it final.
I’ll just use the Perl excuse: It’s magic.
December 3rd, 2005 at 3:19 pm
Wait a minute, looking at it I think it’s Apache’s XML-RPC API that stipulates xmlrpc.execute() takes a Vector(), so blame them :-D
March 20th, 2006 at 5:32 am
Hi,
the link to the source code of PingIntegrator.java changed,
the new is:
https://fatima.dev.java.net/source/browse/fatima/src/net/thepostmodern/fatima/xml/Attic/PingIntegrator.java?rev=1.1&view=markup
Thorleif
July 3rd, 2006 at 10:59 am