Failed to connect IM via WS, errMsg: Calling webservice Testing connectivity and configuration failed - Identity Portal Connector for CAIM won't start
book
Article ID: 144871
calendar_today
Updated On:
Products
CA Identity ManagerCA Identity GovernanceCA Identity PortalCA Identity Suite
Issue/Introduction
When attempting to edit the CAIM connector in Identity Portal, the connector is unable to connect to Identity Manager failing with the below error:
Failed to connect IM via WS, errMsg: Calling webservice Testing connectivity and configuration failed
or
Test connection failed: Calling webservice Testing connectivity and configuration failed
Environment
Release : 14.x
Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)
Cause
This error can occur due to an import into Identity Portal after a migration. When the customer builds a virtual appliance (vApp) the connector starts with no problem and the customer can log into the user console for the Identity portal. The issue occurs after the customer imports data into IP. This is because the import may contain references to the previous connector deployment and the names may not resolve.
Resolution
Make sure http://<address_of_IM>:80/iam/im/TEWS6/identityEnv?wsdl&public seen in logs is accessible (address might be a bit different).
If it is not work so WSDL page is working.
Clear the cache on IP side.
Delete the 'portal' web service in IDM. Take note of the configurations prior to deleting it.
In Identity Portal navigate to management console admin UI > Tools > Select General > and select the Group Info check box and User Info. Save this file off to the side, it will be required to re-import later on.
Delete caim the connector in Identity Portal.
Create a new web service (manually in IDM) and named it portal
Create the new connector in Identity Portal pointing to that manually created web service
Start the connector in Identity Portal. This is required to perform the import.
Re-import all the attributes utilizing the exported file from step 2.
Restart the connector
Additional Information
Please note in order to create/modify the web service in IDM please navigate to Roles and Tasks > Admin Tasks > Modify Admin Task > Search for 'Create web service' > Select Create Web Services Configuration and uncheck "Hide in Menus"