Can give you no help with William, but am searching for a Cowdeary myself. Mine is Ann, b about 1806, possibly Devon or Cornwall, married Benjamin Morris (in the Royal Artillery) around 1829. The spelling was definitely Cowdeary, some of their children including the ledest, Benjamin, had it as a second given name. I'd be pleased to hear if you have anything relevant - and will reciprocate.
Pamela