The affliction of verse thirteen is a mental, spiritual, or emotional affliction. The responsibility of the afflicted person is to pray. But the responsibility of the person who is sick physically is to call for the elders of the church.
"I was sick and none of the elders came to pray for me," you say.
Did you call for them?
James says it is the responsibility, the privilege, the opportunity, the command, for the sick person to humble himself and to call for the elders. Notice the word "elders" is plural. When the sick are being prayed for, it is always to be by a group of men corporately rather than one man individually. Why? There are few things more potentially dangerous than for a person to be used in the ministry of healing because what begins as a simple desire to be used by the Lord can so easily end up in book-signings and a speaking tour. To keep this tendency in check, James says when someone is sick, a group of men is to pray so that no one man will get the credit.
What does it mean to anoint with oil? In Scripture, we see oil used symbolically, when, as an illustration of the anointing of the Holy Spirit, prophets, priests, and kings were anointed with oil before they assumed their positions of authority. We also see oil used medicinally, as in the story of the Good Samaritan who put oil on the wounds of the man left for dead (Luk 10:34).
I suggest that the anointing of oil spoken of by James refers to both the symbolic and the medicinal realms. It speaks of a person saying, "I'm looking to the Lord for healing. I'm submitted to His will being done in my life; I believe in His power and presenceand I'm going to use His gift of medicine as well." There are two streams of healing: prayer and medicine. But it's the same God who works through both streams. Medicine does not heal. Prayer does not heal. God heals.