java - How to implement an entity bound odata action in olingo v4.3 -


similar post, i'm trying implement action bound entity

how create bounded action in olingo v4 (java)

but 500 no error logged when metadata document.

in answer above linked question, there no mention of getactionimport() implementation described in olingo tutorial, , wonder if needs modified entity-bound action?

how can olingo log error causing 500?

getting debug output quite easy:

handler.register(new defaultdebugsupport());

where handler odatahttphandler

armed this, , after examination of olingo-server-core code, discovered:

  1. you don't need actionimport @ bound actions.
  2. the action name in url needs qualified namespace, https://issues.oasis-open.org/browse/odata-812 has not been implemented.
  3. when built client url using org.apache.olingo.client.api.uri.uribuilder, wrapped entity id in single quotes, , olingo server threw exception, reverted using stringbuilder

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -