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