What you want is xsi:type. I have no idea how to make JAXB send it, but the Aegis data binding uses it consistently. Perhaps one of my fellow travellers can tell how to do it with JAXB.
A quick google seems to suggest that @XmlTypeAdapter might be needed.
