WS-Security, or web service security is a soap extension which provides eg signing of soap messages.
Questions tagged [wsse]
147 questions
1
vote
2 answers
gSOAP WSSE Header missing xmlns namespace declarations
I have a problem generating a gSOAP security header (WSSE). I have compiled all the necessary file and used the following calls to add the WSSE security header to the…

Daniel Retief Fourie
- 626
- 2
- 10
- 20
1
vote
1 answer
Adding WS-Security Credentials to SOAP headers using WCF
I am trying to communicate with a Java web service that I have no control over, and I'm trying to create a binding that'll work.
Timestamp is not allowed in the header, so in order to use the includeTimestamp="false" attribute, I have to use a…

Scott Baker
- 10,013
- 17
- 56
- 102
1
vote
1 answer
Signature failed core validation error
I have designed a WCF.net client that sends a SOAP request to the vendor. To meet vendor WS security requirements , I have to create a custom SOAP header and send request with the custom header to the web service on the vendor side. So i created a…

wcfvemi
- 159
- 1
- 4
- 10
1
vote
0 answers
Java- SalesForce SOAP API integration- adding to SOAPHeader for
I am trying to connect to Salesforce from java client using SOAP api. The integration requires me to add wsse:Secuirty headers to enter proxy credentials. Anyone has done this before?
I need to set wsse:security SoapHeader in my request, could not…

Quest_sfdc
- 111
- 2
1
vote
0 answers
Adding WSSE security headers to PHP's SoapServer Response, using robrichards/wse-php
I am trying to add WSSE Security headers to a SOAP XML message that is created from PHP's SoapServer::handle(). This should be done using SoapServer::addSoapHeaders(new SoapHeaders(...)), but I am unsure how to set specific WSSE security headers to…

Inèlic
- 71
- 1
- 2
1
vote
0 answers
Incorrect XML digest value
Description
I'm trying to calculate a digest value for a XML digital signature. The problem is that I can't calculate a correct digest value.
For the testing purpose I'm using a sample request which is populated with the valid data and my goal is to…

Tommy Chu
- 103
- 1
- 6
1
vote
0 answers
Adding wsse:Security token with message signature
I am trying to send a request via web service (SoapHttpClientProtocol) method. Unfortunately for me, this request requires to have wsse:Security Token in soap header, with signature of request xml, and raw data of public key (as I understand).
Soap…

Nikolai MD
- 11
- 2
1
vote
1 answer
Symfony + WSSE: Why is the nonce cache folder 20GB in size?
I am working on a Symfony 3.4 based projects which uses a WSSE authentication as described in the Symfony docs.
Each nonce is stored as separate file in the cache dir myProject/var/cache/prod/security/nonces. Probelm is, that this dir becomes very,…

Andrei Herford
- 17,570
- 19
- 91
- 225
1
vote
1 answer
Generating Username Token For Soap Request
I am trying to generate SOAP Username token using C# but without success
UserName

AAHN
- 381
- 1
- 4
- 18
1
vote
0 answers
Python Zeep - di: precdix not showing on security headers
I'm trying to interact with a SOAP web service using Zeep.
The security headers generated by Zeep seem similar to the documentation of the web service but I notice that several nodes (Signature for example) miss a di:-prefix compared to the…

Thomas Nys
- 359
- 3
- 16
1
vote
0 answers
How to fix "attribute xmlns:wsse invalid" error where calling SOAP web service in NodeJS using node-soap
I am trying to call a web service that requires authetication via X509 certificate. I'm using Node.js and node-soap module, getting successfully the WSDL.
But when I try to build the SOAP envelope with the Signature tag inside, I get the following…

jairochapela
- 38
- 1
- 6
1
vote
1 answer
Emulating a soapUI signed request with nodejs
Turns out that I have tested a webservice via soapUI configuring a keystore with a pem certificate I got.
When I apply the outgoing WSSE signature I get a wsse:Security element like this:
…

RicardoE
- 1,665
- 6
- 24
- 42
1
vote
1 answer
Write Cert to DER
I'm trying to write a X509 Cert to DER format in memory.
Writing it to a file works perfectly.
I need the Cert in PEM format without the "-----BEGIN PRIVATE KEY-----" header, footer or newlines. I can't figure out how to do it directly so...
I'm…

PaulE
- 33
- 6
1
vote
0 answers
Adding soapenv:mustUnderstand="1" attribute to Security tag in Header of SOAP request with SimpleXMLElement object
My problem is with SOAP Header in PHP. I can not set mustUnderstand attribute to soap request.
Could you please help me for my code?
$root = new SimpleXMLElement(' ');
$security = $root->addChild('wsse:Security', null,…

Ozzlem
- 29
- 4
1
vote
0 answers
Decryption is not happening in soap ui
Encryption is happening successfully in soap ui it is reaching server and server is replying with proper response without any issue. However while upon receiving in soap the encrypted response is not getting decrypted and in error log I'm getting…

janakiram madurai
- 31
- 1
- 5