|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.fc.sapr3rfc.RfcXmlInvoker
public final class RfcXmlInvoker
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/SapR3RfcFC.jar -Djava.library.path=(SAP_JCO_HOME) com.ibm.di.fc.sapr3rfc.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 | |
---|---|
RfcXmlInvoker(java.lang.String[] args)
Create the RfcInvoker. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Command line test harness for IDI SAP FC. |
void |
run()
Run the invoker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RfcXmlInvoker(java.lang.String[] args) throws java.io.IOException
args
- The commandline argument from main.
java.io.IOException
- If the property file could not be read.Method Detail |
---|
public void run()
public static void main(java.lang.String[] args)
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/SapR3RfcFC.jar -Djava.library.path=(SAP_JCO_HOME) com.ibm.di.fc.sapr3rfc.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)
args
- -f [input XML file] -o [output XML file] -p [JCO Connection
properties file]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |