This is continuation to previous discussion,
How to consume YAML Web Service using RESTFul Connector
But the other one was for version 6.9.1
Our production is still on 6.9 and we are in planning phase for upgrade. After successful execution of restful connector on 6.9.1 we thought may be we can move it to production with same configuration used in 6.9.1
But with same configuration we are getting error,
Test Capabilities Error |
---|
Error code = 2 Failure - Error processing RESTful web service response |
Just because of above error if I change 'Accept' type to 'text/html' then I am getting further errors for parsing.
Our current configuration on PROD is as below,
Settings -
Capabilities -
capabilities
Any help is much appreciated.
Hi Tushar,
After looking through the logs more and looking through past issues, from the request that's being sent it looks like it's URL-encoding the path to the REST endpoint. So instead of using the path /it/ds/api/role.php, it's using /it%2Fds%2Fapi%2Frole.php. On the 404 page the server is translating that back to the forward-slash version, but in the end it's a different URL than the actual service URL. It's for this reason that the server is responding with a 404.
This is due to a bug that's been fixed in 6.9.0 P01 and 6.9.1 (which is why it works in your development environment), but the bug is present in 6.9.0 GA. I hope that helps - unfortunately you'll have to upgrade production to either 6.9.0 P01 or 6.9.1 in order to resolve this issue.
Thanks,
Cory