Sample code for contacts web service assignment