UsernameToken SOAP in .NET Core 5.0
Open
triaged
- Dominant language
- C#
- Stars
- 1.8k
- Forks
- 576
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 2
Description
Hello,
I have problem with send SOAP xml file to service. I get error like: "wsse:FailedAuthentication
Failed to assert identity with UsernameToken. "
I think that I'm send correct imitation of UsernameToken. It look like this:
```
user
e4lt9L9z/Zu9a3WlcLEqzIEaz94=
0JGFVXqhNMr6wz0RTToMXw==
2023-08-08T14:12:44Z
}
```
Any idea? Maybe I'm generate not correctly wsu:ID?
`this.Id = $"SecurityToken-{Guid.NewGuid()}";`
Generated password, nonce and time of created is correctly.
In project .net framework 4.8 this work fine, but in .net core 5.0 I cant send request to service. Im using this code: https://github.com/dotnet/wcf/issues/3248
Contributor guide
Assessment
This issue has not been assessed yet.