For Mary Dooley B 1887 (exact), somewhere in Ireland, with a father forenamed James, I found 3 rcds: Laois, Tipperary, and Kilkenny.
For James Dooley M 1880 +/- 7 yrs, somewhere in Ireland, I found 38 rcds - too many to easily summarize here. One (likely more) will show the bride's name was Annie.
For James Dooley B 1848 +/- 2 yrs, ditto, with the father's forename unknown, I found 32 rcds - again too many.
For Joseph Dooley B 1876 +/- 1 yr, ditto, I found 8 rcds: 2-1875 Longford, 2-1877 Kilkenny, 2-1877 Laois, and 2-1877 Galway. By the way, brother Joseph was born LONG after James; are you sure of your dates/relationships?