I used C# and WCF, but I could have just as easily used an ASMX web service. This code is fairly simple.
Coding Library: .NET C#