![]() | Documentation Contents |
?????????????????????: 2.1
?????????????????????: 2.1.1
wsgen
???????????????JAX-WS Web ?????????????????????????????? JAX-WS ?????????????????????????????????????????????????????????????????????????????????Web ??????????????????????????????????????????????????? (SEI) ??????????????????Web ?????????????????????????????????????????????????????????????????????????????????????????????????????????
wsgen
???????????????JAX-WS Web ?????????????????????????????? JAX-WS ?????????????????????????????????????????????????????????????????????????????????Web ???????????????????????????????????????????????????????????????Web ?????????????????????????????????????????????????????????????????????????????????????????????????????????JAXWS 2.1.1 RI ?????? wsgen Ant ???????????????????????????????????????????????????Wsgen Ant ???????????????????????????????????????
export JAXWS_HOME=/pathto/jaxws-ri
$JAXWS_HOME/bin/wsgen.sh -help
set JAXWS_HOME=c:\pathto\jaxws-ri
%JAXWS_HOME%\bin\wsgen.bat -help
wsgen [options] <SEI>
???????????????wsgen
????????????????????????????????????
??????????????? |
?????? |
---|---|
|
???????????????????????????????????????????????????????????? |
|
|
|
????????????????????????????????????????????????????????????????????? |
|
?????????????????? (???????????????????????????????????????) ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
|
??????????????????????????? |
|
????????????????????????????????????????????? |
|
?????? -wsdl ??????????????????????????????????????????????????????WSDL ????????????????????????????????????????????????????????????????????????????????? |
|
???????????????????????????????????????????????????????????????????????? |
|
??????????????????????????????????????????????????????????????????????????????????????? |
|
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
|
|
|
?????? |
|
?????? |
wsgen -d stock -cp myclasspath stock.StockService
stock ???????????????????????? @WebService ???????????????????????????StockService ?????????????????????????????????????????????????????????
wsgen -wsdl -d stock -cp myclasspath stock.StockService
SOAP 1.1 WSDL ??????@WebService ???????????????????????? Java ????????? stock.StockService ???????????????????????????????????????
wsgen -wsdl:Xsoap1.2 -d stock -cp myclasspath stock.StockService
SOAP 1.2 WSDL ????????????????????????
???????????????????????????????????? JAXWS ??????????????????????????????????????? WSDL ??????????????????????????????????????? WSDL ??????????????????????????????????????????
Copyright © 1995-2010 Sun Microsystems, Inc. All Rights Reserved. Please send comments using this Feedback page. |
![]() Java Technology |