无法在 SOAPUI 中导入 WSDL 文件 - 弹出 NT 身份验证(加载 WSDL 时出错) [英] Cannot import WSDL file in SOAPUI - NT authentication pop up (Error loading WSDL)

查看:85
本文介绍了无法在 SOAPUI 中导入 WSDL 文件 - 弹出 NT 身份验证(加载 WSDL 时出错)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前从未遇到过类似的问题,

I never faced similar problem before,

我尝试过 SOAP 4.0.1 和 SOAP 5.1.2.我在 Windows 和 Windows Server 2008 上都试过了我尝试导入 WSDL:出现 NT 身份验证对话框:指定 NT 身份验证凭据填充用户名、密码、域

I tried with SOAP 4.0.1 and also with SOAP 5.1.2. I tried it on my windows but also and on Windows Server 2008 I try to import WSDL: NT Authentication dialog is presented: Specify NT Authentication Credentials to populate Username,Password,Domain

我可以在 Firefox 中打开 WSDL 定义:

I am able to open the WSDL definition in Firefox:

http://192.168.0.242/SO/Services/ScheduleService.svc?wsdl 

输入用户名和密码后

但是当尝试导入 WSDL 文件或尝试使用位置 URL 导入 wsdl 文件时

but when trying to import WSDL file or when trying to import wsdl file using location URL

Error loading WSDL
There was something wrong with the WSDL you are trying to import

    Error loading
 [http://192.168.0.242/SO/Services/ScheduleService.svc?wsdl=wsdl0]: org.apache.xmlbeans.XmlException: 
org.apache.xmlbeans.XmlException: error: Reference to undefined entity: raquo

推荐答案

我在使用最新的 Soap UI 5.3 时遇到了同样的错误.没有帮助配置的黑客攻击(代理无,抢先验证等).最后我从磁盘导入了 WSDL.然后通过 NTLM 调用操作没有任何问题.在某些环境下通过 NTLM 导入 WSDL 时,这似乎是 SoapUI 中的一个错误.

I got same error using latest Soap UI 5.3. No hacking with configuration helped (proxy none, authenticate preemptively etc). In the end I imported WSDL from disk. Calling of operations through NTLM then worked without any problems. It seems like a bug in SoapUI when importing WSDL through NTLM in some environments.

更新:已测试在 IIS 中启用匿名身份验证和禁用 Windows 身份验证可以解决 SoapUI 中的导入问题.所以这肯定是通过 NTLM 导入时 SoapUI 中的某种错误.

Update: tested that enabling anonymous auth and disabling windows auth in IIS resolves the issue with import in SoapUI. So it is definitely some kind of bug in SoapUI during import through NTLM.

这篇关于无法在 SOAPUI 中导入 WSDL 文件 - 弹出 NT 身份验证(加载 WSDL 时出错)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆