The woman spent about four hours in a space 8 to 10 inches wide before rescuers managed to free her as television cameras filmed much of the effort.
Lt. Rich Chatman of the Portland fire department, wearing a blue helmet and harness, climbed into the hole cut by rescuers to help apply the soapy substance.
After the woman surfaced at 7:30 a.m., she raised her face, clenched her fists and shouted, "Oh, my God."
Rescuers had built a platform beneath the woman and had turned on a portable heater to keep her warm in temperatures just above freezing. The air bag was used to spread the walls.
"She was in good spirits," Chatman said. "We just tried to reassure her ... we weren't going home without her."
Firefighters said they hadn't gotten a clear explanation of the woman's predicament. Chatman said she had been seen smoking or walking on the roof of a two-story building before she fell.
Authorities didn't immediately name the woman.
(Copyright 2013 by The Associated Press. All Rights Reserved.)