Spec-Zone .ru
спецификации, руководства, описания, API

Print-friendly VersionPrint-friendly Version    Download Documentation

wsgen - XML Web Services (JAX-WS) 2.0 ???????????? Java™ API

?????????????????????: 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 ???????????????????????????????????????

wsgen ?????????

??????

wsgen [options] <SEI>

???????????????wsgen ????????????????????????????????????

???????????????

??????

-classpath <path>

????????????????????????????????????????????????????????????

-cp <path>

-classpath <path> ?????????

-d <directory>

?????????????????????????????????????????????????????????????????????

-extension

?????????????????? (???????????????????????????????????????) ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

-help

???????????????????????????

-keep

?????????????????????????????????????????????

-r <directory>

?????? -wsdl ??????????????????????????????????????????????????????WSDL ?????????????????????????????????????????????????????????????????????????????????

-s <directory>

????????????????????????????????????????????????????????????????????????

-verbose

???????????????????????????????????????????????????????????????????????????????????????

-version

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

-wsdl[:protocol]

wsgen ??????????????????????????? WSDL ??????????????????????????????????????????????????????????????????????????????????????????????????? wsgen ??? WSDL ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? WSDL ?????????????????????????????????????????????????????????????????????protocol ???????????????????????????wsdl:binding ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????soap1.1 ??? Xsoap1.2????????????????????? soap1.1 ?????????Xsoap1.2 ??????????????????????????????-extension ??????????????????????????????????????????????????????????????????

-servicename <name>

?????? -wsdl ??????????????????????????????????????????????????????WSDL ??????????????????????????? wsdl:service ?????????????????????????????????????????????????????? : -servicename "{http://mynamespace/}MyService"

-portname <name>

?????? -wsdl ??????????????????????????????????????????????????????WSDL ??????????????????????????? wsdl:port ?????????????????????????????????????????????????????? : -portname "{http://mynamespace/}MyPort"

???

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 ??????????????????????????????????????????


Discuss
We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies — your information is not used for any other purpose. By submitting a comment, you agree to these Terms of Use.