Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

soapUI: Error does not close tag

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?

like image 510
tesicg Avatar asked Jun 24 '13 07:06

tesicg


4 Answers

Watch for ?wsdl.

You should use it like this:

http://localhost:52086/WebService1.asmx?wsdl
like image 57
Leonardo Almeida Avatar answered Nov 14 '22 10:11

Leonardo Almeida


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

like image 34
Kayvan Tehrani Avatar answered Nov 14 '22 09:11

Kayvan Tehrani


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.

like image 5
Kishan Bheemajiyani Avatar answered Nov 14 '22 09:11

Kishan Bheemajiyani


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.

like image 3
Dhruvak Chokshi Avatar answered Nov 14 '22 09:11

Dhruvak Chokshi