Closed railrhoad closed 7 years ago
I even passed in the JSON from the readme (which I knew wouldn't find the task referenced) but it failed in the same place before it could even look it up.
You're getting an error here because %request.Content
is %CSP.BinaryStream
but EnsLib.Workflow.Worklist
is expected. Conversion from %CSP.BinaryStream
is done in ConvertRequestBody. Seems like it's not hit for you.
Please provide:
1.$zv
do ..ConvertRequestBody()
before set tTaskResponce = %request.Content.Task
and recompiling helps?Workflow.AbstractREST
compile without problems?You're exactly right! I was cherry picking into my preexisting service and simply missed this line. Sorry for the noise and thanks for the quick response!
Located within PostTask, we're getting a PropertyDNE on *Task. We have the other service behaving as expected in our REST client but we're now at the point where we'd like to perform updates.
%request.Content is a CSP.BinaryStream, what I don't understand is how %request.Content.Task gets populated. I can understand what's getting passed in will directly influence the Content but I don't even see how this Task serialization happens within the service (as I try to debug this).
Here's my input to the service which is JSON valid and appears to be schema valid based on the sample input provided in the readme: