Adding external dependencies

After you create the adapter application project, you must add the required external dependencies into the project. SAP Java™ Connector (SAP JCo) interface is an external dependency that the adapter has for connecting to the SAP software application. The adapter uses this interface to make calls to the SAP native interfaces.

Before you begin

Use WebSphere Integration Developer to add the SAP Java Connector (SAP JCo) interface to the imported project. All external libraries and JAR files must first be copied to the appropriate locations on WebSphere Process Server:

Where <WPS_INSTALL> represents the WebSphere® Process Server installation directory.

Why and when to perform this task

Follow these steps to add the sapjco.jar file to the project.

Steps for this task

  1. In the J2EE perspective of WebSphere Integration Developer, click Connector Properties.
  2. Right-click CWYAP_SAPAdapter and then click Properties. The Java Build Path window appears.
  3. In the left-side pane of the Java Build Path window, click Java Build Path.
  4. In the right-side pane, click the Libraries tab and then click Add External Jars.
  5. Choose the file sapjco.jar and click Open. The file sapjco.jar should now appear in the list of JARs and class folders in the build path.
  6. Click OK. The sapjco.jar file is now part of your connector project and appears in the Project Explorer window of WebSphere Integration Developer.

What to do next

The next step is to configure the service, a process that includes configuring the adapter and creating the business objects that the adapter will exchange with the SAP software application.

Related concepts
Using the sample applications
ALE inbound sample application
Adapter environment
Related tasks
Deploying and configuring for Scenario 2 (BAPI outbound)
Deploying and configuring for Scenario 2 (ALE outbound)
Deploying and configuring for Scenario 2 (ALE inbound)

Terms of use |

Last updated: Sun Mar 12 11:15:16 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)