接口:
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行库版本:2.0.50727.42
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
//
// 此源代码由 wsdl 自动生成, Version=2.0.50727.42。
//
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Web.Services.WebServiceBindingAttribute(Name = "SyncNotifySPSoapBinding", Namespace = "http://soap.bossagent.vac.unicom.com")]
public interface ISyncNotifySPSoapBinding
{
/// <remarks/>
[System.Web.Services.WebMethodAttribute()]
[System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace = "http://soap.bossagent.vac.unicom.com", ResponseNamespace = "http://soap.bossagent.vac.unicom.com")]
[return: System.Xml.Serialization.SoapElementAttribute("orderRelationUpdateNotifyReturn")]
OrderRelationUpdateNotifyResponse orderRelationUpdateNotify(OrderRelationUpdateNotifyRequest orderRelationUpdateNotifyRequest);
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.SoapTypeAttribute(Namespace = "http://req.sync.soap.bossagent.vac.unicom.com")]
public partial class OrderRelationUpdateNotifyRequest
{
private string recordSequenceIdField;
private int userIdTypeField;
private string userIdField;
private string serviceTypeField;
private string spIdField;
private string productIdField;
private int updateTypeField;
private string updateTimeField;
private string updateDescField;
private string linkIdField;
private string contentField;
private string effectiveDateField;
private string expireDateField;
private string time_stampField;
private string encodeStrField;
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string recordSequenceId
{
get
{
return this.recordSequenceIdField;
}
set
{
this.recordSequenceIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public int userIdType
{
get
{
return this.userIdTypeField;
}
set
{
this.userIdTypeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string userId
{
get
{
return this.userIdField;
}
set
{
this.userIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string serviceType
{
get
{
return this.serviceTypeField;
}
set
{
this.serviceTypeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string spId
{
get
{
return this.spIdField;
}
set
{
this.spIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string productId
{
get
{
return this.productIdField;
}
set
{
this.productIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public int updateType
{
get
{
return this.updateTypeField;
}
set
{
this.updateTypeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string updateTime
{
get
{
return this.updateTimeField;
}
set
{
this.updateTimeField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string updateDesc
{
get
{
return this.updateDescField;
}
set
{
this.updateDescField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string linkId
{
get
{
return this.linkIdField;
}
set
{
this.linkIdField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string content
{
get
{
return this.contentField;
}
set
{
this.contentField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string effectiveDate
{
get
{
return this.effectiveDateField;
}
set
{
this.effectiveDateField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string expireDate
{
get
{
return this.expireDateField;
}
set
{
this.expireDateField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string time_stamp
{
get
{
return this.time_stampField;
}
set
{
this.time_stampField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string encodeStr
{
get
{
return this.encodeStrField;
}
set
{
this.encodeStrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.SoapTypeAttribute(Namespace = "http://rsp.sync.soap.bossagent.vac.unicom.com")]
public partial class OrderRelationUpdateNotifyResponse
{
private string recordSequenceIdField;
private int resultCodeField;
/// <remarks/>
[System.Xml.Serialization.SoapElementAttribute(IsNullable = true)]
public string recordSequenceId
{
get
{
return this.recordSequenceIdField;
}
set
{
this.recordSequenceIdField = value;
}
}
/// <remarks/>
public int resultCode
{
get
{
return this.resultCodeField;
}
set
{
this.resultCodeField = value;
}
}
}
/// <summary>
/// VacService 的摘要说明
/// </summary>
[WebService(Namespace = "http://www.mms968.com/Services/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class VacService : ISyncNotifySPSoapBinding
{
public OrderRelationUpdateNotifyResponse orderRelationUpdateNotify(OrderRelationUpdateNotifyRequest orderRequest)
{
OrderRelationUpdateNotifyResponse orderResponse = new OrderRelationUpdateNotifyResponse();
orderResponse.recordSequenceId = orderRequest.recordSequenceId;
orderResponse.resultCode = 0;
return orderResponse;
}
}