.Net Core 3.1 connection to Dynamics GP Web Services will not work. Is there a solution? RRS feed

  • Question

  • User-163969457 posted

    I have tried to use the Microsoft WCF Web Service Reference Provider to create a connection to GP Web Services from inside a .NET Core 3 web API project and am getting an error stating "No endpoints compatible with .Net Core apps were found". Says that the System.ServiceModel.Channels.SymmetricSecurityBindingElement element type is unsupported.

    GP Web Services are running and in use by an older web site so they are actively in use and therefore not the problem.

    As a result of the errors, I cannot generate a proxy using either the legacy or the native end point WSDL’s from inside a .NET Core project.

    I also cannot reference a project using an older version of Microsoft .NET framework from the newer Microsoft .NET Core project. This means I cannot just reference the existing project we use or even try to make a new project with the older framework as the base.

    I would like to ask if anyone else has this issue and has found a workaround or a way to utilize GP Web Services from a .NET Core 3 project when they cannot create the proxy through the means provided by Microsoft? Unhappy with this since they are both Microsoft products and you would think they could talk to each other ...

    Thursday, March 19, 2020 6:39 PM

All replies

  • User-474980206 posted

    looks like this is fairly unsupported web service. also asp.net core has limited WCF support. You may find it easier to write a proxy server in 4.* that supports a rest api callable from asp.net core.

    Thursday, March 19, 2020 11:17 PM