You weren't dismissed because of your same sex attraction. As the spokesman for Archbishop Myers said:

“Every Catholic priest promises to be reverent and obedient to his bishop. A priest’s actions and statements always must be consistent with the discipline, norms and teachings of the Catholic Church. When they are ordained, priests agree to accept the bishop’s judgment about assignments and involvement in ministry.”

You claim to have taught anything contrary to the Church, yet recently stated this:

"I’m a gay man. If I wasn’t a priest and I met somebody for me who was a soul mate, who I enjoyed being with, who had all the things somebody who is marrying looks for in a relationship, I’d want to be married. I’d want to have the ability to marry that person. I’m a priest, so I took a vow of celibacy. But how could I, with integrity, be against gay marriage if it’s something, probably in a different circumstance, I would want for myself."

Enough said, I think.