sdk icon indicating copy to clipboard operation
sdk copied to clipboard

ASP.Net Core 2 Web API method fails calling SOAP Web Service call with SiteMinder agents Enabled

Open nilanthasj opened this issue 8 years ago • 2 comments

General Information

A .NET Core Web API project that consumes a SOAP web service. The methods that consume SOAP works well in the deployment server, perfect. When the SiteMinder agents (CA SiteMinder Web Agent Module and CA SiteMinder Web Agent Module-32) enabled, SOAP call fails.

Can somebody help me to identify/fix this issue?

Information

SOAP web service call fails in the async call (Please see the code) Method // Calls SOAP endpoint Task pocoOutput = await serviceClient.SAP_DATAService_LISTAsync(request) pocoOutput. Wait()

Inner Exception

System.ServiceModel.CommunicationException: An error occurred while sending the request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: Not enough storage is available to complete this operation at System.Net.Http.WinHttpHandler.ThrowOnInvalidHandle(SafeWinHttpHandle handle) at System.Net.Http.WinHttpHandler.EnsureSessionHandleExists(WinHttpRequestState state) at System.Net.Http.WinHttpHandler.d__105.MoveNext() --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.ServiceModel.Channels.ServiceModelHttpMessageHandler.d__41.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at System.Net.Http.HttpClient.<FinishSendAsyncUnbuffered>d__59.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.ServiceModel.Channels.HttpChannelFactory1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.d__13.MoveNext()

Environment data

Product Information: Version: 2.1.202 Commit SHA-1 hash: 281caedada

Runtime Environment: OS Name: Windows OS Platform: Windows Base Path: C:\Program Files\dotnet\sdk\2.1.202\

Microsoft .NET Core Shared Framework Host

Version : 2.0.9 Build : 1632fa1589b0eee3277a8841ce1770e554ece037

nilanthasj avatar Sep 17 '18 17:09 nilanthasj

This issue was moved to dotnet/corefx#32319

livarcocc avatar Sep 17 '18 17:09 livarcocc

Corrected a typo Method // Calls SOAP endpoint Task< POCOClass > pocoOutput = await serviceClient.SAP_DATAService_LISTAsync(request) pocoOutput. Wait()

nilanthasj avatar Sep 17 '18 19:09 nilanthasj