Class RfcXmlInvoker
- java.lang.Object
-
- com.ibm.di.fc.sapr3rfcv3.RfcXmlInvoker
-
public final class RfcXmlInvoker extends java.lang.Object
Command line test harness for IDI SAP FC.Uses the internal Sap Adapter form the RFC Function Component to invoke an RFC based on a used supplied input XML file. The SAP JCo libraies must be in the classpath and java.library.path.
NB: On UNIX, the JCo shared libraries, librfc.so and libsapjcorfc.so must be added to the LD_LIBRARY_PATH environment variable.(ITDI_HOME)/_jvm/bin/java -cp (SAP_JCO_HOME)/sapjaco.jar:(ITDI_HOME)/jars/functions/SapR3RfcFCV3.jar -Djava.library.path=(SAP_JCO_HOME) com.ibm.di.fc.sapr3rfcv3.RfcXmlInvoker -f [input XML file] -o [output XML file] -p [JCO Connection properties file]
The contents of the JCO Properties file represent the R/3 client connection parameters for the R/3 system.
An example of the values in the property file is shown below:
jco.client.client=(R/3 CLIENT)
jco.client.user=(R/3 USER NAME)
jco.client.passwd=(R/3 USER PASSWORD)
jco.client.sysnr=(R/3 SYSTEM NUMBER)
jco.client.ashost=(R/3 APPLICATION SERVER HOSTNAME OR IP ADDRESS
jco.client.trace=(RFC API TRACE: 1 == ON; 0 == OFF)
-
-
Constructor Summary
Constructors Constructor Description RfcXmlInvoker(java.lang.String[] args)
Create the RfcInvoker.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Command line test harness for IDI SAP FC.void
run()
Run the invoker.
-
-
-
Method Detail
-
run
public void run() throws java.io.IOException
Run the invoker.- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args)
Command line test harness for IDI SAP FC.Uses the internal Sap Adapter form the RFC Function Component to invoke an RFC based on a used supplied input XML file. The SAP JCo libraies must be in the classpath and java.library.path. NB: On UNIX, the JCo shared libraries, librfc.so and libsapjcorfc.so must be added to the LD_LIBRARY_PATH environment variable.
(ITDI_HOME)/_jvm/bin/java -cp (SAP_JCO_HOME)/sapjaco.jar:(ITDI_HOME)/jars/functions/SapR3RfcFCV3.jar -Djava.library.path=(SAP_JCO_HOME) com.ibm.di.fc.sapr3rfcv3.RfcXmlInvoker -f [input XML file] -o [output XML file] -p [JCO Connection properties file]
The contents of the JCO Properties file represent the R/3 client connection parameters for the R/3 system.
An example of the values in the property file is shown below:
jco.client.client=(R/3 CLIENT)
jco.client.user=(R/3 USER NAME)
jco.client.passwd=(R/3 USER PASSWORD)
jco.client.sysnr=(R/3 SYSTEM NUMBER)
jco.client.ashost=(R/3 APPLICATION SERVER HOSTNAME OR IP ADDRESS
jco.client.trace=(RFC API TRACE: 1 == ON; 0 == OFF)
- Parameters:
args
- -f [input XML file] -o [output XML file] -p [JCO Connection properties file]
-
-