New installation of SDM r17.1 (not an upgrade).
Testing the loginServiceManaged capability.
Followed the document found in $NX_ROOT\samples\sdk\websvc\java\test1_pki
- Generated the Stub Classes using build_wsdl.bat
C:\PROGRA~2\CA\SERVIC~1\bopcfg\www\CATALINA_BASE\webapps\axis>build_wsdl.bat
Mar 07, 2018 2:10:50 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: classes\com\ca\www\UnicenterServicePlus\ServiceDesk\USD_WebServiceSoapSoapBindingStub.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
- Stopped and restarted Tomcat
- Ran pdm_pki -p DEFAULT -f which generated the DEFAULT.p12 file
- Edited the Web Services Policy to link to Proxy Contact "ServiceDesk" and verified it shows having a key.
- Copied the DEFAULT.p12 file to $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\axis directory
- Copied pkilogin.htm and pkilogin.jsp to $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\axis directory
When I run the test using http://localhost:8080/axis/pkilogin.htm I get the following error from pkilogin.jsp:
Created USD_WebServiceSoap object usd
Error Message: exception decrypting data - java.lang.NullPointerException
Additional Details: org.bouncycastle.jcajce.provider.ProvIOException: exception decrypting data - java.lang.NullPointerException