Skip to content

Commit

Permalink
Merge pull request #524 from DigDes/develop
Browse files Browse the repository at this point in the history
1.1.0.2
  • Loading branch information
kotovaleksandr authored Sep 24, 2020
2 parents cff1f9c + e991372 commit 4cd6405
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,11 @@ public class MyService : IMyServiceService

See [Contributing guide](CONTRIBUTING.md)

### Contributors
<a href="https://github.com/digdes/soapcore/graphs/contributors">
<img src="https://contributors-img.web.app/image?repo=digdes/soapcore" />
</a>

Made with [contributors-img](https://contributors-img.web.app).

![](https://github.com/DigDes/SoapCore/workflows/CI/badge.svg)
4 changes: 2 additions & 2 deletions src/SoapCore/SoapCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Description>SOAP protocol middleware for ASP.NET Core</Description>
<VersionPrefix>1.1.0.2-beta</VersionPrefix>
<VersionPrefix>1.1.0.2</VersionPrefix>
<Authors>Digital Design</Authors>
<TargetFrameworks>netcoreapp3.0;netstandard2.0;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<AssemblyName>SoapCore</AssemblyName>
Expand All @@ -14,7 +14,7 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<Version>1.1.0.2-beta</Version>
<Version>1.1.0.2</Version>
<DelaySign>false</DelaySign>
<AssemblyOriginatorKeyFile>SoapCore.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand Down
11 changes: 10 additions & 1 deletion src/SoapCore/SoapEndpointMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,17 @@ private async Task ProcessOperation(HttpContext httpContext, IServiceProvider se
}
}

Message requestMessage;
//Get the message
Message requestMessage = await ReadMessageAsync(httpContext, messageEncoder);
try
{
requestMessage = await ReadMessageAsync(httpContext, messageEncoder);
}
catch (Exception ex)
{
await WriteErrorResponseMessage(ex, StatusCodes.Status500InternalServerError, serviceProvider, null, messageEncoder, httpContext);
return;
}
var messageFilters = serviceProvider.GetServices<IMessageFilter>().ToArray();
var asyncMessageFilters = serviceProvider.GetServices<IAsyncMessageFilter>().ToArray();

Expand Down

0 comments on commit 4cd6405

Please sign in to comment.