Brad Fitzpatrick (bradfitz) wrote in lj_dev,
Brad Fitzpatrick
bradfitz
lj_dev

SOAP interface

I've always been interested in SOAP and XML-RPC. Does anybody want to write a SOAP wrapper around LiveJournal's protocol handler?

Great SOAP tutorial here.
LiveJournal's protocol handler here.

It should be pretty straight-forward, but since XML-RPC already escapes return values, and since the LJ protocol handler does already (URL escaping things that could be multi-line... like the "event" in "getevents"), then the wrapper would have to unescape the LiveJournal encoding first, then let SOAP::Lite re-encode it.

While you worked on this, you could make it work first proxying the requests to log.cgi.

This would be cool to have because I read somewhere that Mozilla has a JavaScript object that allows transparent access to SOAP .... so you could make a XUL application that accessed LiveJounal resources as if they were in the scope of the document.

That'd be neat.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 7 comments