From: Dennis S. <dm...@so...> - 2007-03-27 22:31:14
|
Hi Alex, At present there's no support for automatically enforcing collection size with JiBX unmarshalling. You can do this manually if you want, by using an add-method and checking the size each time the method is called. - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Grivnin, Alexander wrote: > Hello, > > We are trying to restrict collection sizes for the incoming messages. > Using maxOccurs=1000 does not have any effect. > Is there any other way to restrict collection size? > > Thanks, > Alex > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > jibx-users mailing list > jib...@li... > https://lists.sourceforge.net/lists/listinfo/jibx-users > > |