通过Web Service读取Notes文档中的附件

需求分析:

在Notes DB中通过webservice读取Notes文档中rtf域的内容(为日常邮件的body内容,可能有邮件收件人,抄送人,主题,附件,邮件body内容等)。此web service作为Provider。

在.Net程序设计中调用Provider类型的Notes暴露的web service,把rtf域的内容读取出来并保存为*.rtf的文档。

 

相关背景资料:

在windows操作系统中自带有WordPad,我们可以做个简单的测试把邮件的内容拷贝道此文档中并保存为rtf格式的文档进行查看。关于WordPad overview:

With WordPad, you can create and edit simple text documents or documents with complex formatting and graphics. You can link or embed information from other documents into a WordPad document.

You can save your WordPad file as a text file, rich text file, text file for MS-DOS, or Unicode. These formats provide greater flexibility when working with other programs. Documents that use multiple languages should be saved as rich text files.

看完这些,知道了吧,notes 的RTF域可以跟rtf文档对应起来。

 

Converting Web Attachment to Image Resource

http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F8725719400764ED9

 

 

问如何用代理将附件以二进制流的方式读入sql server中

notesMimeEntity 和 LS : DO 来实现\
http://wind-bell.iteye.com/?page=4&show_full=true
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/Lotus_SmartSuite/Lotus_Notes/Q_23120423.html
http://www.openntf.org/projects/codebin/codebin.nsf/0/ED8B5E10555058AC86256F7E006B16A1

 

http://www.stevecastledine.com/sc.nsf/dx/wishing-i-could-translate-an-attached-image-into-binary-like-you-can-with-a-standard-file?opendocument&comments


ftp方法的使用
http://blog.csdn.net/lqzmrlc/archive/2009/09/17/4564536.aspx


ToDo
http://blog.csdn.net/lqzmrlc/archive/2007/05/30/1631696.aspx

http://www.lotusfans.com/forum/showthread.php?p=185544

http://topic.csdn.net/t/20040923/09/3400445.html
http://www.codestore.net/store.nsf/unid/EPSD-59MN9J?OpenDocument
http://www.55it.com/article/detail/20081014135257703.html

http://www.nsftools.com/tips/RichTextOutputStream.java
http://www.nsftools.com/tips/NotesTips.htm#lsencryption

http://www.vbafin.com/Lotus-Notes-VBA-code.php


PDF
http://www.pd4ml.com/lotus.htm

 

 

 

关于C#读取文件流的方法

[WebMethod()]
public byte[] DownloadFile(string FName)
{
    System.IO.FileStream fs1=null;
    fs1=System.IO.File.Open(FName,FileMode.Open,FileAccess.Read);
    byte[] b1=new byte[fs1.Length];
    fs1.Read(b1,0,(int)fs1.Length);
    fs1.Close();
    return b1;
}

 

http://www.ibm.com/developerworks/lotus/library/ls-AWS_integration/index.html

https://quickplace2.tietoenator.com/help/help65_designer.nsf/f4b82fbb75e942a6852566ac0037f284/33695f96db48043885256e00004b9049?OpenDocument

https://quickplace2.tietoenator.com/help/help65_designer.nsf/f4b82fbb75e942a6852566ac0037f284/b2b14e41248ccf4085256e00004b91a5?OpenDocument

NotesEmbeddedObject NotesStream

http://www.ibm.com/developerworks/lotus/library/web-services3/

 

http://apache.etoak.com/ws/axis/1_4/

 

http://www.blogjava.net/nokiaguy/archive/2009/01/archive/2009/01/archive/2009/01/archive/2009/01/04/249805.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值