Hi Vasu,
I think I know what the problem is. There is small flaw in the instruction provided. I have replied to the original thread but for your easy reference I am attaching my reply here as well :
==================================================
Hello All,
For those of you who are getting following error "Reject s3/r7 : internal error - failed to obtain scheme credentials for scheme'" I think I know what the problem is.
It is most likely that in step(1) above java-build.bat/java-build.sh didn't execute successfully.
If you view the java-build.bat, all it is doing is compiling AuthApiSample.java as below :
"javac -classpath .;..\..\java\SmJavaApi.jar AuthApiSample.java"
As you could see above it is expecting "SmJavaApi.jar" to be in the classpath. But when you move this batch file from it's default location , it is possible that it will no more be able to locate this SmJavaApi.jar file.
To confirm this try running this batch file from a command prompt then you would see some errors like below :
"C:\Custom Auth\mycustomclass - Copy\com\netegrity\sdk\javaauthapi>javac -classpath .;..\..\java\SmJavaApi.jar" AuthApiSample.java
AuthApiSample.java:25: error: package com.netegrity.policyserver.smapi does not
exist
import com.netegrity.policyserver.smapi.*;
^"
Solution
======
To fix this , you will need to specify the full path to the SmJavaApi.jar file in the batch file.
You can find this jar file in :
$Siteminder SDK Installed Directory$\java\SmJavaApi.jar
$Policy Server Installed Directory$\bin\jars\SmJavaApi.jar
So your batch file should look something like this :
javac -classpath .;C:\Program Files (x86)\CA\sdk\java\SmJavaApi.jar AuthApiSample.java
To confirm, if the batch is executing successfully, you need to check if the "AuthApiSample.class" class file is created or not in the folder.
Hope this helps.
Regards,
Ujwol Shrestha
====================================================