【发布时间】:2014-01-04 11:59:23
【问题描述】:
我是网络服务的新手。我正在尝试使用以下命令生成存根:
wsimport -d ./build -s ./src -p com.ECS.client.jax http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl -b jaxws-custom.xml
我在 cmd 中收到此错误:
wsimport 无法识别
我的 Java 环境变量系统路径是C:\Program Files (x86)\Java\jdk1.7.0。我做错了什么?
我通过使用 netbeans 中的 wsimport 而不是 cmd 解决了这个问题...但我仍然不知道为什么我不能从 cmd 中使用它。
【问题讨论】:
标签: java web-services web wsdl wsimport