Hi Morgan,
Glad you got through this okay. Instead of using the factory method, you
can probably use the new (as of 1.1) create-type attribute on the
collection (see
http://jibx.sourceforge.net/details/binding-attributes.html#object).
- Dennis
Dennis M. Sosnoski
SOA, Web Services, and XML
Dennis Sosnoski dms at sosnoski.com writes:
Hi Sandeep,
Is the exception occurring during marshalling or unmarshalling? Also, I
don't understand how you can get a ClassCastException with no further
stack trace information - can you show exactly what you're getting? Thanks,
-
Hi All,
Jibx binding compiler compiles fine with the following binding class
declaration:
mapping name=AsClient class=com.adminserver.dcl.ClientDcl
ordered=false
collection field=roles type=java.util.HashSet
item-type=com.adminserver.dcl.RoleDcl name=PolicyRoles
usage=optional/