There is one badly transcribed record for Wisbeach which might fit a Cambridgeshire connection.
There is an Ann Long on the same census page as James prior to estimated marriage date but no record of an Ann Long marriage prior to birth of first child listed on census.