soapUI: Error does not close tag

2019-03-14 07:06发布

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?

5条回答
SAY GOODBYE
2楼-- · 2019-03-14 07:27

Watch for ?wsdl.

You should use it like this:

http://localhost:52086/WebService1.asmx?wsdl
查看更多
我命由我不由天
3楼-- · 2019-03-14 07:29

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.

查看更多
Explosion°爆炸
4楼-- · 2019-03-14 07:31

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楼-- · 2019-03-14 07:39

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楼-- · 2019-03-14 07:40

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

查看更多
登录 后发表回答