Guidelines for developers working on the webservices

The webservices should be very basic, and contain minimum business-logic. Security must be prioritized, and all requests must be authenticated.

There are a build-in method to authenticate users, which must be used primarily. Custom made methods should be avoided, for maintainability.

 // We check if services are enabled and user has access
umbraco.webservices.authentication.StandartRequestCheck(username, password, authentication.EService.MaintenanceService);

Remember, this project is to let developers have a basic webservice-API, they know all future umbraco-installations will have. Changes and additions should be well-considered.

Last edited May 2, 2007 at 1:37 PM by duckie, version 2

Comments

darryn0smith Nov 6, 2012 at 9:01 AM 
I agree with you Mike..Nice Post Duckie - i too have searched far and wide for this..
However, let me start off by saying that I'm new to the Umbraco CMS and the associated web services..
I have to access an existing web service created on the Umbraco CMS from a HTML5 web application that I'm busy creating .. How would I go about referencing my HTML page to the web service ?

mikew909 Oct 27, 2009 at 2:45 AM 
Looks real interesting.. i've searched far and wide for a way to add media via a webservice. Is this used to say return a User object/context for which I can pass into the Media.MakeNew and Document create methods. At the moment I can authenticate via soapClient but this limits me only to Document creation, Media creation requires a User object.