It is possible that Blogger API is broken in 2.0.
Can you use MetaWeblog API instead?
What client are you trying to use?
- Dave
On Feb 23, 2006, at 2:52 AM, Peter Johansson wrote:
Hi,
I'm runnig Roller 2.0, MySQL 4.1 and Tomcat 5.0 on a Windows 2003
Server.
The Roller installation was no problem and Roller is up and running.
I'm trying to post messages to a blog from my custom application using
xmlrpc and the Blogger API.
The response message is org.apache.xmlrpc.XmlRpcException: You have
not
enabled Blogger API support for your weblog. The faultCode is 1000.
I've verified in the database that the flag for using Blogger API
is set.
The roller.log has the following information:
INFO 2006-02-22 15:57:21,993 BloggerAPIHandler:newPost - newPost()
Called
===========[ SUPPORTED ]=====
INFO 2006-02-22 15:57:22,003 BloggerAPIHandler:newPost -
Appkey: 10
INFO 2006-02-22 15:57:22,003 BloggerAPIHandler:newPost -
BlogId: 1
INFO 2006-02-22 15:57:22,003 BloggerAPIHandler:newPost - UserId:
myblog
INFO 2006-02-22 15:57:22,003 BloggerAPIHandler:newPost -
Publish: true
INFO 2006-02-22 15:57:22,003 BloggerAPIHandler:newPost - Content:
This is a blog post!!!
ERROR 2006-02-22 15:57:22,093 BaseAPIHandler:validate - ERROR
internal error
validating user
java.lang.NullPointerException
at
org.roller.presentation.xmlrpc.BaseAPIHandler.validate
(BaseAPIHandler.java:96)
at
org.roller.presentation.xmlrpc.BloggerAPIHandler.newPost
(BloggerAPIHandler.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.xmlrpc.Invoker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source)
at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source)
at
org.roller.presentation.xmlrpc.RollerXMLRPCServlet.service
(RollerXMLRPCServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
What have i missed? Any ideas?
Cheers,
Peter
--
View this message in context: http://www.nabble.com/Blogger-API-
support-not-enabled-t1173884c12275.html#a3085223
Sent from the Roller - User forum at Nabble.com.