Endpoints in AspNetCore.XmlRpc Explained

23 views 0 comments posted at about 2 months ago Raymond

xml-rpc

There are four endpoints exposed by the middleware: summary, RSD, manifest for blog capability and RPC call main endpoint.

Summary endpoint

Summary endpoint provides the information about what XML-RPC methods are implemented. One sample page looks like below:

image

RSD Endpoint

RSD endpoint exposes the available APIs that can be invoked.

<?xml version="1.0" encoding="UTF-8"?>
<rsd xmlns="http://schemas.microsoft.com/wlw/manifest/weblog" version="1.0">
<service>
<engineName>AspNetCore.XmlRpc</engineName>
<homePageLink>http://kontext.tech/Blog/MyBlog</homePageLink>
<apis>
<api blogID="MyBlog" apiLink=http://mywebsite.com/api/xmlrpc/endpoint/MyBlog preferred="true" name="MetaWeblog"/>
</apis>
</service>
</rsd>

Manifest Endpoint

Manifest endpoint provides information about the available Blog capabilities, which will be utilized client tools.

<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns="http://schemas.microsoft.com/wlw/manifest/weblog">
<options>
<clientType>Metaweblog</clientType>
<supportsExcerpt>Yes</supportsExcerpt>
<supportsNewCategories>Yes</supportsNewCategories>
<supportsNewCategoriesInline>Yes</supportsNewCategoriesInline>
<supportsPostAsDraft>Yes</supportsPostAsDraft>
<supportsFileUpload>Yes</supportsFileUpload>
<supportsKeywords>Yes</supportsKeywords>
<supportsSlug>Yes</supportsSlug>
</options>
</manifest>

Refer to the following link for the complete list of capabilities.

https://msdn.microsoft.com/en-us/library/bb463260.aspx

Main endpoint

Http post calls will be directed to this endpoint and it is the place that all the RPC requests are parsed, executed and responded.

Add comment

Comments (0)

No comments yet.
In this Page