WSDL 错误:无法在第 0 行读取文档

发布于 2024-12-05 03:22:06 字数 348 浏览 1 评论 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

舟遥客 2024-12-12 03:22:06

我以前也遇到过这种情况。在显示“隐藏”字符的文件编辑器中打开 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.

笔落惊风雨 2024-12-12 03:22:06

我认为我应该让人们知道我的解决方案,以防他们遇到同样的问题。看起来好像是一个损坏的工作空间或 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文