WS-Security, or web service security is a soap extension which provides eg signing of soap messages.
Questions tagged [wsse]
147 questions
3
votes
0 answers
Signing a SOAP certificate in Delphi 2010
I'm working on signing some SOAP XML in Delphi 2010.
I've got most of it worked out (and I do have a .net working example)
I've got the c14n and digests all worked out 100%
I'm quite confident I'm doing the right thing with my signing certificate.
I…

Robbie Matthews
- 1,404
- 14
- 22
3
votes
1 answer
zeep soap12 wsdl+mtom+wsse how to make request?
TPA.wsdl https://pastebin.com/7DBhCHbv
DataService.xsd https://pastebin.com/AFhg64hH
from zeep import Client
import base64
from requests import Session
from zeep.wsse.username import UsernameToken
from zeep.transports import Transport
from…

Dmitrij Holkin
- 1,995
- 3
- 39
- 86
3
votes
0 answers
MessageSecurityException for WCF customBinding UsernameOverTransport for WSSE
I need to implement a WCF service that conforms to the specs set forth by Phase II CORE 270 Connectivity Rule.
I generated the service using svcutil.exe and the supplied wsdl.
Given that we had chosen to handle security through username/password…

Pmilizia
- 31
- 4
3
votes
0 answers
Symfony FOSRestBundle + WSSE + FOSUserBundle
I'm having trouble setting up a wsse security on my Symfony API.
I'm following the tutorial Configure WSSE on Symfony with FOSRestBundle based on How to Create a custom Authentication Provider
The issues are :
How do I manage to use FOSUserBundle…

adaba
- 374
- 1
- 18
3
votes
0 answers
Creating a WCF Service utilizing WSSE Security (PasswordDigest)
I need to create a secure WCF Web-service which conforms to the Oasis 2004 standard(http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd)
I have been given example requests, which will be sent to me by a 3rd party. The…

Declan
- 1,850
- 1
- 18
- 23
3
votes
1 answer
C# Encoding wsse security password_digest with SHA-1 and Base64 not matching server password_digest
I am consuming a web service which requires wsse security in the header of the soap requests and consists of the created, nonce and password digest. The web server uses these values to authorise a genuine request.
The password digest is created…

user3371139
- 43
- 1
- 5
2
votes
1 answer
WSSE Security header
Hope somebody can help me out.
I am trying to call this Web Service
https://link.hertz.com/AuthenticationWebservice/authenticateAdmin?wsdl
I have been said that I need to pass the following info for authentication with the web service:
username =>…

Hari
- 477
- 1
- 9
- 20
2
votes
1 answer
UsernameToken with Timestamp token || Python || WS-Security (WSSE)
I should recreate this part of the payload using python.

mattia.marteddu
- 43
- 5
2
votes
1 answer
SOAP WCF add Signature and BinarySecurityToken to header
I need something more, Signature must be within a Security tag inside Header tag, with a BinarySecurityToken element
Just like:

mskuratowski
- 4,014
- 15
- 58
- 109
2
votes
0 answers
Using wssecurity when consuming a webservice with zeep
So I have been trying to consume a webservice that requires the use of wssecurity.
I got a .p12 file that I have divided into two .pem files. One that contains the private key and the other that contains the certification file by using openssl.…

Mnemonics
- 679
- 1
- 10
- 26
2
votes
0 answers
Rampart: Define password without using CallbackHandler
I have the following working code, that successfully connects to a WS using WSSecurity with UsernameToken authentication:
public void addValidation(
Stub stub) throws Exception {
ServiceClient serviceClient = stub._getServiceClient();
…

SJuan76
- 24,532
- 6
- 47
- 87
2
votes
1 answer
How to use httr correctly for X-WSSE Authentification?
I´m trying to connect to the API of emarsys. They use X-WSSE as authentification method and i´m stuck and need to figure out what i am doing wrong. I tried to make the header as requested, but i don´t know where it went wrong. I´m very thankful for…

Niels
- 150
- 3
- 11
2
votes
1 answer
Generating SOAP Headers in MVC C#
I have added a service reference in my project.
I need to pass in the security header as per below
username
…

Wolver1ne
- 125
- 1
- 11
2
votes
1 answer
How to add timestamp to signature with zeep?
I am trying to create a client that consumes WSDL file and produces a proper SOAP message.
This is how I'm creating the client:
client = Client(
wsdl=wsdl
,transport = transport
,wsse = Signature('key.pem', 'cert.pem')
…

ierdna
- 5,753
- 7
- 50
- 84
2
votes
1 answer
gSOAP - is there a way to specify the time for soap_wsse_add_UsernameTokenDigest?
I'm trying to use gSOAP to talk to a network camera that supports ONVIF, and I need a way to specify the time that soap_wsse_add_UsernameTokenDigest uses when it hashes the password.
At the moment I'm unable to insure that both the camera and my…

Michael Kohne
- 11,888
- 3
- 47
- 79