重分酬谢,不够再加:难题求解!关于webservice的调用!(2)
(续上篇)
public int GetSegmentList(string PartnerId, System.Guid BatchID, out SegmentInfo[] SegmentInfo) {
object[] results = this.Invoke("GetSegmentList", new object[] {
PartnerId,
BatchID});
SegmentInfo = ((SegmentInfo[])(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetSegmentList(string PartnerId, System.Guid BatchID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetSegmentList", new object[] {
PartnerId,
BatchID}, callback, asyncState);
}
/// <remarks/>
public int EndGetSegmentList(System.IAsyncResult asyncResult, out SegmentInfo[] SegmentInfo) {
object[] results = this.EndInvoke(asyncResult);
SegmentInfo = ((SegmentInfo[])(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/RdxSendService/GetPartialDocuments", RequestNamespace="http://microsoft.com/webservices/RdxSendService", ResponseNamespace="http://microsoft.com/webservices/RdxSendService", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetPartialDocuments(string PartnerId, out BatchInfo[] DocumentInfo) {
object[] results = this.Invoke("GetPartialDocuments", new object[] {
PartnerId});
DocumentInfo = ((BatchInfo[])(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetPartialDocuments(string PartnerId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetPartialDocuments", new object[] {
PartnerId}, callback, asyncState);
}
/// <remarks/>
public int EndGetPartialDocuments(System.IAsyncResult asyncResult, out BatchInfo[] DocumentInfo) {
object[] results = this.EndInvoke(asyncResult);
DocumentInfo = ((BatchInfo[])(results[1]));
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/RdxSendService/DeleteDocumentBatch", RequestNamespace="http://microsoft.com/webservices/RdxSendService", ResponseNamespace="http://microsoft.com/webservices/RdxSendService", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int DeleteDocumentBatch(string PartnerId, System.Guid BatchID) {
object[] results = this.Invoke("DeleteDocumentBatch", new object[] {
PartnerId,
BatchID});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteDocumentBatch(string PartnerId, System.Guid BatchID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteDocumentBatch", new object[] {
PartnerId,
BatchID}, callback, asyncState);
}
/// <remarks/>
public int EndDeleteDocumentBatch(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://microsoft.com/webservices/RdxSendService/SendBinaryDocument", RequestNamespace="http://microsoft.com/webservices/RdxSendService", ResponseNamespace="http://microsoft.com/webservices/RdxSendService", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int SendBinaryDocument(ref System.Guid DocumentID, System.Guid ParentDocumentID, string PartnerIdFrom, string PartnerIdTo, string MailboxTo, string URL, string DocDesc, string[] PropertyBag, System.DateTime ExpirationTime, bool ReceiveReceipt, bool SendReceipt, System.Byte DocumentEncoding, System.Byte DocumentFormat, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] Document, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] Signature) {
object[] results = this.Invoke("SendBinaryDocument", new object[] {
DocumentID,
ParentDocumentID,
PartnerIdFrom,
PartnerIdTo,
MailboxTo,
URL,
DocDesc,
PropertyBag,
ExpirationTime,
ReceiveReceipt,
SendReceipt,
DocumentEncoding,
DocumentFormat,
Document,
Signature});
DocumentID = ((System.Guid)(results[1]));
return ((int)(results[0]));
}
/// <remarks/>