Hi Guys,
I?m working with NetTalk WebServer and using a NetWebServiceMethod procedure.
I can successfully call the endpoint and the procedure executes, but I?m struggling to get a JSON response to return in the browser. Currently, the request runs, but the response is blank when JSON is selected.
I have:
A queue defined for return (Q)
JSON enabled in the template
ServiceMethod populating the queue
However, it seems like the JSON branch in BuildResult / BuildResultFields is not being generated or executed.
My questions:
Is there a recommended example app or webinar showing a working NetWebServiceMethod returning JSON?
Should JSON responses for queues be handled purely via template, or is manual handling (e.g. AddJSONFromQueue) expected?
Is there a standard pattern for returning simple JSON (without queues)?
Any guidance or working example would be appreciated.