Dan,
I had a similar question on the "dev" list. There is a reflection
library that can be used to look up the type mappings (among other things)
http://jaxb2-reflection.dev.java.net/
-- Mark
Dan Diephouse wrote:
> Hiya JAXBers,
> Writing a little tool to do some artifact generation from WSDL. One
> problem I'm having is how to relate the QName of the type in the WSDL
> back to the JAXB class that I generated. Ideally I'd be able to do
> something like:
>
> Class type = jaxbContext.find(new QName("http://some/ns","localName"));
>
> Is this possible with JAXB at all? Cheers,
>
> - Dan
>