author | dsamersoff |
Thu, 23 Jul 2015 15:25:30 +0000 | |
changeset 32020 | d21ec07fde32 |
parent 30373 | 7b7094f0b833 |
child 31876 | 91b22707521a |
permissions | -rw-r--r-- |
23600 | 1 |
'\" t |
2 |
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
|
3 |
.\" Title: wsgen |
|
4 |
.\" Language: English |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
5 |
.\" Date: 2013年11月21日 |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
6 |
.\" SectDesc: Java Webサービス・ツール |
23600 | 7 |
.\" Software: JDK 8 |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
8 |
.\" Arch: 汎用 |
23600 | 9 |
.\" |
10 |
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
11 |
.\" |
|
12 |
.\" This code is free software; you can redistribute it and/or modify it |
|
13 |
.\" under the terms of the GNU General Public License version 2 only, as |
|
14 |
.\" published by the Free Software Foundation. |
|
15 |
.\" |
|
16 |
.\" This code is distributed in the hope that it will be useful, but WITHOUT |
|
17 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
18 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
19 |
.\" version 2 for more details (a copy is included in the LICENSE file that |
|
20 |
.\" accompanied this code). |
|
21 |
.\" |
|
22 |
.\" You should have received a copy of the GNU General Public License version |
|
23 |
.\" 2 along with this work; if not, write to the Free Software Foundation, |
|
24 |
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
25 |
.\" |
|
26 |
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
27 |
.\" or visit www.oracle.com if you need additional information or have any |
|
28 |
.\" questions. |
|
29 |
.\" |
|
30 |
.pl 99999 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
31 |
.TH "wsgen" "1" "2013年11月21日" "JDK 8" "Java Webサービス・ツール" |
23600 | 32 |
.\" ----------------------------------------------------------------- |
33 |
.\" * Define some portability stuff |
|
34 |
.\" ----------------------------------------------------------------- |
|
35 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
36 |
.\" http://bugs.debian.org/507673 |
|
37 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
|
38 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
39 |
.ie \n(.g .ds Aq \(aq |
|
40 |
.el .ds Aq ' |
|
41 |
.\" ----------------------------------------------------------------- |
|
42 |
.\" * set default formatting |
|
43 |
.\" ----------------------------------------------------------------- |
|
44 |
.\" disable hyphenation |
|
45 |
.nh |
|
46 |
.\" disable justification (adjust text to left margin only) |
|
47 |
.ad l |
|
48 |
.\" ----------------------------------------------------------------- |
|
49 |
.\" * MAIN CONTENT STARTS HERE * |
|
50 |
.\" ----------------------------------------------------------------- |
|
51 |
.SH "NAME" |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
52 |
wsgen \- Webサービスのエンドポイント実装(SEI)クラスを読取り、Webサービスのデプロイメントと呼出しに必要なすべてのアーティファクトを生成します。 |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
53 |
.SH "概要" |
23600 | 54 |
.sp |
55 |
.if n \{\ |
|
56 |
.RS 4 |
|
57 |
.\} |
|
2692 | 58 |
.nf |
23600 | 59 |
\fIwsgen\fR [ \fIoptions\fR ] \fISEI\fR |
60 |
.fi |
|
61 |
.if n \{\ |
|
62 |
.RE |
|
63 |
.\} |
|
64 |
.PP |
|
65 |
\fIoptions\fR |
|
66 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
67 |
コマンドライン・オプション。オプションを参照してください。 |
23600 | 68 |
.RE |
69 |
.PP |
|
70 |
\fISEI\fR |
|
71 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
72 |
読み取るWebサービスのエンドポイント実装クラス(SEI)です。 |
23600 | 73 |
.RE |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
74 |
.SH "説明" |
23600 | 75 |
.PP |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
76 |
\fIwsgen\fRコマンドは、JAX\-WS Webサービスで使用されるJAX\-WSポータブル・アーティファクトを生成します。このツールは、Webサービスのエンドポイント・クラスを読取り、Webサービスのデプロイメントと呼出しに必要なすべてのアーティファクトを生成します。JAXWS 2\&.1\&.1 RIでは\fIwsgen\fR |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
77 |
Antタスクも提供されます。 |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
78 |
http://jax\-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.htmlのJAX\-WS (wsgen)ページのToolsタブを参照してください。 |
23600 | 79 |
.PP |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
80 |
\fIwsgen\fRコマンドを起動するには、次を行います。 |
23600 | 81 |
.sp |
82 |
.if n \{\ |
|
83 |
.RS 4 |
|
84 |
.\} |
|
2692 | 85 |
.nf |
23600 | 86 |
export JAXWS_HOME=/pathto/jaxws\-ri |
87 |
$JAXWS_HOME/bin/wsgen\&.sh \-help |
|
88 |
.fi |
|
89 |
.if n \{\ |
|
90 |
.RE |
|
91 |
.\} |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
92 |
.SH "オプション" |
23600 | 93 |
.PP |
94 |
\-classpath \fIpath\fR |
|
95 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
96 |
入力クラス・ファイルの場所。 |
23600 | 97 |
.RE |
98 |
.PP |
|
99 |
\-cp \fIpath\fR |
|
100 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
101 |
入力クラス・ファイルの場所。 |
23600 | 102 |
.RE |
103 |
.PP |
|
104 |
\-d \fIdirectory\fR |
|
105 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
106 |
生成された出力ファイルを格納する場所。 |
23600 | 107 |
.RE |
108 |
.PP |
|
109 |
\-extension |
|
110 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
111 |
ベンダー拡張を使用可能にします。拡張を使用すると、アプリケーションの移植性が失われたり、他の実装と連携できなくなる可能性があります。 |
23600 | 112 |
.RE |
113 |
.PP |
|
114 |
\-help |
|
115 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
116 |
\fIwsgen\fRコマンドに関するヘルプ・メッセージを表示します。 |
23600 | 117 |
.RE |
118 |
.PP |
|
119 |
\-keep |
|
120 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
121 |
生成されたファイルを保存します。 |
23600 | 122 |
.RE |
123 |
.PP |
|
124 |
\-r \fIdirectory\fR |
|
125 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
126 |
このオプションを\fI\-wsdl\fRオプションとともに使用して、WSDLなど生成されたリソース・ファイルを配置する場所を指定します。 |
23600 | 127 |
.RE |
128 |
.PP |
|
129 |
\-s \fIdirectory\fR |
|
130 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
131 |
生成されたソース・ファイルを格納する場所。 |
23600 | 132 |
.RE |
133 |
.PP |
|
134 |
\-verbose |
|
135 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
136 |
コンパイラ・メッセージを表示します。 |
23600 | 137 |
.RE |
138 |
.PP |
|
139 |
\-version |
|
140 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
141 |
リリース情報を出力します。 |
23600 | 142 |
.RE |
143 |
.PP |
|
144 |
\-wsdl [ :protocol ] |
|
145 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
146 |
エンドポイントをデプロイする前に確認するWSDLファイルを生成するオプション・コマンド。WSDLファイルには、サービスを呼び出す方法、パラメータに必要な値、返されるデータ構造についてのコンピュータで読取り可能な記述が含まれます。 |
23600 | 147 |
.sp |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
148 |
デフォルトでは\fIwsgen\fRコマンドはWSDLファイルを生成しません。\fIprotocol\fR値は省略可能であり、WSDLバインディング(\fIwsdl:binding\fR)で使用するプロトコルを指定するために使用されます。有効なプロトコルは、\fIsoap1\&.1\fRと\fIXsoap1\&.2\fRです。デフォルトは\fIsoap1\&.1\fRです。\fIXsoap1\&.2\fRプロトコルは標準ではないため、\fI\-extension\fRオプションとともにのみ使用可能です。 |
23600 | 149 |
.RE |
150 |
.PP |
|
151 |
\-servicename \fIname\fR |
|
152 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
153 |
\fI\-wsdl\fRオプションとともにのみ使用して、WSDLで生成される特定のWSDLサービス(\fIwsdl:service\fR)名を指定します。例: |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
154 |
\fI\-servicename "{http://mynamespace/}MyService"\fR。 |
23600 | 155 |
.RE |
156 |
.PP |
|
157 |
\-portname \fIname\fR |
|
158 |
.RS 4 |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
159 |
\fI\-wsdl\fRオプションとともにのみ使用して、WSDLで生成される特定のWSDLポート(\fIwsdl:port\fR)名を指定します。例: |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
160 |
\fI\-portname "{http://mynamespace/}MyPort"\fR。 |
23600 | 161 |
.RE |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
162 |
.SH "例" |
23600 | 163 |
.PP |
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
164 |
次の例では、Stockディレクトリ内に\fI@WebService\fR注釈を持つ\fIStockService\fRのラッパー・クラスを生成します。 |
23600 | 165 |
.sp |
166 |
.if n \{\ |
|
167 |
.RS 4 |
|
168 |
.\} |
|
2692 | 169 |
.nf |
23600 | 170 |
wsgen \-d stock \-cp myclasspath stock\&.StockService |
171 |
.fi |
|
172 |
.if n \{\ |
|
173 |
.RE |
|
174 |
.\} |
|
175 |
.PP |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
176 |
次の例では、SOAP 1\&.1 WSDLおよび\fI@WebService\fR注釈を持つ\fIstock\&.StockService\fRクラスのスキーマを生成します。 |
23600 | 177 |
.sp |
178 |
.if n \{\ |
|
179 |
.RS 4 |
|
180 |
.\} |
|
181 |
.nf |
|
182 |
wsgen \-wsdl \-d stock \-cp myclasspath stock\&.StockService |
|
183 |
.fi |
|
184 |
.if n \{\ |
|
185 |
.RE |
|
186 |
.\} |
|
187 |
.PP |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
188 |
次の例では、SOAP 1\&.2 WSDLを生成します。 |
23600 | 189 |
.sp |
190 |
.if n \{\ |
|
191 |
.RS 4 |
|
192 |
.\} |
|
2692 | 193 |
.nf |
23600 | 194 |
wsgen \-wsdl:Xsoap1\&.2 \-d stock \-cp myclasspath stock\&.StockService |
2 | 195 |
.fi |
23600 | 196 |
.if n \{\ |
197 |
.RE |
|
198 |
.\} |
|
199 |
.PP |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
200 |
\fB注意:\fR |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
201 |
サービスのデプロイ時にJAXWS実行時環境でWSDLが生成されるため、開発時にWSDLを生成する必要はありません。 |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
202 |
.SH "関連項目" |
23600 | 203 |
.sp |
204 |
.RS 4 |
|
205 |
.ie n \{\ |
|
206 |
\h'-04'\(bu\h'+03'\c |
|
207 |
.\} |
|
208 |
.el \{\ |
|
209 |
.sp -1 |
|
210 |
.IP \(bu 2.3 |
|
211 |
.\} |
|
212 |
wsimport(1) |
|
213 |
.RE |
|
214 |
.sp |
|
215 |
.RS 4 |
|
216 |
.ie n \{\ |
|
217 |
\h'-04'\(bu\h'+03'\c |
|
218 |
.\} |
|
219 |
.el \{\ |
|
220 |
.sp -1 |
|
221 |
.IP \(bu 2.3 |
|
222 |
.\} |
|
30373
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
223 |
http://jax\-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.htmlの |
7b7094f0b833
8077992: Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding
ihse
parents:
23600
diff
changeset
|
224 |
JAX\-WS (wsgen)ページのToolsタブを参照してください。 |
23600 | 225 |
.RE |
226 |
.br |
|
227 |
'pl 8.5i |
|
228 |
'bp |