Thursday, 29 July 2004

blojsom and AtomME

Russell posted an example application to post from a java mobile phone via the Atom API. Tested this out with blojsom. Works like a champ with one minor change. Line 193 from AtomME.java needs to change from:
wsse.append("Nonce=\"" + nonce + "\" ");
to:
wsse.append("Nonce=\"" + Base64.encode(nonce.getBytes()) + "\" ");
Although the raw nonce is used to calculate the PasswordDigest, the value in the header needs to be Base 64 encoded. I just used the Base64 class we had in Sandler as a quick and dirty.

Testing AtomME

Anyhoo...
Posted by david at 10:37 AM in Atom
« First  « Prev   1 2 3 4 5   Next »  Last »
« July »
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031