On AP and WAP spaces