Scenario 2 of the ALE outbound sample application requires you
to use the enterprise service discovery wizard to deploy the application package,
configure the adapter, and generate the SCA artifacts.
Before you begin
Before you begin to deploy and configure:
- Import the CWYAP_SAPAdapter.RAR file into the project.
- Add the external dependencies (SAP Java™ Connector (SAP JCo) interface) to the
project.
Why and when to perform this task
For this task,
you must run the Enterprise Service Discovery within IBM WebSphere Integration
Developer to set adapter configuration properties. To change the property
values later, use the WebSphere Process Server Administrative
Console.
Steps for this task
- In the Business Integration Perspective of WebSphere® Integration Developer, right-click
the frame and from the pop-up menu, select .
- In the Import Configurations window, select IBM
WebSphere Adapter for SAP Software.
- In the Discovery Agent Initialize Properties window,
specify the configuration properties to initialize the discovery agent. Be
sure to set the Select Module field to the value of ALE. Properties marked with an asterisk (*) are mandatory.
- At the bottom of the Discovery Agent Initialize Properties window,
click the Show Advanced button.
- When prompted to specify logging options, set the Logging
Level to FINEST to provide the highest
level of logging and then click Next.
- In the Metadata Query window, click Run
Query.
- Under Objects Discovered, drill down to
the Discover By Name node, and then click the Filter button.
- In the Filter Properties for Discover by Name window,
enter DEBMAS03 (the name of the IDoc in SAP) and click OK.
- Navigate to DEBMAS03 and click the Add button.
- In the Configuration Parameters window, select
the Use Field Name to generate attribute(s) check box,
and click OK to add DEBMAS03 to the list of business
objects to be imported.
- Click Next.
- In the Configure Objects window, specify the
following:
- BODEFS as the object location
- A namespace for the business object.
- Outbound as the Service Type.
- Click Add to specify the operations.
- Double-click EXECUTE to add it to the list
of operations and click Next to continue. (The
only valid operation for ALE outbound processing is EXECUTE.)
- In the Generate Artifacts window, specify
the module name where the artifacts should be saved, and then click New to
create a new business integration module.
- When prompted, enter CustomerMasterIDoc as
the module name, and click Finish.
- Specify ScaArtifacts as the folder name
within the module where the Service Description should be saved.
- Enter SAP_Auth_Alias in J2C
Authentication Data Entry and select the Deploy connector
with module check box.
- Select Use discovered connection properties and
specify value for the connection properties.
- Click Finish. The new CustomerMasterIDoc
module is added to the Business Integration Perspective, along with all its
artifacts.
- Export the project to the .EAR file (note that the .EAR file does
not yet exist; this step defines it):
- Right-click the CustomerMasterIDoc module and select Export from
the pop-up menu.
- Select EAR file from the Export window.
- Click Next.
- In the EAR Export window, select CustomerMasterIDoc for
the .EAR project and specify its destination directory. Then click Finish.
- In the EAR Export window, export the EAR file
of the adapter:
- Select the .EAR file in the EAR project field.
- Specify its destination directory in the Destination field.
- Click Finish.
- Deploy the .EAR file.
What to do next
The adapter application package, including all its SCA artifacts,
is now configured and deployed. You can now run the sample application.