[jboss-user] [JBoss Web Services] - wsconsume generates JAXBelement<String> instead of just String for xs:string

Jim Ma do-not-reply at jboss.com
Thu May 13 22:37:41 EDT 2010


Jim Ma [http://community.jboss.org/people/jim.ma] replied to the discussion

"wsconsume generates JAXBelement<String> instead of just String for xs:string"

To view the discussion, visit: http://community.jboss.org/message/542986#542986

--------------------------------------------------------------
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
[http://community.jboss.org/message/542986#542986]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100513/a183bf73/attachment-0001.html 


More information about the jboss-user mailing list