重分酬谢,不够再加:难题求解!关于webservice的调用!(2)

Lengjian 2003-10-20 02:17:18
(续上篇)

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/>
...全文
26 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
purefreshmilk 2003-10-21
  • 打赏
  • 举报
回复
强烈关注
kandyasp 2003-10-21
  • 打赏
  • 举报
回复
up

12,162

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧