crated soap xml encoder, condensed functions some more