0

I'm trying to generate a proxy to access some iWay business services (iBSP) from VS2010.

When I use "Add Service Reference", I get and exception trying to consume any service:

XmlSerializer attribute System.Xml.Serialization.XmlAttributeAttribute is not valid in cid. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.

This exception happens before the request is actually made (I can't see any request in fiddler).

When I use "Add Web Service", the request goes OK and I can see the soap response with many records in fiddler, but in .net the result array comes empty (null to be more precise).

Any ideas?

andrecarlucci
  • 5,927
  • 7
  • 52
  • 58
  • Have u tried running svcutil.exe from the command line? Same exception? I'm not sure about this specific problems but I had problems before generating proxies for WCF. It could be the length of the xml attributtes name or something else. You could try setting different WCF configurations for the SVCUtil.exe configuration using SVCUtil.exe.config – tucaz Jun 21 '11 at 18:36
  • Also, is there any public WSDL we could use to try to replicate the problem? – tucaz Jun 21 '11 at 18:38
  • The svcutil also doesn't work, and the wsdl is not public :( – andrecarlucci Jun 24 '11 at 17:03

0 Answers0