lists the marriage of James Husban (without the 'd') to Elizabeth Gibney on 10 January 1884 in Oldcastle, Co Meath. He was a soldier, aged 40, son of James Husban, painter. She was 33, daughter of Richard Gibney, labourer.
They had sons John, born 26 September 1885; Richard, born 1 September 1890; Peter, born 27 June 1894.
The family is in the 1901 census of Ireland at http://www.census.nationalarchives.ie
James Husband, 60, army pensioner and agricultural labourer; wife Elizabeth Husband, 50; son John Husband, 14; son Richard Husband, 11; son Peter Husband, 7, all born in County Meath.
In 1911 they are still there, in Baltrasna, Killeagh, Co Meath; James, 84; Elizabeth, 65; John, 18; Richard, 16; John, 14, all born Co Meath. Obviously the ages in the census are wrong but the rest looks OK.
James died on 17 January and and Elizabeth on 22 December the same year, 1919.
You can and should look at all these images online to confirm the information and extract any additional details from the certificates and census.
You will need to get hold of his Army records to find out where he enlisted and where he served in order to get some idea of whether he could have married in Scotland. Someone else on RootsChat may be able to find them for you - I don't have the necessary subscriptions.
There are half a dozen marriages of James Husbands on Scotland's People (SP) at www.scotlandspeople.gov.uk
. You can check the names of the parents of all these James Husbands at SP, and you can look for death certificates which, unlike the Irish ones, will tell you the names of their parents, so you may be able to eliminate some of them. The marriage certificates should also tell you their occupations.