Rest Driver and Resource Handler

Dear all,

I tough I understood the concept of the REST driver, but I do not get it to work with a custom Ressource defined.

Sine the API I am working with needs some other parameters in the URL, I defined a new Resource for the class/schema to be synchronised and introduced a new OTP to add some custom driver-operation-data element to the XDS command send to the shim.

According to my trace ( set to level 10) I can see the driver-operation-data element added to the XDS as planend, but after submitting it to the shim the driver is reporting a fatal error caused by a null pointer exception.

Unfortunatly there is not more information available, what kind of data might be missing!

According  to the documentation it is not mandatory to add an authorisation header in the driver-operation-data element but even if this would be the issue I would expect a authentication error or something - not a null pointer exception.

Can anybody provide an idea, what I am doing wrong, or a working example how to use an custom resource handler with the REST driver

Kind regards 

Thorsten

Parents Reply Children