Sorry for the headline, but this is the best I can do now ...
My problem is this:
Here http://www.opcfoundation.org/webservices/XMLDA/1.0/ I use VS2010 to create a link to the service. I create it without any problems.
I want to implement a service interface that creates my service. Therefore, I implement the Service interface.
I am creating an svc file:
<% @ServiceHost Language = "C #" Debug = "true" Service = "Full class name (class that implements the service interface)"%>
OK, I got the following:
The XmlSerializer System.Xml.Serialization.XmlAttributeAttribute attribute is not valid in LocaleID. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.
Let me point out the following: Do not ask me about the Web.config file whether it has service model configuration parameters or not, itβs not, the same problem persists.
What a problem ???
I was wondering how to solve this, I would like to note that in the past someone used wsdl.exe to create an asp.net service link that uses WebService and WebMethod as service attributes, this approach does not lead to this error. But I would like to use WCF ...
Thankyou
source share