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>
URLはhttp://--ServerName--/profiles/atom/mv/theboard/entries.do?key=e028cbd3-2126-455f-88b2-7e2cb4971e54
これは、rel="http://www.ibm.com/xmlns/prod/sn/mv/theboard" の Service Document からのものです。
ユーザー(テスト用の私)に応じて上記の URL を探して、サービス ドキュメントを要求しています。
私はリストをうまく取得していますが、POSTすると、標準のヘッダーを含むリストしか取得できず、ドキュメントにリストされているヘッダーは取得されません。
返されるヘッダーは次のとおりです。
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