When consuming an existing service (out of my control to change anything), I am getting the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
After exposing the service in MSE, I am getting the reduced version as follows:
This leads to my generated code in VS to crash with the exception under. It has been generated from the MSE wsdl.
[...].ScoreTest threw exception: System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'score'. ---> System.InvalidOperationException: There is an error in XML document (62,
42). ---> System.InvalidOperationException: Namespace prefix 'xsd' is not defined[...]
The line in question is
Any thoughts on how I can solve the exception problem?