Path: redb-route/redb.Route.Controllers/Attributes/SoapOperationAttribute.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Controllers/Attributes/SoapOperationAttribute.cs ---- namespace redb.Route.Controllers.Attributes; /// /// Maps a controller method to a SOAP operation — the local name of the <soap:Body> root element /// the SOAP consumer surfaces on redbSoap.operation. Optional: without it the method name is the /// operation. Use it when the request element name differs from the method name. /// /// [SoapOperation("GetFares")] /// public Task<GetFaresResponse> Fares([FromBody] GetFaresRequest req) => ...; /// /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class SoapOperationAttribute : Attribute { /// The SOAP operation name (the request Body element's local name). public SoapOperationAttribute(string operation) => Operation = operation; /// The SOAP operation name. public string Operation { get; } }