Thursday, 29 July 2004
blojsom and AtomME
« PaceAtomActionHeader | Main | blojsom Quickstart available ... Download. Deploy. Running. »
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:
Anyhoo...
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.
Anyhoo...
Posted by at 10:37 AM in Atom
[Trackback URL for this entry]
