Getting the "java.security.NoSuchAlgorithmException" When API Request sent from Testrunner
While running the API request from the testrunner, got the following error. I am able to send this request from the Ready API UI successfully.
12:08:06,724 ERROR [WSSecSignatureBase]
java.security.NoSuchAlgorithmException: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#STR-Transform algorithm and DOM mechanism not available
at javax.xml.crypto.dsig.TransformService.getInstance(TransformService.java:193) ~[java.xml.crypto:?]
at org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.newTransform(DOMXMLSignatureFactory.java:339) ~[java.xml.crypto:?]
at org.apache.wss4j.dom.message.WSSecSignatureBase.addReferencesToSign(WSSecSignatureBase.java:129) [wss4j-ws-security-dom-3.0.0.jar:3.0.0]
at org.apache.wss4j.dom.message.WSSecSignature.addReferencesToSign(WSSecSignature.java:432) [wss4j-ws-security-dom-3.0.0.jar:3.0.0]
at org.apache.wss4j.dom.saml.WSSecSignatureSAML.build(WSSecSignatureSAML.java:135) [wss4j-ws-security-dom-3.0.0.jar:3.0.0]
at com.eviware.soapui.impl.wsdl.support.wss.entries.AutomaticSAMLEntry.process(AutomaticSAMLEntry.java:318) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.support.wss.OutgoingWss.processOutgoing(OutgoingWss.java:196) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.submit.filters.WssRequestFilter.filterWsdlRequest(WssRequestFilter.java:61) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterAbstractHttpRequest(AbstractRequestFilter.java:40) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(AbstractRequestFilter.java:34) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.filterRequest(HttpClientRequestTransport.java:420) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:196) [ready-api-soapui-3.46.1.jar:3.46.1]
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:130) [ready-api-soapui-3.46.1.jar:3.46.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
12:08:06,743 ERROR [SoapUI] An error occurred [Cannot setup signature data structure], see error log for details
12:08:06,748 ERROR [errorlog] org.apache.wss4j.common.ext.WSSecurityException: Cannot setup signature data structure