Assistance needed with CommerceSDK migration. Generated code for SOAP web service consumption results in a reference.cs class that cannot function under .netstandard 2.0 framework #44
Unanswered
SuryaMSSupp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We added a WCF service reference as a connected service using the WSDL file from the customer's web service. This creates generated code for the service's objects and a consumer class in Reference.cs.
At the moment that the class actually tries to invoke the webservice, it fails because it attempts to call on a property in System.ServiceModel that is obtained using System.Reflection.Emit, which is not supported on .netstandard 2.0
Without this service call, the customer cannot do any POS sales as the service checks on hand inventory before being able to sell the product (product must be in stock).
Please assist in getting this to work. What is the MS recommended way to consume this service in .netstandard 2.0. I thought we used the right way, so is this a bug perhaps?
Beta Was this translation helpful? Give feedback.
All reactions