Why does the web service connection fail?
A user of an Innovation Management application may try to call a web service, and the call fails.
The web service call may fail due to several possible exceptions, including path certification, bad encryption, and policy enforcement exceptions. The end-user should create a service request for the administrator to resolve the possible issues. This summary may help both the user and the administrator.
Verify that these prerequisite steps are completed:
-
Obtain details of the WSDL URL and the user credentials to use from the web service provider.
-
Get the server encryption certificate and the Certificate Authority (issuer) certificate from the web service provider.
-
Create a user-defined field for an object that has a calculated default value.
-
Prepare the Groovy script for the expression used to calculate the field's default value. The Groovy code must prepare the argument values, which in this example are two values that are summed.
To call a web service from a Groovy script that's secured with message protection, verify that these tasks are completed:
-
Create the web service connection.
-
Add the web service call to the Groovy script, and check whether the call succeeds.
-
Contact the administrator to resolve runtime exceptions
Create a service request for your administrator:
-
Retrieve the server encryption certificate and the Certificate Authority (issuer) certificate from the web service provider.
-
Attach the server encryption certificate and the issuer certificate to the service request, and include the WSDL location, and error details.
-
Submit the service request.
The administrator adds the server encryption certificate and the issuer certificate into the Oracle Innovation Management trust store. The administrator also creates an alias for the server encryption key, which you must use to recreate the web service connection.
-
Wait until your administrator informs you that the certificates have been imported, and that the server encryption alias has been created; then close the service request.
-
-
Recreate the web service connection.
-
Verify that the web service call succeeds.