• Christopher Arrandale
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hello. I'm sorry if this is a silly question. I'm using VB .Net WPF and I'm trying to use the Enterprise SOAP API. I'm using this guide: https://developer.salesforce.com/docs/atlas.en-us.224.0.api.meta/api/sforce_api_quickstart_steps_import_wsdl.htm

I'm getting some errors in the autogenerated class. I know that there is a bug but I'm not fully understanding what that fix is for if it applies here. If you need any more information please let me know. Thank you!
Severity	Code	Description	Project	File	Line	Suppression State
Error	BC30663	Attribute 'GeneratedCodeAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'SerializableAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DebuggerStepThroughAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DesignerCategoryAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'XmlTypeAttribute' cannot be applied multiple times.
Warning		Custom tool warning: Schema could not be validated. Class generation may fail or may produce incorrect results
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.	
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.


 
Hello. I'm sorry if this is a silly question. I'm using VB .Net WPF and I'm trying to use the Enterprise SOAP API. I'm using this guide: https://developer.salesforce.com/docs/atlas.en-us.224.0.api.meta/api/sforce_api_quickstart_steps_import_wsdl.htm

I'm getting some errors in the autogenerated class. I know that there is a bug but I'm not fully understanding what that fix is for if it applies here. If you need any more information please let me know. Thank you!
Severity	Code	Description	Project	File	Line	Suppression State
Error	BC30663	Attribute 'GeneratedCodeAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'SerializableAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DebuggerStepThroughAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DesignerCategoryAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'XmlTypeAttribute' cannot be applied multiple times.
Warning		Custom tool warning: Schema could not be validated. Class generation may fail or may produce incorrect results
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.	
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.