I remember that I too have faced the same problem once. When I changed thatelement in XSD with minoccurs=1, it generated String type correctly insteadof JAXBElement.
Thanks,Durgavelidandas wrote:> > I am getting the String parameter types being set as JAXBElement type.> > How to send String type parameter types here.
本文讨论了在XSD中定义元素时遇到的问题,特别是当minOccurs设置为1时,生成的Java类中该元素被错误地表示为JAXBElement而非String类型。文章探讨了解决这一问题的方法。

2188

被折叠的 条评论
为什么被折叠?



