In this section: |
The iWay Application Adapter for J.D. Edwards EnterpriseOne enables the processing of EnterpriseOne business functions through the J.D. Edwards EnterpriseOne ThinNet API.
External applications that access EnterpriseOne through the iWay Application Adapter for J.D. Edwards EnterpriseOne use either XML schemas or web services to pass data between the external application and the adapter. The following topics describe how to use iWay Explorer to create XML documents and web services for the J.D. Edwards Master Business Functions (MBFs) used with the adapter.
For more information on creating web services and on iWay Explorer in general, see the iWay Explorer User's Guide.
To create schemas for the adapter, you must use GenJava wrappers. You can create the GenJava wrappers using the EnterpriseOne utility called GenJava. You can use iWay Explorer to generate schemas against EnterpriseOne GenJava wrappers.
The J.D. Edwards OneWorld system administrator usually runs GenJava. When you run GenJava, you can specify a library of business functions, for example, CALLBSFN. GenJava creates Java class files for all the business functions and associated data structures. GenJava also compiles the business functions, generates Java docs, and packages them into two JAR files, as shown in the following list.
For example, if the library is CALLBSFN, you see the JDEJAVA_CALLBSFN.xml, JDEJAVA_CALLBSFNInterop.jar, and JDEJAVA_CALLBSFNInteropDoc.jar files in either the \\system\classes directory or any directory redirected by GenJava (JDE Client or Deployment Server).
GenJava can be generated either from Fat client or Deployment sever.
Required library files must be added to the CLASSPATH.
GenJava is supplied as a command line process with several run-time options, and is located in <install>\system\bin32.
For more information on GenJava, see the J.D. Edwards Interoperability Guide.
The following is a sample syntax of GenJava.
GenJava /Cat 1 /Cat 2 /Cat 3 /Cat - CALLBSFN
The example above generates Java wrappers for the following business functions in the CALLBSFN library:
You must use the correct information to log on to OneWorld, including the UserID, Password, and environment.
If the AddressBook.cmd is placed in the C: drive, then you can also use GenJava by running it with a JDEScript file, for example:
GenJava /cmd .\AddressBook.cmd
This prompts a OneWorld sign-on window for you to enter the user ID, password, and environment. The following syntax shows the AddressBook.cmd file.
define library CALLBSFN login library CALLBSFN interface AddressBook import B0100031 import B0100019 import B0100032 import B0100002 import B0100033 build logout
GenJava generates the wrappers (CALLBSFNInterop.jar, CALLBSFNInteropDoc.jar and CALLBSFN.xml) in Java for all business functions imported in the script file.
Note: The generated files should be placed in a repository folder on the computer where iSM running, for example, c:\\Repository.
iWay Software |