jdk/src/linux/doc/man/ja/wsimport.1
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.\" `
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
.TH wsimport 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
." Generated by html2man
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.SH 名前
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
wsimport \- JAX\-WS 2.0 ベータ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.SH "形式"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
wsimport [options] <wsdl>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
.SH "機能説明"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
\f2wsimport\fP ツールは、次のような JAX-WS ポータブルアーティファクトを生成します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
サービスエンドポイントインタフェース (SEI) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
サービス 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
wsdl:fault からマップされる例外クラス (存在する場合)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
応答 wsdl:message から派生する非同期応答 Bean (存在する場合)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
JAX-B が生成する値タイプ (スキーマの型からマップされた Java クラス)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
これらのアーティファクトは、WSDL ドキュメント、スキーマドキュメント、およびエンドポイント実装とともに WAR ファイル内にパッケージ化して配備することができます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
wsimport ツールを起動するには、コマンド行スクリプト wsimport.sh (Unix) または wsimport.bat (Windows) を使用します。WSDL をインポートおよびコンパイルするための Ant タスクも存在しています。詳しくは後述の説明を参照してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
.SH "オプション"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
次の表に、\f2wsimport\fP のオプションを示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
表 1\-1 wsimport のオプション
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
.TS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
center;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
cbp-1 cbp-1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
li l.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
オプション	説明
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
_
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
-d <directory>	生成される出力ファイルを格納する場所を指定します
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
-b <path>	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
外部の JAX-WS または JAXB バインディングファイルを指定します (<file> ごとに -b が必要となる)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
-catalog	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
外部エンティティ参照を解決するためのカタログファイルを指定します。TR9401、XCatalog、OASIS XML Catalog の各形式がサポートされています。「XML Entity and URI Resolvers」ドキュメントをお読みになるか、wsimport_catalog サンプルを参照してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
-extension	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
ベンダー拡張 (仕様で規定されていない機能) を許可します。拡張を使用すると、アプリケーションの移植性が失われたり、ほかの実装との相互運用が行えなくなる可能性があります
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
-help	ヘルプを表示します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
-httpproxy:<host>:<port>	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
HTTP プロキシサーバーを指定します (デフォルトのポートは 8080)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
-keep	生成されたファイルを保持します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
-p	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
このコマンド行オプション経由でターゲットパッケージを指定した場合、その指定内容は、パッケージ名に対するすべての WSDL/スキーマバインディングカスタマイズや、 仕様で規定されているデフォルトのパッケージ名アルゴリズムよりも優先されます
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
-s <directory>	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
生成されるソースファイルを格納する場所を指定します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
-verbose	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
コンパイラが実行している処理に関するメッセージを出力します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
-version	バージョン情報を出力します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
-wsdllocation <location>	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
@WebService.wsdlLocation と @WebServiceClient.wsdlLocation の値
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
T}	
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
.TE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
.if \n-(b.=0 .nr c. \n(.c-\n(d.-54
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
\f2\-b\fP オプションを使って、複数の JAX-WS および JAXB バインディングファイルを指定できます。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
これらのファイルを使って、パッケージ名や Bean 名など、さまざまなカスタマイズが可能です。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
JAX-WS および JAXB バインディングファイルの詳細については、カスタマイズマニュアルを参照してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
.SS 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
Ant タスク
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
\f2wsimport\fP ツールには、このツール用の Ant タスクが付属しています。この Ant タスクがサポートする属性や要素を、次に示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
   <wsimport           
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
      wsdl="..."      
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
      destdir="directory for generated class files"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
      sourcedestdir="directory for generated source files"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
      keep="true|false"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
      extension="true|false"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
      verbose="true|false"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
      version="true|false"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
      wsdlLocation="..."
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
      catalog="catalog file"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
      package="package name"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
      <binding dir="..." includes="..." />
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
  </wsimport>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
.TS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
center;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
cbp-1 cbp-1 cbp-1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
li l l
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
li l li.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
属性	説明	コマンド行
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
_
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
wsdl	WSDL file	WSDL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
destdir	生成される出力クラスを格納する場所を指定します	-d
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
sourcedestdir	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
生成されたソースファイルの格納場所を指定します。このオプションの指定時には keep もオンになります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
T}	-s
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
keep	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
生成されたファイルを保持します。sourcedestdir オプション指定時にオンになります
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
T}	-keep
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
verbose	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
コンパイラが実行している処理に関するメッセージを出力します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
T}	-verbose
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
binding	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
外部の JAX-WS または JAXB バインディングファイルを指定します
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
T}	-b
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
extension	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
ベンダー拡張 (仕様で規定されていない機能) を許可します。拡張を使用すると、アプリケーションの移植性が失われたり、ほかの実装との相互運用が行えなくなる可能性があります
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
T}	-extension
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
wsdllocation	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
このオプション経由 で 渡 さ れたWSDL の URI は、生 成 された SEIおよびサービスインタフェース上の@WebService.wsdlLocationお     よ     び@WebServiceClient.wsdlLocation注釈要素の値を設定するために使用されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
T}	-wsdllocation
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
catalog	T{
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
外部エンティティ参照を解決するためのカタログファイルを指定します。TR9401、XCatalog、OASIS XML Catalog の各形式がサポートされています。さらに、Ant xmlcatalog タイプを使ってエンティティを解決することもできます。wsimport_catalog サンプルを参照してください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
T}	-catalog
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
package	ターゲットパッケージを指定します	-p
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
.TE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
.if \n-(b.=0 .nr c. \n(.c-\n(d.-63
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
\f2binding\fP 属性は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
.na
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
\f2Path\-like Structures\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
(http://ant.apache.org/manual/using.html#path) であり、それぞれ入れ子になった \f2<binding>\fP 要素を使って設定することもできます。このタスクを使用するには、次の \f2<taskdef>\fP 要素をプロジェクトに追加しておく必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
  <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
      <classpath path="jaxws.classpath"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
  </taskdef>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
ここで、\f2jaxws.classpath\fP は、JAX\-WS ツールが必要とするクラスのリストを含む、ビルド環境内の別の場所に定義された
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
.na
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
\f2Path\-like Structure\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
(http://ant.apache.org/manual/using.html#path) への参照です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
.SH "例"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
  <wsimport
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
      destdir="${build.classes.home}"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
      debug="true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
      wsdl="AddNumbers.wsdl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
      binding="custom.xml"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
上の例では、\f2AddNumbers.wsdl\fP のクライアント側アーティファクトを生成し、\f2custom.xml\fP カスタマイズファイルに基づいて \f2${build.classes.home}\fP ディレクトリ内に \f2.class\fP ファイルを格納しています。使用されるクラスパスは \f2xyz.jar\fP であり、デバッグ情報がオンの状態でコンパイルが実行されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
  <wsimport
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
      keep="true"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
      sourcedestdir="${source.dir}"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
      destdir="${build.classes.home}"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
      wsdl="AddNumbers.wsdl">
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
      <binding dir="${basedir}/etc" includes="custom.xml"/>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
  </wsimport>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
上の例では、\f2AddNumbers.wsdl\fP のポータブルアーティファクトを生成し、\f2${source.dir}\fP ディレクトリ内に \f2.java\fP ファイルを格納し、\f2${build.classes.home}\fP ディレクトリ内に \f2.class\fP ファイルを格納しています。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
.SH "注意"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
変更または削除された wsimport の Ant 属性の概要
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
\f3base\fP が \f3destdir\fP で置き換えられました
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
\f3sourceBase\fP が \f3sourcedestdir\fP で置き換えられました
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
\f3wsdlFile\fP が \f3wsdl\fP で置き換えられました
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
\f3httpProxy\fP が削除されました。代わりに、Ant の setproxy タスクを使ってプロキシ構成を行ってください。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
\f3version\fP が削除されました
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316