SAP .NET Connector (SAPNCO) & .Net Core

家住魔仙堡 提交于 2019-12-21 21:37:52

问题


The SAP .NET connector is not compatible with the .NET Core framework. Is there any other way to retrieve data from SAP when using .NET Core?

I've allready searched for an alternative in the nuget package manager but I did not found one. Is there any workaround I can use? I would very much like to benefit from the performance of .NET Core but I also need to be able to connect to SAP.


回答1:


I accept that you have an SOAP based Service on SAP side and you try to connect this SAP service via .NetCore. If this senerio is true, unfortunetelly you can not connect SOAP service with .NetCore via "Add Service Reference." But you can search about ".NetCore Wcf Client Service".

Another solution is that use Rest Service and simulate SOAP protocol.

Here is the sample problem and solution at there.

Client to send SOAP request and received response




回答2:


​I have created a library to easly making SAP RFC calls from .NET CORE Libray is supported in Windows, Linux and macOS. Check it solves your needs https://github.com/nunomaia/NwRfcNet/



来源:https://stackoverflow.com/questions/49627008/sap-net-connector-sapnco-net-core

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!