How to run the Punchout TEST in Oracle EBS Application


Steps:

1) Set the CLASSPATH variable to include the current directory as well as the javax-ssl-1_1.jar and  jssl-1_1.jar (whichever exists in the directory). Usually, these two files reside under $IAS_ORACLE_HOME/jlib

You may need to run a command similar to the one given below to set the CLASSPATH env variable.

CLASSPATH=$CLASSPATH:/eb_xxx0_p/applmgr/xxxora/iAS/jlib/jssl-1_1.jar:/eb_xxx0_p/applmgr/xxxora/iAS/jlib/javax-ssl-1_1.jar
export CLASSPATH

2) Set the shared library path (LD_LIBRARY_PATH) to include the directory where the shared SSL library used byiProcurement resides.
Usually this should be $IAS_ORACLE_HOME/lib/

You may need to run a similar command as below to set the LD_LIBRARY_PATH env variable.

LD_LIBRARY_PATH=/eb_xxx0_p/applmgr/xxxora/iAS/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

3) Then please run the following command and see if you are successful. Make sure to set the echo $LD_LIBRARY_PATH and CLASSPATH as mentioned previously before running the command  below.

    $ java oracle.apps.icx.punchout.util.TestPunchout <Supplier url> <cacert> <isCXML> <proxyHost> <proxyPort>
         OR
    $ java oracle.apps.icx.punchout.util.TestPunchout <Supplier url> <cacert> <isCXML> if not using proxy
 

Note: In above commands replace <cacert> with the value of profile "POR : CA Certificate File Name", <isCXL> to be replaced with either 'Y' or 'N'.  If you are using cxml provide the value as 'Y'
<proxyHost> and <proxyPort>  replace with the value of profile POR :Proxy Server Name and POR :Proxy Server Port <Supplier url> is the supplier URL.

4) From running this punchout test the log is generated in ./TestPunchout.log file for the attempt. You can check and upload the file to a service request.


Note: To test connectivity and certificate to OSN, use the URL https://osn-prod.oracle.com/punchout/punchoutloginserver .

To test certificate SHA-2 before the OSN Production certificate upgrade, use the URL https://osn.oracle.com/punchout/punchoutloginserver. 
This is only for testing purposes as the Punchout is available only for the URL https://osn-prod.oracle.com/punchout/punchoutloginserver.        

The test is to only check the certificates and the connectivity. It will not access the supplier site





Please do like and subscribe to my youtube channel: https://www.youtube.com/@foalabs If you like this post please follow,share and comment