Forum Discussion

Fax1's avatar
Fax1
Visitor
3 years ago

soapenv header empty/Signature creation failed

Hi, 

 

I keep getting error messages like "Signature creation failed (Cannot setup signature data structure)" caused by "General security error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd, Timestamp". 

My keystore status is OK, created the corresponding "Outgoing WS-Security Configurations" and added Signature and Timestamp. Under signature i have selected Binary Security Token and also added two "parts", Timestamp (namespace = http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd) and Body(namespace = http://schemas.xmlsoap.org/soap/envelope/). Se picture. 

In addition I have added a Basic Auth (pre-emptive auth: Authentication pre-emptivley) and used my selected configuration to "Outgoing WSS".

 

It seems like it has something to do with my header??

I have read several guides, but nothing seem to work. I hope someone could help, Ill appreciate every advice.

 

Thank you!!

 

 

 

No RepliesBe the first to reply