0

尝试使用 c# 使用 http POST 方法将消息发布到 IBM Connections。

ATOM 格式的消息条目消息 XML:

<entry xmlns="http://www.w3.org/2005/Atom">
  <category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="entry"/>
  <category scheme="http://www.ibm.com/xmlns/prod/sn/message-type" term="simpleEntry"/>
  <content type="text">I posted this from C# posted at :11:43 AM</content>
</entry>

网址是http://--ServerName--/profiles/atom/mv/theboard/entries.do?key=e028cbd3-2126-455f-88b2-7e2cb4971e54

这来自服务文档,其中 rel="http://www.ibm.com/xmlns/prod/sn/mv/theboard"

我正在请求服务文档,根据用户(我用于测试)查找上述 URL。

我得到的列表很好,但是当我发布时,我仍然只得到带有标准标题的列表,而不是文档中列出的标题。

以下是返回的标头:

X-LConn-Auth :: false
X-UA-Compatible :: IE=EmulateIE7
Vary :: User-Agent,Accept-Encoding
Keep-Alive :: timeout=20, max=200
Connection :: Keep-Alive
Transfer-Encoding :: chunked
Content-Language :: en-US
Cache-Control :: private, max-age=0, must-revalidate
Content-Type :: application/atom+xml; charset=UTF-8
Date :: Tue, 12 Jun 2012 19:43:33 GMT
Expires :: Thu, 01 Dec 1994 16:00:00 GMT
Last-Modified :: Tue, 12 Jun 2012 19:43:33 GMT
Set-Cookie :: <<<<DELETED>>>> ; Path=/
Server :: IBM_HTTP_Server
4

1 回答 1

0

Ive also encountered this issue before. I have made a ruby script to update the status to Lotus Connections. See details here: How to update user status message to IBM Connections (Lotus connection API)?

于 2013-04-30T05:25:44.580 回答