I\' have simple question about JAXB. Here is the sample code:
//setter that has input JAXBElement
b.setBIC(JAXBElement value);
We can do below to create the JAXBElement object: Just for others who may have this issue, for the example given b.setBIC(JAXBElement value); Lets assume that your class is ClassB and the object is b.
b.setBIC(new JAXBElement(new QName(ClassB.class.getSimpleName()), ClassB.class, "StringToBeInitialized"));