There is a WSDL webservice out of control of which I am having problems; I can interact with this service using soapUI and using Add service link → advanced → Add web link without problems.
However, when I try to talk to him using the standard Add Service Reference method (add a service link, connect using the generated code from wsdl.exe), I get the following error:
The XmlSerializer System.Xml.Serialization.XmlChoiceIdentifierAttribute attribute is not valid on elements. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.
Description. An unhandled exception occurred during the execution of the current network. inquiry. View the stack trace for more information about the error and it came from the code.
Exception Details: System.InvalidOperationException: XmlSerializer System.Xml.Serialization.XmlChoiceIdentifierAttribute attribute is not valid in elements. Only the XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute, and XmlAnyElement attributes are supported when IsWrapped is true.
I read some things saying that there is some SOAP incompatibility between Java and .NET, but when searching around I can find almost anyone who has this problem, making me think that I should be doing something wrong?
source
share