Hi list,

I try to get the "Client" example of the ERREstRouteExample application 
running. But it doesn't work.

Lines 29/30 of "Client.java" are

> ClientCompany c = client.objectWithPath("Company/1.json");
> System.out.println("Client.main: single company = " + c);

But if you let the example run, the output is:

> Client.main: single company = null

so "client.objectWithPath("Company/1.json")" ALWAYS returns null (although the 
URL works, if you call it manually)

After digging into the code, I found the class "ClientCompanyRestDelegate.java" 
with its method

> public Object objectOfEntityWithID(EOClassDescription entity, Object id, 
> ERXRestContext context) {
>       return null;
> }


that is called. So, obviously I get "null".

My questions are now:
- has anyone make this example running?
- or is this whole example broken?

Thx for your help.
C.U.CW
-- 
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to