on 08-17-2021 9:03 AM
I have created an application to connect to Demo SOAP API.
I have configured xs-app.json as follows:
"routes": [ { "source": "^/csp/(.*)$", "target": "/$1", "destination": "SOAP" } ]
But still system the system is unable to understand the destination.
Kindly let me know if I am missing anything here or this configuration is uncomplete.
What is the exact error message that you're seeing? 404 could also mean that the route worked but the destination crcind.com returns 404.
Or is the approuter crashing on startup? In this case, the error log would be helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Redirecting requests is not the purpose of the approuter. It just proxies requests for you. This means you'll never see a URL that start with crcind.com in here.
I wouldn't necessarily rely on the 200 you saw in the cockpit. Have a look at this video to see how you can make sure the destination is set up properly.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.