![]() | Documentation Contents |
?????????????????????: 2.1
?????????????????????: 2.1.1
wsimport
?????????????????????????????? JAX-WS ????????????????????????????????????????????????????????????
??????????????????????????????????????????WSDL ?????????????????????????????????????????????????????????????????????????????????????????????????????? WAR ???????????????????????????????????????????????????????????????????????????????????????wsimport Ant ???????????????????????????????????????Wsimport Ant ???????????????????????????????????????
/bin/wsimport.sh -help
\bin\wsimport.bat -help
wsimport [options] <wsdl>
???????????????wsimport
????????????????????????????????????
??????????????? |
?????? |
---|---|
-d <directory> |
???????????????????????????????????????????????????????????????????????? |
-b <path> |
????????? JAX-WS ????????? JAXB ??????????????????????????????????????????????????? ( |
-B <jaxbOption> |
???????????????????????? JAXB ?????????????????????????????????????????? |
-catalog |
?????????????????????????????????????????????????????????????????????????????????????????????????????? TR9401???XCatalog???OASIS XML Catalog ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
-extension |
?????????????????? (???????????????????????????????????????) ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
-help |
??????????????????????????? |
-httpproxy:<host>:<port> |
HTTP ?????????????????????????????????????????? (?????????????????????????????? 8080) |
-keep |
????????????????????????????????????????????? |
-p |
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? WSDL/????????????????????????????????????????????????????????? ??????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
-s <directory> |
??????????????????????????????????????????????????????????????????????????? |
-verbose |
??????????????????????????????????????????????????????????????????????????????????????? |
-version |
??????????????????????????????????????? |
-wsdllocation <location> |
@WebServiceClient.wsdlLocation ??? |
-target |
??????????????? JAX-WS ?????????????????????????????????????????????????????????????????????????????? 2.0 ?????????JAX-WS 2.0 ??????????????????????????????????????????????????? |
-quiet |
wsimport ???????????????????????? |
-b
??????????????????????????????????????? JAX-WS ????????? JAXB ????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????? Bean ??????????????????????????????????????????????????????????????? JAX-WS ????????? JAXB ???????????????????????????????????????????????????????????????????????????????????????????????????????????????
wsimport -p stockquote http://stockquote.xyz/quote?wsdl
Java ???????????????????????????????????????http://stockquote.xyz/quote?wsdl
??????????????????????????????????????????????????????????????????????????????????????????????????????
Copyright © 1995-2010 Sun Microsystems, Inc. All Rights Reserved. Please send comments using this Feedback page. |
![]() Java Technology |