I have a WebServiceHost that is being used to host some web services in a console app. I added a service reference to it in my client app and create the proxy like so:
Two solutions I found:
If you can remove
From
If you cannot, I had to add the attribute
[WebInvoke(BodyStyle = WebMessageBodyStyle.WrappedRequest)]
Above the Operation Contact Method