Configuring service invocation
You can configure service invocation.
About this task
To configure service invocation:
Procedure
- Rename the <runtime_sandbox>/resources/yifclient.properties.in file to <runtime_sandbox>/resources/yifclient.properties.
-
Ensure that the CLASSPATH contains the following:
- log4j-1.2.15.jar
- xercesImpl.jar
- install_foundation.jar
- platform_afc.jar
- resources.jar
- entities.jar
- xapi.jar
- JAR files required by your application server
- JAR files required by user exits and custom APIs
-
Set your java command line property to:
-Dlog4j.configuration=resources/log4jconfig.xml - Make sure that the <runtime_sandbox> directory is in your CLASSPATH.
-
Set the log4j properties in the log4jconfig.xml file to the appropriate
values for your environment. If these properties are not specified correctly, the Service Definition
Framework does not initialize correctly.
- If you are using the EJB protocol and IBM®
WebSphere®, make sure that the CLASSPATH environment
variable contains the necessary JAR files. For information about the WebSphere JAR files, see the IBM
documentation. Make sure that the CLASSPATH environment variable contains the appropriate properties directory.Note: If you are invoking the service or API from the machine on which the server is running, make sure that the CLASSPATH environment variable contains the <WAS_HOME>/AppServer/properties/ directory.
If you are invoking the service or API from a different machine, make sure that the CLASSPATH environment variable contains the <WAS_HOME>/AppClient/properties/ directory.
- If you are using the EJB protocol and IBM®
WebSphere®, make sure that the CLASSPATH environment
variable contains the necessary JAR files. For information about the WebSphere JAR files, see the IBM
documentation. Make sure that the CLASSPATH environment variable contains the appropriate properties directory.