Thanks for the reply--I did actually end up figuring out the problem by comparing it to the sample project. In case anyone else is having this problem, there needs to be a 0 at the end of the url (or potentially a different number I guess depending on the layer).