James does not appear in Dahl's book. The five children are:
You may be confusing it with James and the Giant Peach (also by Dahl) or another story.