Naming conflict error while consuming SAP Web Service in .net

You can fix this issue by adding Global before all calls giving the error. This has happened cos of system namespace in BAPI and Windows.


Another possible solution of this is by adding an alias for System.XML and change System.XML with SysXml as below:

using SysXml = System.Xml;

/// <remarks/>
public string Type {
   get {
      return this.typeField;
      set {
         this.typeField = value;

Updated on: 18-Dec-2019


Kickstart Your Career

Get certified by completing the course

Get Started