Open
Description
I have hit the same issue noted here https://bugzilla.xamarin.com/show_bug.cgi?id=51959
To reproduce
- Using VS 2017 15.5.2
- Create a Xamarin cross platform app and select '.NET standard option' and 'Android'
- Since it's not possible to add a web service reference to the shared assembly (will open separate bug) add a .NET standard 2.0 class library project to host the web service reference.
- Create a reference to a WCF service from the class library. Using basicHttpBinding will do.
- All methods in the service are async, which is fine, except calling one (called GetVersion in this case) results in:
Error in deserializing body of request message for operation 'GetVersion'. OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name 'GetVersion' and namespace 'hexcel.com'. Found node type 'Element' with name 'GetVersionAsync' and namespace 'hexcel.com'