Hi All,
Can KS generate SIGNED WSS headers from java keystore (JKS) files along with timestamp and include them in run time to the SOAP headers of the SOAP request. How to do it in KS. I have explained the way we do it in SOAP UI and I was able to crack this in Jmeter as well. Looking through whether KS can support it.
In SOAP UI, we upload WSDL file while creating a New SOAP project. We do not have online WSDL of the service, “LOAD from WSDL” will not work in KS as it throws error. In SOAP UI, we add the JKS file with password in Keystore section of the project and create signature and timestamp from “Outgoing WS-Security Configuration” section in project. Please refer WS-SecurityConfig image file.
After completing this, we add this header by applying the WS security to the SOAP request. By default, this is added to the SOAP header. Apart from this we add the SOAP Action Header with the service or operation name. Then this request successfully works.
Questions in KS.
- No online WSDL in my case, Will adding the WSDL file helps me
- How to add the JKS and password. In project->settings->Network, I added the JKS file and password, but no effect
- After adding the JKS files, how to confirm the signature and timestamp are generated
- How to add this signature and timestamp to SOAP service under object repository dynamically during run time
- How to capture the output of one webservice and pass it as input to other webservice in KS API.
Appreciate your understanding and help.
Thanks
LK