Depends on the wall. If it has a duration (even permanent) then you could dispel it with dispel magic unless the specific wall says you can't.
But for walls such as wall of stone with a duration of instantaneous then you can't.
Stone, iron, and the like are supposed to be real physical objects that (once created/summoned/whatever) are completely nonmagical as opposed to being continuing magical effects of some sort.