Executing Connection Code

From Microsoft Visual Studio, you can test the connection to the Content Platform Engine.

Testing from the Visual Studio IDE

Procedure

  1. In the Solution Explorer pane of the Visual Studio IDE, select your project.
  2. If the Output pane is not already open, click View > Output from the menu bar.
  3. From the Visual Studio menu bar, click Debug > Start Debugging.

    If the code is run successfully, it will:

    • Connect to the Content Platform Engine application server
    • Retrieve an object that represents a FileNet domain
    • Iterate and print the names of all of the object stores in the domain
    • Terminate with the message, Connection to Content Platform Engine successful.

Results

If you get an exception, perform these troubleshooting steps:

  • Verify that the URI points to the correct Content Platform Engine server host and port number, and that the query part of the URI correctly references the Content Platform Engine WSDL (wsi/FNCEWS40MTOM). Note that the host name must be known to your DNS server.
  • Verify that you entered the correct user ID and password values in the connection code.
  • Verify that the IDE project references the required DLL.
  • Verify that the Content Platform Engine server is running.
  • If your environment includes a firewall to which you must authenticate before connections are allowed to pass through, verify (by using your browser or other local procedure) that you are authenticated.