开发者

Trying to generate axis2 client stub for given WSDL

I am trying to generate axis2 client stub for given WSDL but getting following error-

[ERROR] java.net.URISyntaxException: Illegal character in path at index 15:
file:/C:/Pluton Server/installers/Webser开发者_JAVA技巧vice
_engine/axis2-1.5.1/bin/EncryptService.wsdl
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path 
at   index 15: 
file:/C:/Pluton Server/installers/Webservice_engine/axis2-1.5.1/bin/EncryptService.wsdl


The error is caused by spaces in the path of the WSDL file's location: file:/C:/Pluton Server/installers/Webservice _engine/axis2-1.5.1/bin/EncryptService.wsdl

Try to move the WSDL file to a path that has no spaces (eg. c:/test/EncryptService.wsdl).


Looks like URLs with spaces in them aren't allowed, which is no surprise. Either put the wsdl in a directory without spaces in the name or properly escape the path.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜