CookComputing.XmlRpc.XmlRpcInvalidXmlRpcException: Response XML not valid XML-RPC – root element not methodResponse.
Opened this issue · 2 comments
vnlinkorg commented
I’ve tried to use GetPosts()
public List GetPosts(int PageNumber)
{
using (var client = CreateWordPressClient())
{
var result = client.GetPosts(new PostFilter { PostType = “post”, PostStatus = “publish”, Number = PageNumber }).OrderByDescending(a => a.Id).ToList();
return result;
}
}
and:
dgvwPost.DataSource = myWordPressAPI.GetPosts(NumberPostView);
Please help me!
GeHertz commented
Got the same problem, but not only with GetPosts(), i also got this exception when using GetUsers().
And this exception occurs only when another running thread using HttpWebRequest
Blackcat156 commented
I also encountered this problem, but this problem will happen only when the server starts up for the first time using XMLRPC.