EclipseにSOAPMonitorを設定する
手順
[1] Eclipse の [Window]-[Preferences]-[Run/Debug]-[TCP/IP Monitor]を選択 [2] 「Show the TCP/IP Monitor view then there is activity」にチェックをつける [3] 「Add」ボタンを押下して、以下を参考に入力し、「OK」押下 * local monitoring port (モニターに使うポート番号) : 8080 * Host name (サーバのホスト名) : localhost * Port (サーバのポート番号) : 8888 * Type (HTTPかTCP/IP) : HTTP
出力例
* ブラウザで以下にアクセスするhttp://localhost:8080/
GET / HTTP/1.1 Host: localhost:8080 Connection: keep-alive Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 Accept-Encoding: gzip,deflate,sdch Accept-Language: ja,en-US;q=0.8,en;q=0.6 If-None-Match: W/"7446-1367228170000" If-Modified-Since: Mon, 29 Apr 2013 09:36:10 GMT
参考文献
http://thinkit.co.jp/cert/tech/24/4/2.htmhttp://www.mkyong.com/webservices/jax-ws/how-to-trace-soap-message-in-eclipse-ide/