Mapped RPC and Output Body - Forum - OpenEdge Development - Progress Community

Mapped RPC and Output Body

This question is not answered

Hi there, I am having a method as Mapped RPC REST service.

The mapping is simple, it takes a single query parameter and outputs dataset with a single TT. See the output mapping.

Now when called, the received output is strange.

{"response":{"dsbc_line":{"dsbc_line":{"ttbc_line":[{"id":"","seq":null,"business_case_i ...

Am I missing something, or is the one dsbc_line just obsolete and should not be there?

When it is done via Data Object Mapped RPC, there is always just one level dsXXX.


All Replies
  • Try linking dsbc_line to the body itself instead of linking it as a parameter of the body.