Community

wsconsume generates JAXBelement instead of just String for xs:string

reply from Jim Ma in JBoss Web Services - View the full discussion

Do you really need the  maxOccurs="unbounded" in the  <sequence  minOccurs="1" maxOccurs="unbounded"> ?   This attribute makes JAXB  generate the JAXBElement list .

 

If the maxOccurs="unbounded" is what you have to define, then you can try to create another type element for the begin and end  sequence to see if this will resolve your problem .

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community