我正在尝试通过 Soap UI 连接并向服务发送请求。我通过 putty 连接。在浏览器中,我能够获得 wsdl,但是在新的 SOAP UI 项目中导入 WSDL 时,我收到错误:对未定义实体的引用:nbsp。
完整的跟踪如下:
Error loading [http://localhost:9874/ode/processes/services/services/AddCustomerBillingAccountResponseService_V0_2?xsd=AddCustomerBillingAccount.0.2]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Reference to undefined entity: nbsp
我看到了链接: Error while enter URL in WSDL location in SoapUI 。但是找不到合适的解决方案。在链接中,给出的一个答案是“ 这个问题与您的 wsdl 无关,但它是一个 soapUI 问题。我在 5.0.0 版本上遇到了这个问题,我安装了 4.5.1 版本并且它工作了 =) ”。但是我正在研究 SOAP UI 版本 4.5.1 本身。
帮助表示赞赏。提前致谢。
最佳答案
我把这个添加到 web.config,现在它解决了<location path="ABC">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
关于wsdl - SoapUI 错误 : Reference to undefined entity: nbsp while importing WSDL in New SOAP UI project,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26674888/