//------------------------------------------------------------------------------
|
// <auto-generated>
|
// 此代码由工具生成。
|
//
|
// 对此文件的更改可能导致不正确的行为,并在以下条件下丢失:
|
// 代码重新生成。
|
// </auto-generated>
|
//------------------------------------------------------------------------------
|
|
namespace StereoServiceReference
|
{
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://ws.warehouse.webservice.wms.byd.com/", ConfigurationName="StereoServiceReference.WhStereoWebService")]
|
public interface WhStereoWebService
|
{
|
|
// CODEGEN: 正在生成消息协定,因为命名空间 的元素名称 params 未标记为 nillable
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
StereoServiceReference.callMaterialsResponse callMaterials(StereoServiceReference.callMaterials request);
|
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
System.Threading.Tasks.Task<StereoServiceReference.callMaterialsResponse> callMaterialsAsync(StereoServiceReference.callMaterials request);
|
|
// CODEGEN: 正在生成消息协定,因为命名空间 的元素名称 params 未标记为 nillable
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
StereoServiceReference.putawayResponse putaway(StereoServiceReference.putaway request);
|
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
System.Threading.Tasks.Task<StereoServiceReference.putawayResponse> putawayAsync(StereoServiceReference.putaway request);
|
|
// CODEGEN: 正在生成消息协定,因为命名空间 的元素名称 params 未标记为 nillable
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
StereoServiceReference.selectOutStoreOrderResponse selectOutStoreOrder(StereoServiceReference.selectOutStoreOrder request);
|
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
System.Threading.Tasks.Task<StereoServiceReference.selectOutStoreOrderResponse> selectOutStoreOrderAsync(StereoServiceReference.selectOutStoreOrder request);
|
|
// CODEGEN: 正在生成消息协定,因为命名空间 的元素名称 params 未标记为 nillable
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
StereoServiceReference.pickAndPostResponse pickAndPost(StereoServiceReference.pickAndPost request);
|
|
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
|
System.Threading.Tasks.Task<StereoServiceReference.pickAndPostResponse> pickAndPostAsync(StereoServiceReference.pickAndPost request);
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class callMaterials
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="callMaterials", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.callMaterialsBody Body;
|
|
public callMaterials()
|
{
|
}
|
|
public callMaterials(StereoServiceReference.callMaterialsBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class callMaterialsBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @params;
|
|
public callMaterialsBody()
|
{
|
}
|
|
public callMaterialsBody(string @params)
|
{
|
this.@params = @params;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class callMaterialsResponse
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="callMaterialsResponse", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.callMaterialsResponseBody Body;
|
|
public callMaterialsResponse()
|
{
|
}
|
|
public callMaterialsResponse(StereoServiceReference.callMaterialsResponseBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class callMaterialsResponseBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @return;
|
|
public callMaterialsResponseBody()
|
{
|
}
|
|
public callMaterialsResponseBody(string @return)
|
{
|
this.@return = @return;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class putaway
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="putaway", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.putawayBody Body;
|
|
public putaway()
|
{
|
}
|
|
public putaway(StereoServiceReference.putawayBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class putawayBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @params;
|
|
public putawayBody()
|
{
|
}
|
|
public putawayBody(string @params)
|
{
|
this.@params = @params;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class putawayResponse
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="putawayResponse", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.putawayResponseBody Body;
|
|
public putawayResponse()
|
{
|
}
|
|
public putawayResponse(StereoServiceReference.putawayResponseBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class putawayResponseBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @return;
|
|
public putawayResponseBody()
|
{
|
}
|
|
public putawayResponseBody(string @return)
|
{
|
this.@return = @return;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class selectOutStoreOrder
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="selectOutStoreOrder", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.selectOutStoreOrderBody Body;
|
|
public selectOutStoreOrder()
|
{
|
}
|
|
public selectOutStoreOrder(StereoServiceReference.selectOutStoreOrderBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class selectOutStoreOrderBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @params;
|
|
public selectOutStoreOrderBody()
|
{
|
}
|
|
public selectOutStoreOrderBody(string @params)
|
{
|
this.@params = @params;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class selectOutStoreOrderResponse
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="selectOutStoreOrderResponse", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.selectOutStoreOrderResponseBody Body;
|
|
public selectOutStoreOrderResponse()
|
{
|
}
|
|
public selectOutStoreOrderResponse(StereoServiceReference.selectOutStoreOrderResponseBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class selectOutStoreOrderResponseBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @return;
|
|
public selectOutStoreOrderResponseBody()
|
{
|
}
|
|
public selectOutStoreOrderResponseBody(string @return)
|
{
|
this.@return = @return;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class pickAndPost
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="pickAndPost", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.pickAndPostBody Body;
|
|
public pickAndPost()
|
{
|
}
|
|
public pickAndPost(StereoServiceReference.pickAndPostBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class pickAndPostBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @params;
|
|
public pickAndPostBody()
|
{
|
}
|
|
public pickAndPostBody(string @params)
|
{
|
this.@params = @params;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
public partial class pickAndPostResponse
|
{
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="pickAndPostResponse", Namespace="http://ws.warehouse.webservice.wms.byd.com/", Order=0)]
|
public StereoServiceReference.pickAndPostResponseBody Body;
|
|
public pickAndPostResponse()
|
{
|
}
|
|
public pickAndPostResponse(StereoServiceReference.pickAndPostResponseBody Body)
|
{
|
this.Body = Body;
|
}
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="")]
|
public partial class pickAndPostResponseBody
|
{
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
public string @return;
|
|
public pickAndPostResponseBody()
|
{
|
}
|
|
public pickAndPostResponseBody(string @return)
|
{
|
this.@return = @return;
|
}
|
}
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
public interface WhStereoWebServiceChannel : StereoServiceReference.WhStereoWebService, System.ServiceModel.IClientChannel
|
{
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")]
|
public partial class WhStereoWebServiceClient : System.ServiceModel.ClientBase<StereoServiceReference.WhStereoWebService>, StereoServiceReference.WhStereoWebService
|
{
|
|
/// <summary>
|
/// 实现此分部方法,配置服务终结点。
|
/// </summary>
|
/// <param name="serviceEndpoint">要配置的终结点</param>
|
/// <param name="clientCredentials">客户端凭据</param>
|
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
|
|
public WhStereoWebServiceClient() :
|
base(WhStereoWebServiceClient.GetDefaultBinding(), WhStereoWebServiceClient.GetDefaultEndpointAddress())
|
{
|
this.Endpoint.Name = EndpointConfiguration.WhStereoWebServiceImplPort.ToString();
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
}
|
|
public WhStereoWebServiceClient(EndpointConfiguration endpointConfiguration) :
|
base(WhStereoWebServiceClient.GetBindingForEndpoint(endpointConfiguration), WhStereoWebServiceClient.GetEndpointAddress(endpointConfiguration))
|
{
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
}
|
|
public WhStereoWebServiceClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
|
base(WhStereoWebServiceClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
|
{
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
}
|
|
public WhStereoWebServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
|
base(WhStereoWebServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
|
{
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
}
|
|
public WhStereoWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
base(binding, remoteAddress)
|
{
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
StereoServiceReference.callMaterialsResponse StereoServiceReference.WhStereoWebService.callMaterials(StereoServiceReference.callMaterials request)
|
{
|
return base.Channel.callMaterials(request);
|
}
|
|
public string callMaterials(string @params)
|
{
|
StereoServiceReference.callMaterials inValue = new StereoServiceReference.callMaterials();
|
inValue.Body = new StereoServiceReference.callMaterialsBody();
|
inValue.Body.@params = @params;
|
StereoServiceReference.callMaterialsResponse retVal = ((StereoServiceReference.WhStereoWebService)(this)).callMaterials(inValue);
|
return retVal.Body.@return;
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
System.Threading.Tasks.Task<StereoServiceReference.callMaterialsResponse> StereoServiceReference.WhStereoWebService.callMaterialsAsync(StereoServiceReference.callMaterials request)
|
{
|
return base.Channel.callMaterialsAsync(request);
|
}
|
|
public System.Threading.Tasks.Task<StereoServiceReference.callMaterialsResponse> callMaterialsAsync(string @params)
|
{
|
StereoServiceReference.callMaterials inValue = new StereoServiceReference.callMaterials();
|
inValue.Body = new StereoServiceReference.callMaterialsBody();
|
inValue.Body.@params = @params;
|
return ((StereoServiceReference.WhStereoWebService)(this)).callMaterialsAsync(inValue);
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
StereoServiceReference.putawayResponse StereoServiceReference.WhStereoWebService.putaway(StereoServiceReference.putaway request)
|
{
|
return base.Channel.putaway(request);
|
}
|
|
public string putaway(string @params)
|
{
|
StereoServiceReference.putaway inValue = new StereoServiceReference.putaway();
|
inValue.Body = new StereoServiceReference.putawayBody();
|
inValue.Body.@params = @params;
|
StereoServiceReference.putawayResponse retVal = ((StereoServiceReference.WhStereoWebService)(this)).putaway(inValue);
|
return retVal.Body.@return;
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
System.Threading.Tasks.Task<StereoServiceReference.putawayResponse> StereoServiceReference.WhStereoWebService.putawayAsync(StereoServiceReference.putaway request)
|
{
|
return base.Channel.putawayAsync(request);
|
}
|
|
public System.Threading.Tasks.Task<StereoServiceReference.putawayResponse> putawayAsync(string @params)
|
{
|
StereoServiceReference.putaway inValue = new StereoServiceReference.putaway();
|
inValue.Body = new StereoServiceReference.putawayBody();
|
inValue.Body.@params = @params;
|
return ((StereoServiceReference.WhStereoWebService)(this)).putawayAsync(inValue);
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
StereoServiceReference.selectOutStoreOrderResponse StereoServiceReference.WhStereoWebService.selectOutStoreOrder(StereoServiceReference.selectOutStoreOrder request)
|
{
|
return base.Channel.selectOutStoreOrder(request);
|
}
|
|
public string selectOutStoreOrder(string @params)
|
{
|
StereoServiceReference.selectOutStoreOrder inValue = new StereoServiceReference.selectOutStoreOrder();
|
inValue.Body = new StereoServiceReference.selectOutStoreOrderBody();
|
inValue.Body.@params = @params;
|
StereoServiceReference.selectOutStoreOrderResponse retVal = ((StereoServiceReference.WhStereoWebService)(this)).selectOutStoreOrder(inValue);
|
return retVal.Body.@return;
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
System.Threading.Tasks.Task<StereoServiceReference.selectOutStoreOrderResponse> StereoServiceReference.WhStereoWebService.selectOutStoreOrderAsync(StereoServiceReference.selectOutStoreOrder request)
|
{
|
return base.Channel.selectOutStoreOrderAsync(request);
|
}
|
|
public System.Threading.Tasks.Task<StereoServiceReference.selectOutStoreOrderResponse> selectOutStoreOrderAsync(string @params)
|
{
|
StereoServiceReference.selectOutStoreOrder inValue = new StereoServiceReference.selectOutStoreOrder();
|
inValue.Body = new StereoServiceReference.selectOutStoreOrderBody();
|
inValue.Body.@params = @params;
|
return ((StereoServiceReference.WhStereoWebService)(this)).selectOutStoreOrderAsync(inValue);
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
StereoServiceReference.pickAndPostResponse StereoServiceReference.WhStereoWebService.pickAndPost(StereoServiceReference.pickAndPost request)
|
{
|
return base.Channel.pickAndPost(request);
|
}
|
|
public string pickAndPost(string @params)
|
{
|
StereoServiceReference.pickAndPost inValue = new StereoServiceReference.pickAndPost();
|
inValue.Body = new StereoServiceReference.pickAndPostBody();
|
inValue.Body.@params = @params;
|
StereoServiceReference.pickAndPostResponse retVal = ((StereoServiceReference.WhStereoWebService)(this)).pickAndPost(inValue);
|
return retVal.Body.@return;
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
System.Threading.Tasks.Task<StereoServiceReference.pickAndPostResponse> StereoServiceReference.WhStereoWebService.pickAndPostAsync(StereoServiceReference.pickAndPost request)
|
{
|
return base.Channel.pickAndPostAsync(request);
|
}
|
|
public System.Threading.Tasks.Task<StereoServiceReference.pickAndPostResponse> pickAndPostAsync(string @params)
|
{
|
StereoServiceReference.pickAndPost inValue = new StereoServiceReference.pickAndPost();
|
inValue.Body = new StereoServiceReference.pickAndPostBody();
|
inValue.Body.@params = @params;
|
return ((StereoServiceReference.WhStereoWebService)(this)).pickAndPostAsync(inValue);
|
}
|
|
public virtual System.Threading.Tasks.Task OpenAsync()
|
{
|
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
|
}
|
|
private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
|
{
|
if ((endpointConfiguration == EndpointConfiguration.WhStereoWebServiceImplPort))
|
{
|
System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
|
result.MaxBufferSize = int.MaxValue;
|
result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
|
result.MaxReceivedMessageSize = int.MaxValue;
|
result.AllowCookies = true;
|
return result;
|
}
|
throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
|
}
|
|
private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
|
{
|
if ((endpointConfiguration == EndpointConfiguration.WhStereoWebServiceImplPort))
|
{
|
return new System.ServiceModel.EndpointAddress("http://10.8.3.60:9091/wms-webservice/ws/service/wh/stereo");
|
}
|
throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
|
}
|
|
private static System.ServiceModel.Channels.Binding GetDefaultBinding()
|
{
|
return WhStereoWebServiceClient.GetBindingForEndpoint(EndpointConfiguration.WhStereoWebServiceImplPort);
|
}
|
|
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
|
{
|
return WhStereoWebServiceClient.GetEndpointAddress(EndpointConfiguration.WhStereoWebServiceImplPort);
|
}
|
|
public enum EndpointConfiguration
|
{
|
|
WhStereoWebServiceImplPort,
|
}
|
}
|
}
|