Reputation: 319
We are trying to use a 3rd party's SOAP API in our .NET Core Web App. We have tried 2 things to get the classes generated from the WSDL file they provided us.
In both cases, Visual Studio recognizes the classes, provides the expected intellisense & the solution builds successfully. We added the System.ServiceModel.Primitives
nuget as well, as suggested in the link in #2.
However, when we attempt to call any method on the client we get the error 'Entry point was not found'.
var binding = new BasicHttpsBinding(BasicHttpsSecurityMode.Transport);
var address = new EndpointAddress("{SOAP Endpoint Address}");
var client = new ItemDefinitionServiceEndpointClient(binding, address);
var response = await client.findAllAsync(); // This throws the 'Entry point was not found' error
How can we resolve this? Any help would be greatly appreciated!
Upvotes: 1
Views: 808
Reputation: 319
After a day & a half, I discovered I needed to update the System.ServiceModel
nuget packages in my project.
Upvotes: 1