So I'm trying to use the ClientAtomService hooked up to my Roller app feed and I get a null pointer exception in the Propono code when I try to do the following: ClientAtomService service = AtomClientFactory.getAtomService(endpoint, username, password);

Looking at my app feed I see the following, which is different from the example of Roller app feeds that I see on the web (the "app:" prefix on the nodes). Anyway, I don't see how that would cause the error - but any help would be brilliant!

(And thanks Dave for sorting out my app feed)

<?xml version="1.0" encoding="UTF-8"?>
<app:service xmlns:app="http://purl.org/atom/app#";>
 <app:workspace>
   <atom:title xmlns:atom="http://www.w3.org/2005/atom";>Test</atom:title>
<app:collection href="http://<server>:<port>/roller/roller-services/app/test/entries"> <atom:title xmlns:atom="http://www.w3.org/2005/atom";>Weblog Entries</atom:title> <app:categories app:fixed="yes" app:scheme="http://<server>:<port>/roller/edn/"> <atom:category xmlns:atom="http://www.w3.org/2005/atom"; atom:term="/Test" atom:label="Test" />
     </app:categories>
     <app:accept>entry</app:accept>
   </app:collection>
<app:collection href="http://http://<server>:<port>/roller/roller-services/app/test/resources"> <atom:title xmlns:atom="http://www.w3.org/2005/atom";>Media Files</atom:title>
     <app:accept />
   </app:collection>
 </app:workspace>
</app:service>

--
Ady Das-OToole

Reply via email to