I need more details, please. What are you actually trying to accomplish? Do you wish to use WssCrypto to automate setting up Outgoing WSS instead of setSSLKeystore? I am trying to understand what your end-goal is.
Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
Yes, as in the attahcement, I run this script in the Suite Setup Script to update WS-Security credentials and Keystore. This script perfectly works in Ready! API v2.5.0 but fails in ReadyAPI v2.6.0. The SmartBear Support team member recommends that I am using a groovy script in the Setup Script for the TestSuites which is setting the keystore and causing this error because I need to change the script to use WssCrypto as the parameter type for setSslKeystore. However, I got the Java Class location for this but I am not sure where to update these.
Thank you @nmaro. Honestly, the support team clearly mentioned: We don't provide support for custom coding, please look at the JAVA doc below for guidance. https://support.smartbear.com/readyapi/apidocs/soapui/com/eviware/soapui/impl/support/AbstractHttpRe... I tried to modify my script and worked with one of our Java Developer. Unfortunately he talk in terms of Java Language and however, I am also familiar in Learning Java and Groovy fall in helpless. The reason for this code is to automate updating WS-Security Keystore and Credentials. I don't know how to tie this WssCrypto with Keystore is a certificate. Thanks Shantha.