[Seasar-user:20003] Re: S2Axis2のRESTにおけるDTOパラメータ渡し

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2010年 7月 27日 (火) 11:15:06 JST


 お疲れ様です。
 
 早速、RESTfulBeanEchoTestのテストケースを実行してみました。
こちらは、正常終了です。

 以下が、Tomcatのアクセスログです。
 
 1-2行目:ブラウザから「http://localhost/s2axis2-.../postEchoByBean」
      と、パラメータなしで実行した場合。
 3-6行目:RESTfulBeanEchoTestのテストケースで、JUnitの実行結果。
 7-8行目:puttyから「POST /s2axis2-...」と直接POSTした結果。

127.0.0.1 - - [27/Jul/2010:10:35:47 +0900] "GET /s2axis2-examples/
services/RESTfulBeanEcho/postEchoByBean HTTP/1.1" 200 200
127.0.0.1 - - [27/Jul/2010:10:37:12 +0900] "POST /s2axis2-examples/
services/RESTfulBeanEcho/postEchoByBean HTTP/1.1" 200 351
127.0.0.1 - - [27/Jul/2010:10:37:12 +0900] "POST /s2axis2-examples/
services/RESTfulBeanEcho/getEchoByBean HTTP/1.1" 200 349
127.0.0.1 - - [27/Jul/2010:10:42:12 +0900] "POST /s2axis2-examples/
services/RESTfulBeanEcho/postEchoByBean HTTP/1.1" 500 34

 Tomcatのアクセスログでは、POSTのパラメータが出力されないようなので、
よくわかりませんが、以下のパラメータを直接送ることに問題があるので
しょうか?

<postEchoByBean xmlns="http://ex01.rest.examples.axis2.remoting.seasar.
org">
    <echoDto xmlns="" type="org.seasar.remoting.axis2.examples.rest.ex01.
EchoDto">
        <id>1</id>
        <message>メッセージ</message>
    </echoDto>
</postEchoByBean>


Seasar-user メーリングリストの案内