KANSAS CITY, Mo. — A bill that would have allowed individuals to refuse to provide business services to same-sex couples in Kansas because of religious beliefs met a surprising and quick end last week when conservative senators sided with liberal advocates in saying that the measure promoted discrimination.

The bill had passed the House, 72 to 49, last Wednesday and it appeared that it might also easily sail through the Senate. Both chambers are controlled by conservative Republicans who in recent years have passed some of the most conservative legislation in the country, whether on gun control, abortion rights or taxes.

Susan Wagle, a conservative Republican who is president of the Kansas Senate, raised opposition to the House measure, saying she had “grown concerned about the practical impact of the bill” and “my members don’t condone discrimination.”

Ms. Wagle was backed by Senator Jeff King, the chairman of the Judiciary Committee, who said he would not hold hearings on the House bill. Instead, Mr. King said, his committee would hold hearings on the broader topic of religious freedom in Kansas and explore whether the Legislature needed to take any further steps to shore up those protections.