Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 4
0
 public SoapRfcPreparedFunction(FunctionMetadata function, SoapRfcStructureMapper structureMapper, SoapRfcWebClient webClient)
     : base(function.Name)
 {
     this.function        = function;
     this.webClient       = webClient;
     this.structureMapper = structureMapper;
 }
Ejemplo n.º 5
0
 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());
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 8
0
 public SoapRfcMetadataCache(SoapRfcWebClient webClient)
 {
     this.webClient = webClient;
 }