Hi,
I've created a GraphQL Web Service to expose data to an external source and I need to use node.js to authorize the incoming call to the web service.
From the authorization pop-up - Under Authorization Properties:
I select node as my implementation
I don't see my node service under the class dialog.
Not sure if I need to register my node service somewhere before it will display in the dialog?
Is there a reference to documentation on how to do this?
The alternative method that I tried was to create a .a5xbclass, registering the class as my authorization method and calling the node service from the a5 class using node_request / node_request_result.
I get the correct result when I test the a5xbclass from the Interactive window - calling the class directly. However, as soon as I try to call the service from a browser / postman the request times out (on my local webroot).
I also had my node service write to a log file each time it gets called. The log file gets written to when testing from the Interactive window but not when i call the web service from the browser.
When I replace the node_request / node_request_result with a 200 status code in the a5xb class (following the example videos), the browser gets a near instant response.
Thanks
Ed
I've created a GraphQL Web Service to expose data to an external source and I need to use node.js to authorize the incoming call to the web service.
From the authorization pop-up - Under Authorization Properties:
I select node as my implementation
I don't see my node service under the class dialog.
Not sure if I need to register my node service somewhere before it will display in the dialog?
Is there a reference to documentation on how to do this?
The alternative method that I tried was to create a .a5xbclass, registering the class as my authorization method and calling the node service from the a5 class using node_request / node_request_result.
I get the correct result when I test the a5xbclass from the Interactive window - calling the class directly. However, as soon as I try to call the service from a browser / postman the request times out (on my local webroot).
I also had my node service write to a log file each time it gets called. The log file gets written to when testing from the Interactive window but not when i call the web service from the browser.
When I replace the node_request / node_request_result with a 200 status code in the a5xb class (following the example videos), the browser gets a near instant response.
Thanks
Ed
Comment