java的webservice问题
请问如何根据用户提供的url(就是webservice的wsdl)来生成里面的接口方法名和入参以及返回值啊
通过eclipse如何生成呢? 求过程 谢谢
------解决方案--------------------
Usage: wsimport [options] <WSDL_URI>
where [options] include:
-b <path> specify external jaxws or jaxb binding files
(Each <file> must have its own -b)
-catalog <file> specify catalog file to resolve external entity references
supports TR9401, XCatalog, and OASIS XML Catalog format.
-d <directory> specify where to place generated output files
-extension allow vendor extensions - functionality not specified
by the specification. Use of extensions may
result in applications that are not portable or
may not interoperate with other implementations
-help display help
-httpproxy:<host>:<port> specify a HTTP proxy server (port defaults to 8080)
-keep keep generated files
-p <pkg> specifies the target package
-s <directory> specify where to place generated source files
-verbose output messages about what the compiler is doing
-version print version information
-wsdllocation <location> @WebService.wsdlLocation and @WebServiceClient.wsdlLocation value
Examples:
wsimport stock.wsdl -b stock.xml -b stock.xjb
wsimport -d generated http://example.org/stock?wsdl
------解决方案--------------------
myeclipse有插件,你可以从myeclipse的start page里学习
Help -> Myeclipse Start Page