Yes, I'm having the same issue. Using the sample code and replacing the map service with my own, then changing the fields called. The map appears, but any query I make, even with the absolute correct value come up nil. I'll keep on this until I get a solution