A colleague of mine Fabio Filardi has published his work on Github. It has two samples for the Expense services and UserSession services. He has documented it really well. Get onto it if you are going to expose your web services as RESTful. It does save you a lot of time.
Documentation under wiki
Here are some additional...
Continued on Source: Dynamics NAVAX: Expose AX 2012 AIF services (SOAP) as RESTful web services