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:

  1. Obtain details of the WSDL URL and the user credentials to use from the web service provider.

  2. Get the server encryption certificate and the Certificate Authority (issuer) certificate from the web service provider.

  3. Create a user-defined field for an object that has a calculated default value.

  4. 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:

  1. Create the web service connection.

  2. Add the web service call to the Groovy script, and check whether the call succeeds.

  3. Contact the administrator to resolve runtime exceptions

    Create a service request for your administrator:

    1. Retrieve the server encryption certificate and the Certificate Authority (issuer) certificate from the web service provider.

    2. Attach the server encryption certificate and the issuer certificate to the service request, and include the WSDL location, and error details.

    3. Submit the service request.

      The administrator adds the server encryption certificate and the issuer certificate into the 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.

    4. 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.

  4. Recreate the web service connection.

  5. Verify that the web service call succeeds.