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());
 }
 public SoapRfcPreparedFunction(FunctionMetadata function, SoapRfcStructureMapper structureMapper, SoapRfcWebClient webClient)
     : base(function.Name)
 {
     this.function = function;
     this.webClient = webClient;
     this.structureMapper = structureMapper;
 }
Example #3
0
 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());
 }
Example #4
0
 public SoapRfcPreparedFunction(FunctionMetadata function, SoapRfcStructureMapper structureMapper, SoapRfcWebClient webClient)
     : base(function.Name)
 {
     this.function        = function;
     this.webClient       = webClient;
     this.structureMapper = structureMapper;
 }
 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());
 }
Example #6
0
 public SoapRfcMetadataCache(SoapRfcWebClient webClient)
 {
     this.webClient = webClient;
 }
 public override RfcMetadataCache GetMetadataCache()
 {
     this.conn = new SoapSapRfcConnection("TST-SOAP");
     SoapRfcWebClient webClient = new SoapRfcWebClient(this.conn.Destination);
     return new SoapRfcMetadataCache(webClient);
 }
 public SoapRfcMetadataCache(SoapRfcWebClient webClient)
 {
     this.webClient = webClient;
 }