cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carr <james.r.c...@gmail.com>
Subject JAXBElement<?> in generated java classes
Date Mon, 24 Oct 2011 18:59:43 GMT
Hi,

We've been using wsdl2java to generate our java classes for a
wsdl-first webservice called by salesforce and one annoyance is that
all the class members are of type JAXBElement<String>. Is there
someway to override this behavior and make them the generic type of
the JAXBElement? I'd like to use these as simple properties rather
than calling "getCity().getValue()" all the time. :)


Thanks,
James

Mime
View raw message