Webservice Connector - Endpoints does not work from IIQ application page same works from linux curl command

Hello Experts,

Webservice Connector 8.2SP2

The test connectivity between IIQ and target application via REST endpoint is failing with ACCESS_DENIED error and the same is working with curl command on Linux box but fails from application page.

Simple URL using POST and Body , no BPR rules configured

We have verified the target traffic and it is reaching when accessed via Linux box curl and telnet but not from IIQ Application Page.

Curl from Linux box command works 8443
Telnet works 8443
Ping works with 8443

Error - ACCESS DENIED
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Hi @shivakarasani199,

is it possible that you need headers? have you configured them?

Hello @enistriminsait I am passing headers from IIQ but none of the calls reaching the target , when i run from curl command it works and i can see response in the target.

Some of the community posts suggest to use Proxy in application.xml or before rule. I will try that today , it would be great if there is a sample on how to use in rule.

Thanks

@Arpitha1 yes this works in postman and via curl command

There is no authentication for the API calls , as per documentation i am trying with no Authentication - Selecting Custom Authentication operation instead Test Connection but errors out with " No configuration found for ‘Test Connection’. Please add at least one operation and try again."

Hi @shivakarasani199

First, check if the connection from the application server is working properly. If the connection is fine, verify whether your application server is configured to use a proxy. If it is, enable the proxy settings on the JVM. For more details, refer to the provided link.
If the connection from the application server is not fine, you will need to troubleshoot to determine why the connection is not reachable.

Thank you @Arpitha1 this is resolved with JVM config adding the proxy address and port to JAVA_OPTS

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.