hi!
I'm trying to have interaction with remedy server through jni calls, i know that Proxy class and factories do the request to the sistem or execute processes,
the problem is that i can't understand the parameters to perform the calls:
EntryID entryId = new EntryID("115318062901515"); //??
SchemaKey schemakey = new SchemaKey("remedy10");
FieldID[] fields = {new FieldID(115318062901515L)}; //what does it mean?
EntryKey entryKey = new EntryKey(schemakey,entryId);
EntryListFieldInfo[] info = new EntryListFieldInfo[fields.length];
for (int i=0; i<fields.length; i++) {
info = new EntryListFieldInfo(fields);
}
EntryCriteria entryCriteria = new EntryCriteria(info);//??
EntryKey entryKey = new EntryKey(schemakey,entryId);
Entry entry = EntryFactory.findByKey(arserveruser,entryKey,entryCriteria); //Parameters are wrong
and the output:
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageType: 2
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageNum: 303
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageText: El formul
ario no existe en el servidor
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: AppendedText: remedy10
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: at com.remedy.ar
sys.api.Proxy.ARGetEntry(Native Method)
anyone could help me?
thanks in advance
I'm trying to have interaction with remedy server through jni calls, i know that Proxy class and factories do the request to the sistem or execute processes,
the problem is that i can't understand the parameters to perform the calls:
EntryID entryId = new EntryID("115318062901515"); //??
SchemaKey schemakey = new SchemaKey("remedy10");
FieldID[] fields = {new FieldID(115318062901515L)}; //what does it mean?
EntryKey entryKey = new EntryKey(schemakey,entryId);
EntryListFieldInfo[] info = new EntryListFieldInfo[fields.length];
for (int i=0; i<fields.length; i++) {
info = new EntryListFieldInfo(fields);
}
EntryCriteria entryCriteria = new EntryCriteria(info);//??
EntryKey entryKey = new EntryKey(schemakey,entryId);
Entry entry = EntryFactory.findByKey(arserveruser,entryKey,entryCriteria); //Parameters are wrong
and the output:
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageType: 2
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageNum: 303
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: MessageText: El formul
ario no existe en el servidor
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: AppendedText: remedy10
[18/Jul/2006:13:02:48] warning (19376): CORE3283: stderr: at com.remedy.ar
sys.api.Proxy.ARGetEntry(Native Method)
anyone could help me?
thanks in advance