IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
This article provides information on working with Web Services.
As covered in the previous topic - For developers: RESTful WCF services in Sitefinity - Sitefinity CMS exposes WCF RESTful Services for every content type and functionality in the system. These services are very developer friendly - when they are requested in a certain way through a web browser, they will provide detailed description of every method they expose, together with request format and an example.
Therefore, we will describe how a web service can be called so it can display the needed help information, together with the list of services and information on what they should be used for.
Requesting Web Service Information
In order to get list of all methods that a service exposes, use a web browser that supports XML response, such as IE or Firefox, and open the following address of a web service:
http://yourserver/<yourproject>/sitefinity/Services/<ServiceDirectory>/<ServiceName>.svc/help
Let's consider that you have requested a web service with the /help in the end. Here is what you should see:
NOTE: Note that the request ends up with /help - if you do not place it there, you will not receive any web service information. You have to be authenticated to see this information though.
For the purpose of the example, we have requested the FlatTaxon service.There is a table with help information for every web method that this service exposes. In our case, we will see how to read the help information for the GetTaxa method:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important