Future Enhancements and Current Issues
In OpenAir, batch size is defined in the Connection tab. OpenAir fetches all data set instead of fetching records in pages for each defined batch size. All the fields in the OpenAir object are listed in the Data Filter tab and few fields in OpenAir object are filterable.
OpenAir users have custom objects or fields for incorporating custom OpenAir solution. OpenAir Connector uses the Web Service Definition Language to fetch the object and field metadata.
You need to keep the OpenAir object structure in synchronization manner and add the custom fields to the default Web Service Definition Language.
Perform the following steps to create a stub for the OpenAir Web Service Definition Language:
Note: Create the directory paths before executing any command.
3. The following are the commands for creating the OpenAir stub:
You can either run the command one by one in the command prompt or copy paste the entire commands to a win batch file.
set JAVA_HOME=\\Program Files\Java\jdk1.7.0_25
set AXIS_PATH=\\temp\axis-1_4
set AXIS_LIB=%AXIS_PATH%\lib\axis-ant.jar;%AXIS_PATH%\lib\axis.jar;%AXIS_PATH%\lib\commons-discovery-0.2.jar;%AXIS_PATH%\lib\commons-logging-1.0.4.jar;%AXIS_PATH%\lib\jaxrpc.jar;%AXIS_PATH%\lib\log4j-1.2.8.jar;%AXIS_PATH%\lib\saaj.jar;%AXIS_PATH%\lib\wsdl4j-1.5.1.jar
set classpath=%JAVA_HOME%;%AXIS_LIB%
set PATH=%JAVA_HOME%;%PATH%
mkdir \\temp\OpenAir
java org.apache.axis.wsdl.WSDL2Java -v -p com.openair.api -a -o \\temp\OpenAir\ \\temp\OpenAir.wsdl
mkdir \\temp\classes
javac -cp .;"%classpath%" OpenAir/com/openair/api/*.java -d classes
jar -cvf \\temp\OpenAir-metadata.jar -C C:\temp\classes com
You will find that a new OpenAir-metadata.jar is created.
4. Stop the Secure Agent.
5. Copy the OpenAir metadata jar to the following directories:
- - <Secure Agent installation directory>\downloads\<latest connector zip package>\package\plugins\<Plugin ID>
- - <Secure Agent installation directory>\downloads\<latest connector zip package>\package\rdtm\javalib\<Plugin ID>
6. Start the Secure Agent.