From the Eclipse IDE, you test the connection to the Content Engine Web Service (CEWS).
Testing from the Eclipse IDE
In Eclipse, if the Console pane
is not already open, click the Show View icon
in the lower left corner of Eclipse, and click Console.
In the Eclipse menu bar, click Run > Run Configurations.
Expand Java Application in the left
pane.
Select your run configuration, and then click Run.
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 Engine successful.
If you get an exception, perform these troubleshooting
steps:
You specified the URI correctly in the connection code. 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 Engine WSDL (wsi/FNCEWS40MTOM). Note that
the host name must be known to your DNS server.
You entered the correct user ID and password values in the connection
code.
You included all of the required JARs in the IDE project class
path.
You set the VM arguments correctly in the runtime configuration.
If the arguments include path variables, check the variable values.
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.