what if Darwin's theory of evolution was rejected by the general scientific community?
Actually it was rejected for a while.
Evolution was widely accepted even before Darwin, and there were other evolutionary theories floating around at the same time, just not by natural selection (except Wallace).
Darwin's contribution was three fold: (1) presenting a huge amount of evidence for evolution, and (2) proposing natural selection as the mechanism, (3) getting a lot of public attention on the issues.
So Darwin comes along, makes a huge impact.
But then there's a big problem, and the problem actually grows for the next few decades: The problem was for a time, they didn't really understand genetics - it was thought genetics was more like mixing buckets of paint from both parents (Darwin himself even had some weird theory of genetics), so the offspring would tend to be an average, which would act as a brake on evolution by natural selection.
So people start looking for other driving forces for evolution - like some kind of external pre-existing racial tendency that lasts over generations, or some kind of species level selection, or variants of Lamark's ideas, and so on. And natural selection is only one of several competing theories of evolution. See http://en.wikipedia.org/wiki/The_eclipse_of_Darwinism
You still hear echoes of these kind of rejected theories from time to time in old books, and conversation. For example, the Irish Elk (with its gigantic antlers) or dinosaurs, were thought to have evolved into some kind of racial senility which eventually caused them to become extinct -- this is untrue in fact, and contrary to the predictions of natural selection, but the idea still floats around in various books and popular thought.,
Anyway, Mendelian genetics (dominant and recessive genes all that stuff) was rediscovered in the early 20th century, but it was unclear if that was enough to overcome the bucket mixing problem.
Eventually Darwin+Mendel wins out, during the period from about 1936-1947, and that's where we get the basic modern theory of evolution, known as the "new synthesis" - See http://en.wikipedia.org/wiki/Modern_evolutionary_synthesis
And that's basically where we are now, evolution + natural selection. But we've also discovered other drivers to evolution than just natural selection, for example, genetic drift, gene flow from one species to another by viruses, and so on - some of these ideas would have been alien to Darwin - and there's still a lot of debate about these kind of issues.