atom feed12 messages in net.java.dev.metro.usersRe: getter & setters wsimport
FromSent OnAttachments
Felipe GaúchoAug 17, 2008 3:21 am 
Glen MazzaAug 17, 2008 3:03 pm 
Martin GrebacAug 18, 2008 2:11 am 
Felipe GaúchoAug 18, 2008 2:15 am 
Martin GrebacAug 18, 2008 2:37 am 
Felipe GaúchoAug 18, 2008 2:41 am 
Martin GrebacAug 18, 2008 2:51 am 
Lukas JungmannAug 18, 2008 3:43 am 
Felipe GaúchoAug 18, 2008 3:54 am 
Lukas JungmannAug 18, 2008 4:00 am 
Martin GrebacAug 18, 2008 4:35 am 
Felipe GaúchoAug 18, 2008 4:40 am 
Subject:Re: getter & setters wsimport
From:Glen Mazza (glen@gmail.com)
Date:Aug 17, 2008 3:03:59 pm
List:net.java.dev.metro.users

Hmmm...I think that is done by JAXB, not wsimport, and that rule is part is the JAXB standard: http://www.nabble.com/Re%3A-not-calling-collection-setters-on-unmarshalling-p18354286.html

The below apparently can do this for you, but how to activate it from wsimport? I don't know. https://jaxb2-commons.dev.java.net/collection-setter-injector/

Glen

Felipe Gaucho wrote:

WSIMPORT generates read-only Collections attributes ... but some frameworks based on reflection requires the setter method to be present.

question: is there a way to force wsimport to create the setter method ?

any other workaround ?