removing unwanted axis2 code segments