Добрый день!
Пытаюсь в проект подключить WSDL сервис. Пробовал сгенерировать
SvcUtil.exe /t:code http://.....?wsdl /out:user_bed_profile_filter.cs /serializer:XmlSerializer /wrapped
В GUI пробовал добавить сервис двумя способами - как Web Reference и как Service Reference.
Если Web Reference или через класс, сгенерированный SvcUtil.exe, то ошибка
A first chance exception of type 'System.InvalidOperationException' occurred in System.Xml.dll
Additional information: Возникла ошибка при отражении "FilterRowsRequest".
Если Service Reference, то
A first chance exception of type 'System.InvalidOperationException' occured in System.ServiceModel.dll
Additional information: Атрибут XmlSerializer System.Xml.Serialization.XmlAttributeAttribute не является допустимым в user_name. Если IsWrapped имеет значение true, то поддерживаются только атрибуты Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute и XmlAnyElement



Как правильно сгенерировать класс для работы с сервисом WSDL?