6. Deploying application explorer.
6.1 Servlet Application Explorer is provided as a web application in the iwae.war file. The default location on Windows is :
6.2 There is a WEB-INF folder in iwae.war. Extract the web.xml file in the WEB-INF folder using the following command:
Jar xvf iwae.war WEB-INF/web.xml
6.3 Open the web.xml file in edit mode.This file controls the behavior of application explorer.
Find the "<service..." lines which define connections. The default content of these lines may vary depending on which version of IWAY adapter you install, for example:
<service displayName="localhost" url="http://localhost:9000/"/>
<service displayName="jca" provider="com.ibi.adapter.jspae.CustomJCAIWAEConnection " url="c:program filesiway55#base" />
url is the information application explorer needs to access an IWAY component or configuration.
Remove any line with the following url if it appears:
6.4 Edit the jca line so the url is the following. url="IWAY_HOME#IWAY_CONFIG"
IWAY_HOME is the directory where iWAY 5.5 is installed.
IWAY_CONFIG is the iWAY connector for JCA configuration instance. By default, a base configuration exists.
The provider parameter must appear as well:
Provider = "com.ibi.adapter.jspae.CustomJCAIWAEConnection"
<service displayName="jca" provider="com.ibi.adapter.jspae.CustomJCAIWAEConnection" url="c:program filesiway55#base" />
6.5 Save and exit the web.xml file.
6.6 In a command prompt, navigate to the directory containing the iwae.war file. From the directory containing the iwae.war file, use the jar command to add the new web.xml file.
jar uvf iwae.war WEB-INF/web.xml
6.7 Now deploy the iwae.war file from deploytool.bat.
Find the deploytool.bat in the following path on XI server:
6.8 Create a new project.
6.9 Add iwae.war to that project.
6.10 Create EAR file with the name iwae.ear and save it in C:Program FilesiWay55sap.
6.11 Deploy the iwae.ear file.
Once you deploy it you can run the application explorer using the following URL:
Where host is the host name of XI server and port is the j2ee http port
7. Create request and response schemas for the business function.
a) First we will have to create a repository folder on the XI server drive and place the jar file created by GENJAVA in this repository folder.
b) Now provide the path for repository folder in the application explorer.
c) Go to the Logon tab and provide the detail connection information for connecting to the backend JDE system.
d) After entering all the relevant information, click the OK button and you will see a list of business functions for which we have created a jar file and kept in repository folder.
e) For example, here we have a function called as N55001 and we can get the request and response schemas for this particular function from here.
8. Configuring a scenario in XI.
For the rest, all steps in the IR and ID are same. The only new thing will be configuring a receiver JD Edwards channel. This can be done as shown below:
This content is reposted from the SAP Developer Network.
Copyright 2006, SAP Developer Network
SAP Developer Network (SDN) is an active online community where ABAP, Java, .NET, and other cutting-edge technologies converge to form a resource and collaboration channel for SAP developers, consultants, integrators, and business analysts. SDN hosts a technical library, expert blogs, exclusive downloads and code samples, an extensive eLearning catalog, and active, moderated discussion forums. SDN membership is free.