Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

interaction with jni call

Status
Not open for further replies.

marquicus

Programmer
Jul 10, 2006
1
MX
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top