WS-Security, or web service security is a soap extension which provides eg signing of soap messages.
Questions tagged [wsse]
147 questions
65
votes
1 answer
Python sign SOAP request using BinarySecurityToken
I'm trying to sign a SOAP request with a certificate using python. I've tried python-zeep and its Signature methods and suds with py-wsse. Both don't give me the expected result.
Zeep gives me:

pawni
- 761
- 5
- 3
21
votes
2 answers
JAX-WS Password Type PasswordText
I've got a simple command line Java JAX-WS app to test a SOAP request, but the server is expecting the Password Type to be PasswordText and I'm stumped on how to set this...
The code looks like so:
@WebServiceRef
private static final HelloService…

marktucks
- 1,771
- 1
- 16
- 21
11
votes
2 answers
Spring WS: How to apply Interceptor to a specific endpoint
I have multiple working SOAP Web Services on a Spring application, using httpBasic authentication, and I need to use WS-Security instead on one of them to allow authentication with the following Soap Header.

Christophe Douy
- 813
- 1
- 11
- 27
7
votes
0 answers
How to add header your soap request in c#
Header Object
[Serializable]
[DataContract(Namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")] // This object serialize specific namespace
public class Security
{
[DataMember] // This object…

smokeonthe
- 79
- 1
- 2
6
votes
1 answer
Checking signature in WS* server implementation
I want to verify a signature for a soap request on a soap server implemented in php.
The server code:
$Server = new SoapServer();
$d = new DOMDocument();
$d->load('php://input');
$s = new WSSESoapServer($d);
try {
if($s->process()) {
…

soulfreshner
- 366
- 1
- 15
5
votes
2 answers
How to sign XML with xmlsec (or other more appropriate package)
I start with an XML like this one:
myXML="""
…

Dean MacGregor
- 11,847
- 9
- 34
- 72
5
votes
2 answers
Zeep not recognizing all operations
When I do python -mzeep https://testingapi.ercot.com/2007-08/Nodal/eEDS/EWS/?WSDL
the operations are blank. When I pull that up in a browser I can find many things under an tag. What am I missing?
I'm not sure if this is relevant but…

Dean MacGregor
- 11,847
- 9
- 34
- 72
5
votes
0 answers
Consume SOAP WS-Security with Node or PHP
I'm trying to consume a SOAP WS-Security service using Node and the request must to have a summary structure like:
…

Juan David Robles
- 113
- 1
- 8
5
votes
1 answer
Need help creating a valid nonce
I am trying to consume a web service that uses Password Digest mode, and I have these functions in my Java application to generate a random nonce, creation date and password digest. I can't get past the Authentication Failed error, and the…

Amy
- 55
- 1
- 1
- 4
5
votes
1 answer
SoapUI WS-Security Token
I'd like to make a call against a web service that uses WS-Security with SoapUI. No luck so far with SoapUI tutorials. Would love any advice.

kakridge
- 2,153
- 1
- 17
- 27
4
votes
1 answer
XML DigestValue Re-calculate
I got correctly signed XML file generated by SoapUI. Code below is part of WSSE Header.
…

Rob
- 71
- 5
4
votes
5 answers
Symfony3 Docs WSSE fail "Cannot replace arguments if none have been configured yet"
Following this
http://symfony.com/doc/current/security/custom_authentication_provider.html
Results in
Service "security.authentication.provider.wsse.wsse_secured": Cannot replace arguments if none have been configured yet.
I cannot find anything…

Jake N
- 10,535
- 11
- 66
- 112
4
votes
0 answers
WS-Security actions explanation specifically SAML related
The WSHandlerConstants class defines action constants like SAML_TOKEN_SIGNED and SAML_TOKEN_UNSIGNED
I am struggling to find any documentation about these action constants, after looking around a lot I am still unable to find explanation for the…

Sudarshan
- 8,574
- 11
- 52
- 74
4
votes
1 answer
How to set password type "PasswordText" in the WSSE Security Header with WCF
I want to have an wsse security header in which the Password Type is set to "PasswordText" like in the following SOAP snippet:
usrnm

strangeoptics
- 753
- 8
- 17
4
votes
2 answers
How to identify NAMESPACE, METHOD_NAME, URL and SOAP_ACTION from WSDL and SOAP message
I have some problem in parsing a SOAP web service. How can i identify the NAMESPACE, METHOD_NAME, URL and SOAP_ACTION from WSDL and also how can i handle using SoapObject.
I want to call the soap in android.
Below are the WSDL AND SOAP REQUEST…

Gowtham
- 47
- 1
- 1
- 8