It turns out it is not the code but the server. I have tried the exact same code against a service running on another server and it works perfectly. So, does anyone have any ideas what might be causing an issue with the server? I know this isn't that type of forum but some of you may have run into this problem before.