split up client code
move to_xml into Soap::Object