When I run the SoapConsole on VS2017 for MAC I get the following.
System.MissingMethodException: void System.ServiceModel.Channels.HttpTransportBindingElement.set_MaxPendingAccepts(int)
at SoapConsoleApplication.Program.Main (System.String[] args) [0x00026] in Dynamics-AX-Integration-master/ServiceSamples/SoapConsoleApplication/Program.cs:22
However if I run the same code on a Windows machine it works fine.
Its failing on
var httpsTransportBindingElement = binding.CreateBindingElements().OfType().FirstOrDefault();
if (httpsTransportBindingElement != null)
{
httpsTransportBindingElement.MaxPendingAccepts = 10000; // Largest posible is 100000, otherwise throws
}
When I run the SoapConsole on VS2017 for MAC I get the following. System.MissingMethodException: void System.ServiceModel.Channels.HttpTransportBindingElement.set_MaxPendingAccepts(int) at SoapConsoleApplication.Program.Main (System.String[] args) [0x00026] in Dynamics-AX-Integration-master/ServiceSamples/SoapConsoleApplication/Program.cs:22
However if I run the same code on a Windows machine it works fine.
Its failing on var httpsTransportBindingElement = binding.CreateBindingElements().OfType().FirstOrDefault();
if (httpsTransportBindingElement != null)
{
httpsTransportBindingElement.MaxPendingAccepts = 10000; // Largest posible is 100000, otherwise throws
}
Any ideas. Steve