public SoapSapRfcConnection(SapSoapRfcDestinationElement destination) { this.Destination = destination; this._webClient = new SoapRfcWebClient(this.Destination); this.metadataCache = new SoapRfcMetadataCache(this._webClient); this.structureMapper = new SoapRfcStructureMapper(new SoapRfcValueMapper()); }
public SoapSapRfcConnection(string name) { this.Destination = SapSoapRfcConfigurationSection.GetConfiguration(name); this._webClient = new SoapRfcWebClient(this.Destination); this.metadataCache = new SoapRfcMetadataCache(this._webClient); this.structureMapper = new SoapRfcStructureMapper(new SoapRfcValueMapper()); }
protected override SapRfcConnection GetConnection() { SapSoapRfcDestinationElement cfg = new SapSoapRfcDestinationElement(); cfg.Client = "001"; cfg.Name = "CUSTOM-SOAP-CONN"; cfg.RfcUrl = "http://sap-vm:8000/sap/bc/soap/rfc"; cfg.WsdlUrl = "http://sap-vm:8000/sap/bc/soap/wsdl"; cfg.User = "******"; cfg.Password = "******"; cfg.Timeout = 5000; return(new SoapSapRfcConnection(cfg)); }
public SoapRfcWebClient(SapSoapRfcDestinationElement destination) { this.destination = destination; }