i have simple schema:\[code\]<?xml version="1.0" encoding="UTF-8"?><xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="error" type="xs:string"> </xs:element></xs:schema>\[/code\]i use Generate Java Code From Xml Schema using XmlBeans..so i have only one class:\[code\]@XmlRegistrypublic class ObjectFactory { private final static QName _Error_QNAME = new QName("", "error"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: error * */ public ObjectFactory() { } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ @XmlElementDecl(namespace = "", name = "error") public JAXBElement<String> createError(String value) { return new JAXBElement<String>(_Error_QNAME, String.class, null, value); }}\[/code\]i usually use this code to parse XML:\[code\] JAXBContext context = JAXBContext.newInstance(RootGenerateClass.class); Unmarshaller unmarshaller = context.createUnmarshaller(); RootGenerateClass response = (RootGenerateClass) unmarshaller.unmarshal(streamWrapper.getStream());\[/code\]what should I do in this case(i don't have any rootGenerateClass), I try this:\[code\]JAXBContext context = JAXBContext.newInstance(String.class);Unmarshaller unmarshaller = context.createUnmarshaller();String response = (String) unmarshaller.unmarshal(streamWrapper.getStream());\[/code\]of course it isn't work((