dkulp wrote: > > > JAXB is definitely giving a useless error here. > > The problem is with: > > <complexType name="Include"> > <complexContent> > <restriction base="lbcm:FileData"> > </restriction> > </complexContent> > </complexType> > > That's not valid. FileData is defined as: > <simpleType name="FileData"> > <restriction base="xsd:base64Binary"> > </restriction> > </simpleType> > > You cannot have a complexContent that is a simpleType. If you change > that > to: > > <simpleType name="Include"> > <restriction base="lbcm:FileData"> > </restriction> > </simpleType> > > It would probably work. > > Dan > >
Great. That was it. Is there a chance wsdl2java could display a more helpful message such as the line number or element name that has the issue? At least not a NPE if possible. Thanks for your help. Tom -- View this message in context: http://www.nabble.com/NullPointerException-in-wsdl2java-on-2.2.2-and-2.2.3-SNAPSHOT-tp24499113p24500618.html Sent from the cxf-user mailing list archive at Nabble.com.
