[rules-users] Guvnor importing model error
Mylene
mylenereiners at gmail.com
Wed Jun 16 14:42:41 EDT 2010
Esteban,
Thanks a million...
FYI: Esteban advised me to use the last version of Guvnor (after trying to
upload my model) - and it works!!!
Mylène
2010/6/16 Esteban Aliverti <esteban.aliverti at gmail.com>
> Do you have the model in a .jar file? I just want to upload it to a guvnor
> and see the generated stacktrace. Maybe it is something specific to you
> model, or maybe it is a bug.
>
> Best,
>
>
> 2010/6/16 Mylene <mylenereiners at gmail.com>
>
>> Well, it consists of about 50 classes, so I guess it's a little too
>> much...
>>
>> But to give you an idea:
>>
>> public class EventVrijgaveType
>> implements Serializable
>> {
>>
>> private final static long serialVersionUID = 12343L;
>> @XmlElement(name = "SourceSystem", required = true)
>> protected String sourceSystem;
>> @XmlElement(name = "CreatedBy", required = true)
>> protected String createdBy;
>> @XmlElement(name = "CreationDateTime", required = true, type =
>> String.class)
>> @XmlJavaTypeAdapter(Adapter1 .class)
>> @XmlSchemaType(name = "dateTime")
>> protected Date creationDateTime;
>> @XmlElement(name = "ValidateParticipationEvent")
>> protected CosValidateEventType validateParticipationEvent;
>> @XmlElement(name = "InitParticipationEvent")
>> protected CosInitCloseEventType initParticipationEvent;
>> @XmlElement(name = "CloseParticipationEvent")
>> protected CosInitCloseEventType closeParticipationEvent;
>> @XmlElement(name = "PlanOrderEvent")
>> protected CosPdcaEventType planOrderEvent;
>> @XmlElement(name = "DoOrderEvent")
>> protected CosPdcaEventType doOrderEvent;
>> @XmlElement(name = "CheckOrderEvent")
>> protected CosPdcaEventType checkOrderEvent;
>> @XmlElement(name = "ActOrderEvent")
>> protected CosPdcaEventType actOrderEvent;
>>
>> getters and setters follow, e.g.
>>
>> public CosPdcaEventType getPlanOrderEvent() {
>> return planOrderEvent;
>> }
>>
>> public void setPlanOrderEvent(CosPdcaEventType value) {
>> this.planOrderEvent = value;
>> }
>>
>>
>> public CosPdcaEventType getDoOrderEvent() {
>> return doOrderEvent;
>> }
>>
>>
>> public void setDoOrderEvent(CosPdcaEventType value) {
>> this.doOrderEvent = value;
>> }
>>
>> public CosPdcaEventType getCheckOrderEvent() {
>> return checkOrderEvent;
>> }
>>
>> --- next class ---
>>
>> @XmlAccessorType(XmlAccessType.FIELD)
>> @XmlType(name = "")
>> @XmlRootElement(name = "EventVrijgave")
>> public class EventVrijgave
>> extends EventVrijgaveType
>> implements Serializable
>> {
>>
>> private final static long serialVersionUID = 12343L;
>> @XmlAttribute(name = "Version")
>> protected String version;
>>
>> getter and setter follow
>>
>> --- next class ---
>>
>> @XmlAccessorType(XmlAccessType.FIELD)
>> @XmlType(name = "CosPdcaEventType", propOrder = {
>> "bundleName",
>> "bundleVersion",
>> "bundlePort",
>> "bundleMessage",
>> "actId",
>> "stoppedTime",
>> "participationId",
>> "orderId",
>> "statusPlanVersionId",
>> "certificationObjectId",
>> "objectTypeCode",
>> "animalSpeciesCode",
>> "vbn",
>> "statusPlanCode",
>> "version",
>> "productCode",
>> "statusCodeCurrent",
>> "statusCodeNew",
>> "actorType",
>> "actorRel"
>> })
>>
>> --- next class ---
>> public class CosPdcaEventType
>> implements Serializable
>> {
>>
>> private final static long serialVersionUID = 12343L;
>> @XmlElement(name = "BundleName", required = true)
>> protected String bundleName;
>> @XmlElement(name = "BundleVersion", required = true)
>> protected String bundleVersion;
>> @XmlElement(name = "BundlePort", required = true, nillable = true)
>> protected String bundlePort;
>> @XmlElement(name = "BundleMessage", required = true)
>> protected String bundleMessage;
>> @XmlElement(name = "ActId")
>> protected int actId;
>> @XmlElement(name = "StoppedTime", required = true, type =
>> String.class)
>> @XmlJavaTypeAdapter(Adapter1 .class)
>> @XmlSchemaType(name = "dateTime")
>> protected Date stoppedTime;
>> @XmlElement(name = "ParticipationId")
>> protected int participationId;
>> @XmlElement(name = "OrderId")
>> protected int orderId;
>> @XmlElement(name = "StatusPlanVersionId")
>> protected int statusPlanVersionId;
>> @XmlElement(name = "CertificationObjectId")
>> protected int certificationObjectId;
>> @XmlElement(name = "ObjectTypeCode", required = true)
>> protected String objectTypeCode;
>> @XmlElement(name = "AnimalSpeciesCode", required = true)
>> protected String animalSpeciesCode;
>> @XmlElement(name = "VBN")
>> protected int vbn;
>> @XmlElement(name = "StatusPlanCode", required = true)
>> protected String statusPlanCode;
>> @XmlElement(name = "Version")
>> protected int version;
>> @XmlElement(name = "ProductCode", required = true)
>> protected String productCode;
>> @XmlElement(name = "StatusCodeCurrent", required = true)
>> protected String statusCodeCurrent;
>> @XmlElement(name = "StatusCodeNew", required = true)
>> protected String statusCodeNew;
>> @XmlElement(name = "ActorType", required = true)
>> protected String actorType;
>> @XmlElement(name = "ActorRel", required = true, type = Integer.class,
>> nillable = true)
>> protected Integer actorRel;
>>
>> getters and setters follow....
>>
>> Hope you get the idea....
>>
>> Mylène
>>
>> 2010/6/16 Esteban Aliverti <esteban.aliverti at gmail.com>
>>
>> could you post your model here?
>>>
>>> 2010/6/16 Mylene <mylenereiners at gmail.com>
>>>
>>>> Hi,
>>>>
>>>> I get errors after I import my (JAXB-generated) model in Guvnor.
>>>> The original schemas are rather complicated, and thus the generated
>>>> model depends heavily on inheritance. Could that be the problem?
>>>>
>>>> The message I get is: Unable to validate package configuration (eg,
>>>> DSLs, models) for [my_package]. Suggestion completions may not operate
>>>> correctly for graphical editors for this package.
>>>>
>>>> I don't get any completions... (but I guess that is to be expected after
>>>> this error)
>>>>
>>>> I'm using drools-5.0-guvnor-standalone, Java 1.6 and JAXB version 2.2.1
>>>>
>>>> Can anyone point me in the right direction?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Mylene
>>>>
>>>> _______________________________________________
>>>> rules-users mailing list
>>>> rules-users at lists.jboss.org
>>>>
>>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>>
>>>>
>>>
>>>
>>> --
>>> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>>
>>> Esteban Aliverti
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>>
>> --
>> Mylene
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
> --
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> Esteban Aliverti
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Mylene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100616/535a0564/attachment.html
More information about the rules-users
mailing list