make post_xmldata_to_server static too