WSDL 错误:无法在第 0 行读取文档
我遇到了 WSDL 问题,而我周围的其他人似乎没有遇到过这个问题。这甚至难倒了我的导师。当您将 WSDL 正文复制并粘贴到新文件中,然后将其重命名为 CostService.wsdl
时,它可以工作,但是一旦您对项目执行任何操作,就会出现以下错误。这与我班上其他人使用的文件完全相同,但只有我有这个问题。谁能帮我指出正确的方向?谢谢你!
WSDL 文档 文件:///workspace/CostService/config/CostService.wsdl 无法 读。 CostService.wsdl /CostService/config 第 0 行 - WSDL 问题
I am having an issue with a WSDL that no one else around me seems to be having. This is even stumping my instructor. When you copy and paste the body of the WSDL into a new file and then rename it to CostService.wsdl
it works, but as soon as you do anything to the project the error below occurs. This is the exact same file as everyone else in my class uses, but only I have this issue. Can anyone help to point me in the right direction? Thank you!
The WSDL document
file:///workspace/CostService/config/CostService.wsdl could not be
read. CostService.wsdl /CostService/config line 0 - WSDL Problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我以前也遇到过这种情况。在显示“隐藏”字符的文件编辑器中打开 WSDL,并查找可能在打开 << 之前的 ASCII 字符。特点。删除它并保存文件,你应该没问题。
I've had this happen to me before. Open your WSDL in a file editor that shows "hidden" characters and look for an ASCII character that is probably before your opening < character. Delete this and save the file and you should be fine.
我认为我应该让人们知道我的解决方案,以防他们遇到同样的问题。看起来好像是一个损坏的工作空间或 Eclipse 环境...我删除了环境和工作空间并重新开始。现在好像已经好了。感谢您的帮助。
I figure that I should let people know my resolution in case they have the same problem. It seems as though it was a corrupted work space or eclipse environment... I deleted the environment and work space and started all over again. It seems to be alright now. Thank you for your help.