Ask a Question

SOAPUI not signing/ security header empty

New Contributor

SOAPUI not signing/ security header empty

Hi, Ive been stressed out by this item. Ive followed through the following guide: soapui keystore + security guide , double checked everything (keystore status = OK) and created the corresponding "Outgoing WS-Security Configurations". Added Signature and Timestamp, both items fully configured.

Later I added, to my Request, a Basic Auth (pre-emptive auth: Use global preference) and pointed "Outgoing WSS" to my created configuration.

The service that I need to connect with is stating: "An error occurred when verifying security for the message."

I do believe that the reason behind all of this is because Im not seeing a security or signature token anywhere (or they are empty). I even tried creating a Mock Service, in order to review the exact message that Im sending and its as follows (extracted from raw):
<soap:Envelope xmlns:soap="" xmlns:wcf="http://wcf.dian.colombia">
<soap:Header xmlns:wsa=""><wsse:Security xmlns:wsse="" xmlns:wsu=""/><wsa:Action>htt...>


As stated, this is almost empty. I reviewed other cases on site and they tended to go into two directions:
* Incorrect or missing configuration: Im pretty sure Ive followed through every required step, I even checked multiple guides on this item.

* Invalid JKS store: I tried with multiple certificates, even created one following a guide from smartbear for this purpose (right now, Im unsure which) and, as stated, all of them show Status = OK.


Im terrible frustrated by this, which I do require for work, so if anyone could point me out on the correct direction... Ill really appreciate it.





New Contributor

Re: SOAPUI not signing/ security header empty

Sorry, but there have been further updates... its fixed!!! The guide that I was following stated an incorrect namespace for the signage document. Ive found out this through the error log (soapui.log within soapui program folder) and within Ive found:

2019-09-07 13:52:51,653 ERROR [SoapUI] An error occurred [Signature creation failed (Cannot setup signature data structure)], see error log for details
2019-09-07 13:52:51,654 ERROR [errorlog] Signature creation failed (Cannot setup signature data structure) Signature creation failed (Cannot setup signature data structure)
at com.eviware.soapui.impl.wsdl.submit.filters.WssRequestFilter.filterWsdlRequest(
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterAbstractHttpRequest(
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.filterRequest(
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.filterRequest(
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(
at java.util.concurrent.Executors$ Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Caused by: General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found:, Body)
... 15 more

Showing results for 
Search instead for 
Did you mean: