Well, it consists of about 50 classes, so I guess it&#39;s a little too much...<div><br></div><div>But to give you an idea:</div><div><br></div><div><div>public class EventVrijgaveType</div><div>    implements Serializable</div>
<div>{</div><div><br></div><div>    private final static long serialVersionUID = 12343L;</div><div>    @XmlElement(name = &quot;SourceSystem&quot;, required = true)</div><div>    protected String sourceSystem;</div><div>    @XmlElement(name = &quot;CreatedBy&quot;, required = true)</div>
<div>    protected String createdBy;</div><div>    @XmlElement(name = &quot;CreationDateTime&quot;, required = true, type = String.class)</div><div>    @XmlJavaTypeAdapter(Adapter1 .class)</div><div>    @XmlSchemaType(name = &quot;dateTime&quot;)</div>
<div>    protected Date creationDateTime;</div><div>    @XmlElement(name = &quot;ValidateParticipationEvent&quot;)</div><div>    protected CosValidateEventType validateParticipationEvent;</div><div>    @XmlElement(name = &quot;InitParticipationEvent&quot;)</div>
<div>    protected CosInitCloseEventType initParticipationEvent;</div><div>    @XmlElement(name = &quot;CloseParticipationEvent&quot;)</div><div>    protected CosInitCloseEventType closeParticipationEvent;</div><div>    @XmlElement(name = &quot;PlanOrderEvent&quot;)</div>
<div>    protected CosPdcaEventType planOrderEvent;</div><div>    @XmlElement(name = &quot;DoOrderEvent&quot;)</div><div>    protected CosPdcaEventType doOrderEvent;</div><div>    @XmlElement(name = &quot;CheckOrderEvent&quot;)</div>
<div>    protected CosPdcaEventType checkOrderEvent;</div><div>    @XmlElement(name = &quot;ActOrderEvent&quot;)</div><div>    protected CosPdcaEventType actOrderEvent;</div><div><br></div><div>    getters and setters follow, e.g.</div>
<div><br></div><div><div>    public CosPdcaEventType getPlanOrderEvent() {</div><div>        return planOrderEvent;</div><div>    }</div><div><br></div><div>   public void setPlanOrderEvent(CosPdcaEventType value) {</div>
<div>        this.planOrderEvent = value;</div><div>    }</div><div><br></div><div> </div><div>    public CosPdcaEventType getDoOrderEvent() {</div><div>        return doOrderEvent;</div><div>    }</div><div><br></div><div>
 </div><div>    public void setDoOrderEvent(CosPdcaEventType value) {</div><div>        this.doOrderEvent = value;</div><div>    }</div><div><br></div><div>    public CosPdcaEventType getCheckOrderEvent() {</div><div>        return checkOrderEvent;</div>
<div>    }</div></div><div><br></div><div>--- next class ---</div><div><br></div><div><div>@XmlAccessorType(XmlAccessType.FIELD)</div><div>@XmlType(name = &quot;&quot;)</div><div>@XmlRootElement(name = &quot;EventVrijgave&quot;)</div>
<div>public class EventVrijgave</div><div>    extends EventVrijgaveType</div><div>    implements Serializable</div><div>{</div><div><br></div><div>    private final static long serialVersionUID = 12343L;</div><div>    @XmlAttribute(name = &quot;Version&quot;)</div>
<div>    protected String version;</div></div><div><br></div><div>    getter and setter follow</div><div><br></div><div>--- next class ---</div><div><br></div><div><div>@XmlAccessorType(XmlAccessType.FIELD)</div><div>@XmlType(name = &quot;CosPdcaEventType&quot;, propOrder = {</div>
<div>    &quot;bundleName&quot;,</div><div>    &quot;bundleVersion&quot;,</div><div>    &quot;bundlePort&quot;,</div><div>    &quot;bundleMessage&quot;,</div><div>    &quot;actId&quot;,</div><div>    &quot;stoppedTime&quot;,</div>
<div>    &quot;participationId&quot;,</div><div>    &quot;orderId&quot;,</div><div>    &quot;statusPlanVersionId&quot;,</div><div>    &quot;certificationObjectId&quot;,</div><div>    &quot;objectTypeCode&quot;,</div><div>
    &quot;animalSpeciesCode&quot;,</div><div>    &quot;vbn&quot;,</div><div>    &quot;statusPlanCode&quot;,</div><div>    &quot;version&quot;,</div><div>    &quot;productCode&quot;,</div><div>    &quot;statusCodeCurrent&quot;,</div>
<div>    &quot;statusCodeNew&quot;,</div><div>    &quot;actorType&quot;,</div><div>    &quot;actorRel&quot;</div><div>})</div><div><br></div><div>--- next class ---</div><div>public class CosPdcaEventType</div><div>    implements Serializable</div>
<div>{</div><div><br></div><div>    private final static long serialVersionUID = 12343L;</div><div>    @XmlElement(name = &quot;BundleName&quot;, required = true)</div><div>    protected String bundleName;</div><div>    @XmlElement(name = &quot;BundleVersion&quot;, required = true)</div>
<div>    protected String bundleVersion;</div><div>    @XmlElement(name = &quot;BundlePort&quot;, required = true, nillable = true)</div><div>    protected String bundlePort;</div><div>    @XmlElement(name = &quot;BundleMessage&quot;, required = true)</div>
<div>    protected String bundleMessage;</div><div>    @XmlElement(name = &quot;ActId&quot;)</div><div>    protected int actId;</div><div>    @XmlElement(name = &quot;StoppedTime&quot;, required = true, type = String.class)</div>
<div>    @XmlJavaTypeAdapter(Adapter1 .class)</div><div>    @XmlSchemaType(name = &quot;dateTime&quot;)</div><div>    protected Date stoppedTime;</div><div>    @XmlElement(name = &quot;ParticipationId&quot;)</div><div>    protected int participationId;</div>
<div>    @XmlElement(name = &quot;OrderId&quot;)</div><div>    protected int orderId;</div><div>    @XmlElement(name = &quot;StatusPlanVersionId&quot;)</div><div>    protected int statusPlanVersionId;</div><div>    @XmlElement(name = &quot;CertificationObjectId&quot;)</div>
<div>    protected int certificationObjectId;</div><div>    @XmlElement(name = &quot;ObjectTypeCode&quot;, required = true)</div><div>    protected String objectTypeCode;</div><div>    @XmlElement(name = &quot;AnimalSpeciesCode&quot;, required = true)</div>
<div>    protected String animalSpeciesCode;</div><div>    @XmlElement(name = &quot;VBN&quot;)</div><div>    protected int vbn;</div><div>    @XmlElement(name = &quot;StatusPlanCode&quot;, required = true)</div><div>    protected String statusPlanCode;</div>
<div>    @XmlElement(name = &quot;Version&quot;)</div><div>    protected int version;</div><div>    @XmlElement(name = &quot;ProductCode&quot;, required = true)</div><div>    protected String productCode;</div><div>    @XmlElement(name = &quot;StatusCodeCurrent&quot;, required = true)</div>
<div>    protected String statusCodeCurrent;</div><div>    @XmlElement(name = &quot;StatusCodeNew&quot;, required = true)</div><div>    protected String statusCodeNew;</div><div>    @XmlElement(name = &quot;ActorType&quot;, required = true)</div>
<div>    protected String actorType;</div><div>    @XmlElement(name = &quot;ActorRel&quot;, required = true, type = Integer.class, nillable = true)</div><div>    protected Integer actorRel;</div></div><div><br></div><div>
   getters and setters follow....</div><div><br></div><div>Hope you get the idea....</div><div><br></div><div>Mylène</div><br><div class="gmail_quote">2010/6/16 Esteban Aliverti <span dir="ltr">&lt;<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">could you post your model here?<br><br><div class="gmail_quote">2010/6/16 Mylene <span dir="ltr">&lt;<a href="mailto:mylenereiners@gmail.com" target="_blank">mylenereiners@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">

Hi,<div><br></div><div>I get errors after I import my (JAXB-generated) model in Guvnor.</div><div>The original schemas are rather complicated, and thus the generated model depends heavily on inheritance. Could that be the problem? </div>




<div><br></div><div>The message I get is: U<span style="font-family:tahoma, arial, helvetica, sans-serif;color:rgb(68, 68, 68)">nable to validate package configuration (eg, DSLs, models) for [my_package]. Suggestion completions may not operate correctly for graphical editors for this package.</span></div>




<div><br></div><div>I don&#39;t get any completions... (but I guess that is to be expected after this error)</div><div><br></div><div>I&#39;m using drools-5.0-guvnor-standalone, Java 1.6 and JAXB version 2.2.1</div><div>



<br></div><div>Can anyone point me in the right direction?</div><div><br></div>
<div>Thanks</div><div><br>-- <br>Mylene<br>
</div>
<br></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><div class="im"><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><font color="#888888"><br>Esteban Aliverti<br>
</font><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mylene<br>
</div>