Data at the root level is invalid – Exception
-
I am trying to get recent posts using metaWeblog.getRecentPosts, It’s returning the XML Exception:
XmlRpcIllFormedXmlException: Response from server does not contain valid XML.
Here is the stack Trace:
CookComputing.XmlRpc.XmlRpcSerializer.DeserializeResponse(Stream stm, Type svcType) +652
CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest req, WebResponse webResp, Stream respStm, Type returnType) +190
CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object clientObj, MethodInfo mi, Object[] parameters) +1652Thanks.
The blog I need help with is: (visible only to logged in users)
-
I tagged this thread for Staff assistance with your xml-rpc remote publishing issue. It may or may not be related to the implementation of https:// Please subscribe to it so you are notified when they respond. To subscribe look in the sidebar of this thread, find the subscribe to topics link and click it.
-
Thank you for pointing me in the right direction. But I don’t see “subscribe to topics” link in the side bar.
-
Hi @lguiting,
What endpoint are you using for the request? Also, what site are you trying to retrieve data from?
The subscribe link for this forum post can be found here:
-
Hi,
I am trying to retrieve posts “from http://mdcfan.wordpress.com/xmlrpc.php “
with thw XMl RPC method
Post[] getRecentPosts(
string blogid,
string username,
string password,
int numberOfPosts);Thank you for the link. Look like it was already subscribed.
-
I have the same problem:
CookComputing.XmlRpc.XmlRpcIllFormedXmlException: Response from server does not contain valid XML
System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1https://rtttest.wordpress.com/xmlrpc.php
and methods:[XmlRpcMethod("metaWeblog.newPost")] string NewPage(int blogId, string strUserName, string strPassword, object content, bool publish); -
Thanks for the report! We’re currently looking into this. I’ll get back to you as soon as I have more information!
-
-
-
- The topic ‘Data at the root level is invalid – Exception’ is closed to new replies.