abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woody Anderson" <wo...@xoopit.com>
Subject introspection document with a sixapart website
Date Thu, 25 Oct 2007 04:39:06 GMT
i'm having trouble getting introspection working with typepad.com
i suspect this is not likely to be an abdera problem, but was
wondering if anyone had done this yet.

i'm connecting like so:

        WSSEAuthScheme.register( _client, true );
        client.addCredentials( null,
                                null,
                                null,
                                new UsernamePasswordCredentials( getUsername(),

getPassword() ) );
        client.usePreemptiveAuthentication( true );

        // do the introspection step
        ClientResponse response = _client.get( getUri(), _options );

based upon this page:
http://www.sixapart.com/pronet/breese/atom/protocol/retrieving_a_list_of_weblogs.html

i first went to: http://www.typepad.com/t/atom/weblog
which doesn't work (no blog id)

then: http://www.typepad.com/t/atom/weblog/blog_id=123456789

the x-wsse header works etc.
but the document i get back from the server contains all the content
on the page.

it doesn't look particularly "introspective"

this call has no chance of working:

            org.apache.abdera.model.Document<Service> serviceDoc =
response.getDocument();
            _workspace = serviceDoc.getRoot().getWorkspace(
DEFAULT_WORKSPACE_NAME );

the closest info i can find is a link entry:

<link xmlns="http://purl.org/atom/ns#" rel="service.post"
href="http://www.typepad.com/t/atom/weblog/blog_id=123456789"
title="..." type="application/atom+xml"/>

which is the "introspection link"... but now they list it as the "post" link?

anyone gone through this already?
-w

Mime
View raw message