(un)wrapping for soap documents