Microsoft Windows [版本 10.0.17134.556]
(c) 2018 Microsoft Corporation。保留所有权利。
C:\Users\lenovopc>\
'\' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\lenovopc>cd\
C:\>set classpath
ClassPath=C:\Program Files (x86)\Java\jdk1.7.0_79\lib\tools.jar;C:\Program Files (x86)\Java\jdk1.7.0_79\lib\dt.jar;
C:\>set path
Path=D:\Program Files (x86)\NetSarang\Xftp 6\;F:\oracle\product\10.2.0\db_1\bin;F:\ALL_Course\4Oracle10g\oracle\product\10.2.0\db_1\bin;F:\ALL_Course\4Oracle10g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Java\jdk1.7.0_79\bin;D:\Program Files (x86)\MySQL\MySQL Server 5.5\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;F:\ALL_Course\Python_Q;C:\Users\lenovopc\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
C:\>d
'd' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\>d:
D:\>f:
F:\>cd ALL_Course\10Activiti\Ecli\WebServiceClientQ\src
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://192.168.90.125:6688/hi?wsdl
parsing WSDL...
Generating code...
Compiling code...
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://120.0.0.1:6688/hi?wsdl
parsing WSDL...
[ERROR] Connection timed out: connect
Failed to read the WSDL document: http://120.0.0.1:6688/hi?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://120.0.0.1:6688/hi?wsdl
parsing WSDL...
[ERROR] Connection timed out: connect
Failed to read the WSDL document: http://120.0.0.1:6688/hi?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://120.0.0.1:6688/hello?wsdl
parsing WSDL...
[ERROR] Connection timed out: connect
Failed to read the WSDL document: http://120.0.0.1:6688/hello?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://127.0.0.1:6688/hi?wsdl
parsing WSDL...
Generating code...
Compiling code...
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>cd\
F:\>cd ALL_Course\10Activiti\Ecli\WetherClientQ\src
F:\ALL_Course\10Activiti\Ecli\WetherClientQ\src>wsimport -keep http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
parsing WSDL...
[WARNING] src-resolve.4.2: 解析组件 's:schema' 时出错。在该组件中检测到 's:schema' 位于名称空间 'http://www.w3.org/2001/XMLSchema' 中, 但无法从方案文档 'http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl#types?schema1' 引用此名称空间的组件。如果这是不正确的名称空间, 则很可能需要更改 's:schema' 的前缀。如果这是正确的名称空间, 则应将适当的 'import' 标记添加到 'http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl#types?schema1'。
line 15 of http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl#types?schema1
[WARNING] src-resolve: 无法将名称 's:schema' 解析为 'element declaration' 组件。
line 15 of http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl#types?schema1
[ERROR] undefined element declaration 's:schema'
line 15 of http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
[ERROR] undefined element declaration 's:schema'
line 61 of http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
[ERROR] undefined element declaration 's:schema'
line 101 of http://ws.webxml.com.cn/WebServices/WeatherWS.asmx?wsdl
F:\ALL_Course\10Activiti\Ecli\WetherClientQ\src>wsimport -keep F:\ALL_Course\10Activiti\Ecli\WetherClientQ\src\WeatherWS.asmx
parsing WSDL...
[WARNING] Ignoring SOAP port "WeatherWSSoap12": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
line 533 of file:/F:/ALL_Course/10Activiti/Ecli/WetherClientQ/src/WeatherWS.asmx
[WARNING] ignoring port "WeatherWSHttpGet": no SOAP address specified. try running wsimport with -extension switch.
line 536 of file:/F:/ALL_Course/10Activiti/Ecli/WetherClientQ/src/WeatherWS.asmx
[WARNING] ignoring port "WeatherWSHttpPost": no SOAP address specified. try running wsimport with -extension switch.
line 539 of file:/F:/ALL_Course/10Activiti/Ecli/WetherClientQ/src/WeatherWS.asmx
Generating code...
Compiling code...
F:\ALL_Course\10Activiti\Ecli\WetherClientQ\src>
可以覆盖,只要记得刷新项目,main不会异常
Microsoft Windows [版本 10.0.17134.590]
(c) 2018 Microsoft Corporation。保留所有权利。
C:\Users\lenovopc>cd\
C:\>cd f:
F:\
C:\>f:
F:\>cd ALL_Course\10Activiti\Ecli\WebServiceServerQ\src
F:\ALL_Course\10Activiti\Ecli\WebServiceServerQ\src>wsimport keep http://192.168.90.226:6688/hi?wsdl
parsing WSDL...
[ERROR] file:/F:/ALL_Course/10Activiti/Ecli/WebServiceServerQ/src/keep is unreachable
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceServerQ\src>wsimport keep http://127.0.0.1:6688/hi?wsdl
parsing WSDL...
[ERROR] file:/F:/ALL_Course/10Activiti/Ecli/WebServiceServerQ/src/keep is unreachable
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceServerQ\src>f:
F:\ALL_Course\10Activiti\Ecli\WebServiceServerQ\src>cd\
F:\>cd ALL_Course\10Activiti\Ecli\WebServiceClientQ\src
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport keep http://192.168.90.226:6688/hi?wsdl
parsing WSDL...
[ERROR] file:/F:/ALL_Course/10Activiti/Ecli/WebServiceClientQ/src/keep is unreachable
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://192.168.90.125:6688/hi?wsdl
parsing WSDL...
[ERROR] Connection timed out: connect
Failed to read the WSDL document: http://192.168.90.125:6688/hi?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://192.168.90.226:6688/hi?wsdl
parsing WSDL...
Generating code...
Compiling code...
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://127.0.0.1\:6688/hi?wsdl
parsing WSDL...
[ERROR] com.sun.istack.internal.SAXParseException2; 127.0.0.1\
Failed to read the WSDL document: http://127.0.0.1\:6688/hi?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://127.0.0.1:6688/hi?wsdl
parsing WSDL...
[ERROR] Connection refused: connect
Failed to read the WSDL document: http://127.0.0.1:6688/hi?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>wsimport -keep http://127.0.0.1:6688/hi?wsdl
parsing WSDL...
Generating code...
Compiling code...
F:\ALL_Course\10Activiti\Ecli\WebServiceClientQ\src>