コード例 #1
0
        public PkudatYomanWSClient() :
            base(PkudatYomanWSClient.GetDefaultBinding(), PkudatYomanWSClient.GetDefaultEndpointAddress())
        {
            this.Endpoint.Name = EndpointConfiguration.PkudatYomanWSSoapPort.ToString();

            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
        }
コード例 #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(PkudatYomanWSClient.GetEndpointAddress(EndpointConfiguration.PkudatYomanWSSoapPort));
 }
コード例 #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(PkudatYomanWSClient.GetBindingForEndpoint(EndpointConfiguration.PkudatYomanWSSoapPort));
 }
コード例 #4
0
 public PkudatYomanWSClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(PkudatYomanWSClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
 public PkudatYomanWSClient(EndpointConfiguration endpointConfiguration) :
     base(PkudatYomanWSClient.GetBindingForEndpoint(endpointConfiguration), PkudatYomanWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }