//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace ICSSoft.DataProject.SAPCallBackDocVPN {
using System;
using System.Web.Services;
using System.Diagnostics;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
using System.ComponentModel;
///
// CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/09/policy”中的可选 WSDL 扩展元素“Policy”。
// CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/08/addressing”中的可选 WSDL 扩展元素“EndpointReference”。
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ZWMS_SK_WS_PZ", Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZ : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback CallZWMS_SK_WS_PZOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
///
public ZWMS_SK_WS_PZ() {
this.Url = global::ICSSoft.DataProject.Properties.Settings.Default.ICSSoft_DataProject_SAPCallBackDocVPN_ZWMS_SK_WS_PZ;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
///
public event CallZWMS_SK_WS_PZCompletedEventHandler CallZWMS_SK_WS_PZCompleted;
///
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
[return: System.Xml.Serialization.XmlElementAttribute("ZWMS_SK_WS_PZResponse", Namespace="urn:sap-com:document:sap:rfc:functions")]
public ZWMS_SK_WS_PZResponse CallZWMS_SK_WS_PZ([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ) {
object[] results = this.Invoke("CallZWMS_SK_WS_PZ", new object[] {
ZWMS_SK_WS_PZ});
return ((ZWMS_SK_WS_PZResponse)(results[0]));
}
///
public void CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ) {
this.CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ, null);
}
///
public void CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ, object userState) {
if ((this.CallZWMS_SK_WS_PZOperationCompleted == null)) {
this.CallZWMS_SK_WS_PZOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZWMS_SK_WS_PZOperationCompleted);
}
this.InvokeAsync("CallZWMS_SK_WS_PZ", new object[] {
ZWMS_SK_WS_PZ}, this.CallZWMS_SK_WS_PZOperationCompleted, userState);
}
private void OnCallZWMS_SK_WS_PZOperationCompleted(object arg) {
if ((this.CallZWMS_SK_WS_PZCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CallZWMS_SK_WS_PZCompleted(this, new CallZWMS_SK_WS_PZCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
///
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZ1 {
private string dANJUField;
private string nEWIDField;
private string sTATEField;
private ZWEB_RETURN[] z_FLAGField;
private ZWEBS_GERNR[] z_GERNRField;
private ZWMS_PZ[] z_ITEMField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string NEWID {
get {
return this.nEWIDField;
}
set {
this.nEWIDField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string STATE {
get {
return this.sTATEField;
}
set {
this.sTATEField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEB_RETURN[] Z_FLAG {
get {
return this.z_FLAGField;
}
set {
this.z_FLAGField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEBS_GERNR[] Z_GERNR {
get {
return this.z_GERNRField;
}
set {
this.z_GERNRField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWMS_PZ[] Z_ITEM {
get {
return this.z_ITEMField;
}
set {
this.z_ITEMField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWEB_RETURN {
private string dANJUField;
private string pOSNRField;
private string fLAGField;
private string l_MESSAGEField;
private string mBLNRField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string FLAG {
get {
return this.fLAGField;
}
set {
this.fLAGField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string L_MESSAGE {
get {
return this.l_MESSAGEField;
}
set {
this.l_MESSAGEField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MBLNR {
get {
return this.mBLNRField;
}
set {
this.mBLNRField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_PZ {
private string dANJUField;
private string pOSNRField;
private decimal lINGYSLField;
private string sERNPField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public decimal LINGYSL {
get {
return this.lINGYSLField;
}
set {
this.lINGYSLField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string SERNP {
get {
return this.sERNPField;
}
set {
this.sERNPField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWEBS_GERNR {
private string mANDTField;
private string dANJUField;
private string pOSNRField;
private int gERNR_KEYField;
private string mATNRField;
private string gERNRField;
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MANDT {
get {
return this.mANDTField;
}
set {
this.mANDTField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int GERNR_KEY {
get {
return this.gERNR_KEYField;
}
set {
this.gERNR_KEYField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MATNR {
get {
return this.mATNRField;
}
set {
this.mATNRField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string GERNR {
get {
return this.gERNRField;
}
set {
this.gERNRField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZResponse {
private ZWEB_RETURN[] z_FLAGField;
private ZWEBS_GERNR[] z_GERNRField;
private ZWMS_PZ[] z_ITEMField;
private string z_NULLField;
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEB_RETURN[] Z_FLAG {
get {
return this.z_FLAGField;
}
set {
this.z_FLAGField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEBS_GERNR[] Z_GERNR {
get {
return this.z_GERNRField;
}
set {
this.z_GERNRField = value;
}
}
///
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWMS_PZ[] Z_ITEM {
get {
return this.z_ITEMField;
}
set {
this.z_ITEMField = value;
}
}
///
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string Z_NULL {
get {
return this.z_NULLField;
}
set {
this.z_NULLField = value;
}
}
}
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
public delegate void CallZWMS_SK_WS_PZCompletedEventHandler(object sender, CallZWMS_SK_WS_PZCompletedEventArgs e);
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9032.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CallZWMS_SK_WS_PZCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CallZWMS_SK_WS_PZCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
///
public ZWMS_SK_WS_PZResponse Result {
get {
this.RaiseExceptionIfNecessary();
return ((ZWMS_SK_WS_PZResponse)(this.results[0]));
}
}
}
}
#pragma warning restore 1591