upload template to docmosis and server