when i was compiling this xsd file i am getting beans customer,lineitem,purchaseorderdocument, purchaseorder. but my requirement is, I want to compile part of xsd file means need to generate only "customer" related beans no need to generate "lineItem" beans. Is there any way to compile part of xsd file. if it's there or not let me know. kindly help ASAP.