soapUI: Error does not close tag

走远了吗. 提交于 2019-12-09 04:38:55

问题


I'm trying to use soapUI 4.5.2 for the first time. I've created simple .NET ASPX web service and copied the following address into the soapUI:

http://localhost:52086/WebService1.asmx

But, the following error came up:

Error loading [http://localhost:52086/WebService1.asmx]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: does not close tag

I've disabled proxy option in soapUI preferences.

How to make it work?


回答1:


Watch for ?wsdl.

You should use it like this:

http://localhost:52086/WebService1.asmx?wsdl



回答2:


I had the same problem with SoapUI 5.0.0 on Linux Mint.
In my case the wsdl url was correct and it could be reached via any browser.(you might need to add '?wsdl' to the end of url).

http://localhost:52086/WebService1.asmx?wsdl

In my case, I had configured my firefox to use a proxy server and Soupui was trying to load proxy setting from my Mozilla Firefox which caused SoapUI to be unable to resolve import XSD of WSDL which resides on my local Network. After setting proxy to None in Soapui the problem has been resolved too.

File->Preferences->Proxy Settings->None




回答3:


You have to Instruct that weather it is server uri or not so there is way to way to wrote this like this

example

http://192.XXX.X.XXX/Service/Servicename.asmx?wsdl

try this.




回答4:


can't find your URL for the soap, I have the same problem with you, and I enter the URL into the chrome's address bar ,then I find the 404 not found! so , I change my URL and tried again, It's works.

So, My suggest is: change your URL and try again!




回答5:


Had the same problem with a wcf service, turning off proxy setting on soap ui worked for me. Do not forget the ?wsdl part on your url.




回答6:


FIX STEPS: 1. On SOAP UI Tool. Click File>Options, then click Proxy Settings 2. Change automatic to manual and write localhost in Exclude 3. Retry importing WSDL.



来源:https://stackoverflow.com/questions/17270500/soapui-error-does-not-close-tag

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!