Saturday, February 28, 2015

Enterprise WSDL .Net Unable to generate a temporary class (result=1)

"Unable to generate a temporary class (result=1)" is returned when .Net integration tries to parse the Enterprise WSDL version 32.0, 33.0         


Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'sfweb.ListViewRecordColumn[]' to 'PBusinessLayer.sfweb.ListViewRecordColumn'
error CS0030: Cannot convert type 'sfweb.ListViewRecordColumn[]' to 'PBusinessLayer.sfweb.ListViewRecordColumn'
error CS0029: Cannot implicitly convert type 'sfweb.ListViewRecordColumn' to 'PBusinessLayer.sfweb.ListViewRecordColumn[]'
error CS0029: Cannot implicitly convert type 'sfweb.ListViewRecordColumn' to 'sfweb.ListViewRecordColumn[]'


  • Find "ListViewRecord"
  • Change Only "<xsd:attribute name="tmp" type="xsd:string" />"

<complexType name="ListViewRecord">
                <sequence>
                    <element name="columns"                  type="tns:ListViewRecordColumn" maxOccurs="unbounded"/>
                </sequence>
<xsd:attribute name="tmp" type="xsd:string" />
            </complexType>

No comments:

Post a Comment