|
|
WebOTX Manual V10.1 (第7版) 目次を表示 |

図1.2.8.1-1
(WSDL ページ)アイコン
をクリックし、ナビゲーター 欄に WSDL メイン を表示させます。
図1.2.8.1-2

図1.2.8.1-3

図1.2.8.1-4

図1.2.8.1-5

図1.2.8.1-6

図1.2.8.1-7
Caution
Webサービスを配備してから、生成したWSDLファイルが他のWSDLファイルをインポートしている場合、Webサービスエクスプローラで生成したWSDLファイルアドレスをアクセスすることができません。

図1.2.8.2-1

図1.2.8.2-2

図1.2.8.2-3
Caution
TCPモニタはテスト用、メッセージ確認用としてお使いください。実運用においてメッセージログを取る目的で稼動できる設計にはなっていません。
Caution
添付ファイルつきSOAPメッセージをモニタリングするときは、
XMLフォーマットをOFFにしてください。
| プロパティ | 値 |
|---|---|
| com.nec.webotx.webservice.xml.ws.client.useHttpDump | true |
| wojaxws.client.logger.level | FINEST |
| プロパティ | 値 |
|---|---|
| wojaxws.client.logger.file | ファイル名 |
| プロパティ | 値 |
|---|---|
| com.nec.webotx.webservice.xml.ws.useHttpDump | true |
| モジュール | 値 |
|---|---|
| jaxws | TRACE |
Memo
JAX-RPCは旧互換のための機能です。
-Dcom.nec.webotx.webservice.http.dump=true
Caution
静的スタブ形式以外でのダンプメッセージの取得はできません。他の形式のクライアントのダンプメッセージを取得するにはWebOTX
DeveloperのTCPモニタを利用するか、他のHTTPプロトコル解析ツールをご利用ください。
****************** **** Request **** Content-Type: text/xml;charset="utf-8" Content-Length: 422 SOAPAction: "" User-Agent: "WebOTX WebService/x.xx.xx.xx" <?xmlversion="1.0"encoding="UTF-8"?> <env:Envelopexmlns:env="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"xmlns:ns0="http://com.nec.webotx.test"> <env:Body> <ns0:echoString_TestClass> <String_1>HelloWorld!</String_1> </ns0:echoString_TestClass> </env:Body> </env:Envelope> **** Response **** HTTP/1.1 200 OK Date: Mon, 10 Dec 2007 02:03:29 GMT Server: WebOTX_Web_Server/2.0.61 (Win32)Webserver_Plugin/1.2.21 X-Powered-By: Servlet/2.4 SOAPAction: "" Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/xml;charset=utf-8 <env:Envelope xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://com.nec.webotx.test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <ns0:echoString_TestClassResponse> <result>Hello World!</result> </ns0:echoString_TestClassResponse> </env:Body> </env:Envelope> ****************** Hello World!※マニュアルのレイアウトにあわせるため、文中で適宜改行を入れています。
<logger name="com.nec.webotx.enterprise.system.webservices.rpc" dditivity="true"> <level value="CONFIG" class="com.nec.webotx.logging.OTXLogLevel"></level> <appender-ref ref="WSFILELOG"></appender-ref> </logger>ログレベルの変更の手順についてはWebOTXマニュアルの「ドメイン構築・基本設定ガイド」-「ログ」-「その他」- 「ログの設定方法」を参照してください。
Caution
サーバ側ダンプメッセージはWebアプリケーション形式でのみ出力ができます。EJBアプリケーション形式では出力できません。
Caution
サーバ側ダンプメッセージはドメイン全体で変更されます。配備したアプリケーションごと、などの切り替えはできませんので注意してください。
2007-12-10 11:03:29,871 DEBUG com.nec.webotx.enterprise.system.webservices.rpc.server.http - SOAP request message ************************* content-type: text/xml;charset="utf-8" content-length: 422 SOAPAction: "" user-agent: "WebOTXWebService/x.xx.xx.xx" host: localhost accept: text/html, image/gif, image/jpeg,*; q=.2, */*; q=.2 connection: keep-alive <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://com.nec.webotx.test" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <ns0:echoString_TestClass> <String_1>HelloWorld!</String_1> </ns0:echoString_TestClass> </env:Body> </env:Envelope> ************************* [TP-Processor3] ・・・中略・・・・ 2007-12-10 11:03:29,871 DEBUG com.nec.webotx.enterprise.system.webservices.rpc.server.http - SOAP response message ************************* SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://com.nec.webotx.test"> <env:Body> <ns0:echoString_TestClassResponse> <result>Hello World!</result> </ns0:echoString_TestClassResponse> </env:Body> </env:Envelope> *************************※マニュアルのレイアウトにあわせるため、文中で適宜改行を入れています。
Caution
本機能は開発時や障害時のメッセージ確認用の機能です。機能を有効にしたままシステムを稼動させると大量のログが出力され、システムのパフォーマンスに影響が出ることがありますので必要なとき以外は有効にしないでください。