fixed problem with adding an endpoint to a VM (role)

changed the order in which the input endpoint child xml tags are
ordered, apparently the order matters.