Epistle of James
The author takes for granted Jesus' saving work, but is especially interested in Christians' moral life. So, there is no real contradiction between Paul's and James' teachings, for Paul was speaking of the impossibility of earning salvation by one's own efforts, not of the works of charity and justice to which the Christians are called.