blob: 7b21d7357fabea9fb5cf3042023cb0ec68e9a115 [file] [log] [blame]
'\" t
.\" Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License version 2 only, as
.\" published by the Free Software Foundation.
.\"
.\" This code is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
.\" version 2 for more details (a copy is included in the LICENSE file that
.\" accompanied this code).
.\"
.\" You should have received a copy of the GNU General Public License version
.\" 2 along with this work; if not, write to the Free Software Foundation,
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
.\"
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
.\" or visit www.oracle.com if you need additional information or have any
.\" questions.
.\"
.\" Title: wsgen
.\" Language: Japanese
.\" Date: 2013ǯ11·î21Æü
.\" SectDesc: Java Web¥µ¡¼¥Ó¥¹¡¦¥Ä¡¼¥ë
.\" Software: JDK 8
.\" Arch: ÈÆÍÑ
.\" Part Number: E58103-01
.\" Doc ID: JSSON
.\"
.if n .pl 99999
.TH "wsgen" "1" "2013ǯ11·î21Æü" "JDK 8" "Java Web¥µ¡¼¥Ó¥¹¡¦¥Ä¡¼¥ë"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "̾Á°"
wsgen \- Web¥µ¡¼¥Ó¥¹¤Î¥¨¥ó¥É¥Ý¥¤¥ó¥È¼ÂÁõ(SEI)¥¯¥é¥¹¤òÆɼè¤ê¡¢Web¥µ¡¼¥Ó¥¹¤Î¥Ç¥×¥í¥¤¥á¥ó¥È¤È¸Æ½Ð¤·¤ËɬÍפʤ¹¤Ù¤Æ¤Î¥¢¡¼¥Æ¥£¥Õ¥¡¥¯¥È¤òÀ¸À®¤·¤Þ¤¹¡£
.SH "³µÍ×"
.sp
.if n \{\
.RS 4
.\}
.nf
\fBwsgen\fR [ \fIoptions\fR ] \fISEI\fR
.fi
.if n \{\
.RE
.\}
.PP
\fIoptions\fR
.RS 4
¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¡£¥ª¥×¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
.RE
.PP
\fISEI\fR
.RS 4
Æɤ߼è¤ëWeb¥µ¡¼¥Ó¥¹¤Î¥¨¥ó¥É¥Ý¥¤¥ó¥È¼ÂÁõ¥¯¥é¥¹(SEI)¤Ç¤¹¡£
.RE
.SH "ÀâÌÀ"
.PP
\fBwsgen\fR¥³¥Þ¥ó¥É¤Ï¡¢JAX\-WS Web¥µ¡¼¥Ó¥¹¤Ç»ÈÍѤµ¤ì¤ëJAX\-WS¥Ý¡¼¥¿¥Ö¥ë¡¦¥¢¡¼¥Æ¥£¥Õ¥¡¥¯¥È¤òÀ¸À®¤·¤Þ¤¹¡£¤³¤Î¥Ä¡¼¥ë¤Ï¡¢Web¥µ¡¼¥Ó¥¹¤Î¥¨¥ó¥É¥Ý¥¤¥ó¥È¡¦¥¯¥é¥¹¤òÆɼè¤ê¡¢Web¥µ¡¼¥Ó¥¹¤Î¥Ç¥×¥í¥¤¥á¥ó¥È¤È¸Æ½Ð¤·¤ËɬÍפʤ¹¤Ù¤Æ¤Î¥¢¡¼¥Æ¥£¥Õ¥¡¥¯¥È¤òÀ¸À®¤·¤Þ¤¹¡£JAXWS 2\&.1\&.1 RI¤Ç¤Ï\fBwsgen\fR
Ant¥¿¥¹¥¯¤âÄ󶡤µ¤ì¤Þ¤¹¡£
http://jax\-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.html¤ÎJAX\-WS (wsgen)¥Ú¡¼¥¸¤ÎTools¥¿¥Ö¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
.PP
\fBwsgen\fR¥³¥Þ¥ó¥É¤òµ¯Æ°¤¹¤ë¤Ë¤Ï¡¢¼¡¤ò¹Ô¤¤¤Þ¤¹¡£
.sp
.if n \{\
.RS 4
.\}
.nf
\fBexport JAXWS_HOME=/pathto/jaxws\-ri\fR
\fB$JAXWS_HOME/bin/wsgen\&.sh \-help\fR
.fi
.if n \{\
.RE
.\}
.SH "¥ª¥×¥·¥ç¥ó"
.PP
\-classpath \fIpath\fR
.RS 4
ÆþÎÏ¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¾ì½ê¡£
.RE
.PP
\-cp \fIpath\fR
.RS 4
ÆþÎÏ¥¯¥é¥¹¡¦¥Õ¥¡¥¤¥ë¤Î¾ì½ê¡£
.RE
.PP
\-d \fIdirectory\fR
.RS 4
À¸À®¤µ¤ì¤¿½ÐÎÏ¥Õ¥¡¥¤¥ë¤ò³ÊǼ¤¹¤ë¾ì½ê¡£
.RE
.PP
\-extension
.RS 4
¥Ù¥ó¥À¡¼³ÈÄ¥¤ò»ÈÍѲÄǽ¤Ë¤·¤Þ¤¹¡£³ÈÄ¥¤ò»ÈÍѤ¹¤ë¤È¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î°Ü¿¢À­¤¬¼º¤ï¤ì¤¿¤ê¡¢Â¾¤Î¼ÂÁõ¤ÈÏ¢·È¤Ç¤­¤Ê¤¯¤Ê¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£
.RE
.PP
\-help
.RS 4
\fBwsgen\fR¥³¥Þ¥ó¥É¤Ë´Ø¤¹¤ë¥Ø¥ë¥×¡¦¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡£
.RE
.PP
\-keep
.RS 4
À¸À®¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤òÊݸ¤·¤Þ¤¹¡£
.RE
.PP
\-r \fIdirectory\fR
.RS 4
¤³¤Î¥ª¥×¥·¥ç¥ó¤ò\fB\-wsdl\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë»ÈÍѤ·¤Æ¡¢WSDL¤Ê¤ÉÀ¸À®¤µ¤ì¤¿¥ê¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤òÇÛÃÖ¤¹¤ë¾ì½ê¤ò»ØÄꤷ¤Þ¤¹¡£
.RE
.PP
\-s \fIdirectory\fR
.RS 4
À¸À®¤µ¤ì¤¿¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤ò³ÊǼ¤¹¤ë¾ì½ê¡£
.RE
.PP
\-verbose
.RS 4
¥³¥ó¥Ñ¥¤¥é¡¦¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡£
.RE
.PP
\-version
.RS 4
¥ê¥ê¡¼¥¹¾ðÊó¤ò½ÐÎϤ·¤Þ¤¹¡£
.RE
.PP
\-wsdl [ :protocol ]
.RS 4
¥¨¥ó¥É¥Ý¥¤¥ó¥È¤ò¥Ç¥×¥í¥¤¤¹¤ëÁ°¤Ë³Îǧ¤¹¤ëWSDL¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë¥ª¥×¥·¥ç¥ó¡¦¥³¥Þ¥ó¥É¡£WSDL¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥µ¡¼¥Ó¥¹¤ò¸Æ¤Ó½Ð¤¹ÊýË¡¡¢¥Ñ¥é¥á¡¼¥¿¤ËɬÍפÊÃÍ¡¢ÊÖ¤µ¤ì¤ë¥Ç¡¼¥¿¹½Â¤¤Ë¤Ä¤¤¤Æ¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ÇÆɼè¤ê²Äǽ¤Êµ­½Ò¤¬´Þ¤Þ¤ì¤Þ¤¹¡£
.sp
¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï\fBwsgen\fR¥³¥Þ¥ó¥É¤ÏWSDL¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤»¤ó¡£\fBprotocol\fRÃͤϾÊά²Äǽ¤Ç¤¢¤ê¡¢WSDL¥Ð¥¤¥ó¥Ç¥£¥ó¥°(\fBwsdl:binding\fR)¤Ç»ÈÍѤ¹¤ë¥×¥í¥È¥³¥ë¤ò»ØÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£Í­¸ú¤Ê¥×¥í¥È¥³¥ë¤Ï¡¢\fBsoap1\&.1\fR¤È\fBXsoap1\&.2\fR¤Ç¤¹¡£¥Ç¥Õ¥©¥ë¥È¤Ï\fBsoap1\&.1\fR¤Ç¤¹¡£\fBXsoap1\&.2\fR¥×¥í¥È¥³¥ë¤Ïɸ½à¤Ç¤Ï¤Ê¤¤¤¿¤á¡¢\fB\-extension\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤Î¤ß»ÈÍѲÄǽ¤Ç¤¹¡£
.RE
.PP
\-servicename \fIname\fR
.RS 4
\fB\-wsdl\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤Î¤ß»ÈÍѤ·¤Æ¡¢WSDL¤ÇÀ¸À®¤µ¤ì¤ëÆÃÄê¤ÎWSDL¥µ¡¼¥Ó¥¹(\fBwsdl:service\fR)̾¤ò»ØÄꤷ¤Þ¤¹¡£Îã:
\fB\-servicename "{http://mynamespace/}MyService"\fR¡£
.RE
.PP
\-portname \fIname\fR
.RS 4
\fB\-wsdl\fR¥ª¥×¥·¥ç¥ó¤È¤È¤â¤Ë¤Î¤ß»ÈÍѤ·¤Æ¡¢WSDL¤ÇÀ¸À®¤µ¤ì¤ëÆÃÄê¤ÎWSDL¥Ý¡¼¥È(\fBwsdl:port\fR)̾¤ò»ØÄꤷ¤Þ¤¹¡£Îã:
\fB\-portname "{http://mynamespace/}MyPort"\fR¡£
.RE
.SH "Îã"
.PP
¼¡¤ÎÎã¤Ç¤Ï¡¢Stock¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë\fB@WebService\fRÃí¼á¤ò»ý¤Ä\fBStockService\fR¤Î¥é¥Ã¥Ñ¡¼¡¦¥¯¥é¥¹¤òÀ¸À®¤·¤Þ¤¹¡£
.sp
.if n \{\
.RS 4
.\}
.nf
\fBwsgen \-d stock \-cp myclasspath stock\&.StockService\fR
.fi
.if n \{\
.RE
.\}
.PP
¼¡¤ÎÎã¤Ç¤Ï¡¢SOAP 1\&.1 WSDL¤ª¤è¤Ó\fB@WebService\fRÃí¼á¤ò»ý¤Ä\fBstock\&.StockService\fR¥¯¥é¥¹¤Î¥¹¥­¡¼¥Þ¤òÀ¸À®¤·¤Þ¤¹¡£
.sp
.if n \{\
.RS 4
.\}
.nf
\fBwsgen \-wsdl \-d stock \-cp myclasspath stock\&.StockService\fR
.fi
.if n \{\
.RE
.\}
.PP
¼¡¤ÎÎã¤Ç¤Ï¡¢SOAP 1\&.2 WSDL¤òÀ¸À®¤·¤Þ¤¹¡£
.sp
.if n \{\
.RS 4
.\}
.nf
\fBwsgen \-wsdl:Xsoap1\&.2 \-d stock \-cp myclasspath stock\&.StockService \fR
.fi
.if n \{\
.RE
.\}
.PP
\fBÃí°Õ:\fR
¥µ¡¼¥Ó¥¹¤Î¥Ç¥×¥í¥¤»þ¤ËJAXWS¼Â¹Ô»þ´Ä¶­¤ÇWSDL¤¬À¸À®¤µ¤ì¤ë¤¿¤á¡¢³«È¯»þ¤ËWSDL¤òÀ¸À®¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
.SH "´ØÏ¢¹àÌÜ"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
wsimport(1)
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
http://jax\-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.html¤Î
JAX\-WS (wsgen)¥Ú¡¼¥¸¤ÎTools¥¿¥Ö¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
.RE
.br
'pl 8.5i
'bp