I'm trying to initiate a callFunction request ( using odata4j-0.7.0-clientbundle ):
...
...
But it fails with IllegalArgumentException.
{
"d" : {
"simpleResponse@authenticate" : {
"Success" : false, "Value Type" : "", "Value" : "null", "Reason" : "This method requires the presence of an attribute which was not provided. The attribute is named TBLUSERS.DISABLED."
}
}
}
What I see over my console is :
Accept: application/json
Authorization: Basic dXNlcjpwYXNzd29yZA==
java.lang.IllegalArgumentException: no valid OData JSON format (expected EndProperty got StartObject('{'))
at org.odata4j.format.json.JsonFormatParser.ensureEndProperty(JsonFormatParser.java:432)
at org.odata4j.format.json.JsonSimpleObjectFormatParser.parse(JsonSimpleObjectFormatParser.java:41)
at org.odata4j.format.json.JsonSimpleObjectFormatParser.parse(JsonSimpleObjectFormatParser.java:15)
at org.odata4j.consumer.ConsumerFunctionCallRequest.doRequest(ConsumerFunctionCallRequest.java:203)
at org.odata4j.consumer.ConsumerFunctionCallRequest.execute(ConsumerFunctionCallRequest.java:78)