我是自己用java生成的xml message直接发送到endpoint的。麻烦看一下,是否有什么错误?谢谢
send出去的xml message像这样:
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<title mode="escaped" type="text/plain">ce shi atom api a</title>
<issued>2005-07-22T17:11:09Z</issued>
<generator url="http://www.pighead.cn">pighead</generator>
<content type="application/xhtml+xml">ce shi atom api a</content>
</entry>
response的message像这样:
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<id>tag:post:www.atombuddy.com,2005-07-22:21</id>
<author>
<name>changray</name>
<url>http://www.atombuddy.com/pighead/index.php?blogId=1</url>
</author>
<link rel="alternate" type="text/html" href="http://www.atombuddy.com/pighead/index.php?op=ViewArticle&articleId=21&blogId=1" />
<link rel="service.edit" href="http://www.atombuddy.com/pighead/atom.php/edit/1/21" title="ce shi atom api a" type="application/x.atom+xml" />
<title>ce shi atom api a</title>
<content mode="escaped" type="application/xhtm+xml">ce shi atom api a</content>
<issued>2005-07-22T17:11:09Z</issued>
<created>2005-07-22T17:11:09Z</created>
<modified>2005-07-22T17:11:09Z</modified>
</entry>