# \[Resolved\] error: does not close tag

**URL:** <https://community.smartbear.com/t/resolved-error-does-not-close-tag/670>\
**Category:** ReadyAPI\
**Tags:** readyapi, api, migrated\
**Created:** [October 9, 2012, 8:01am UTC](https://community.smartbear.com/t/resolved-error-does-not-close-tag/670 "2012-10-09T08:01:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [October 9, 2012, 8:01am UTC](https://community.smartbear.com/t/resolved-error-does-not-close-tag/670/1 "2012-10-09T08:01:44Z")

</div>

> Originally posted by **krisrr3** on October 09, 2012

Hi guys,

I am trying to import a WSDL and I am getting the error below.

> | |
> | --- |
> | Error loading [[http://localhost:8080/custident-service/ciCustSearchService.wsdl](http://localhost:8080/custident-service/ciCustSearchService.wsdl)]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: does not close tag |

My WSDL seems to be properly formatted and I am not sure what could be the problem.

Can you please let me know how to proceed to investigate this isssue.

Cheers  
Kris

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [October 9, 2012, 9:26am UTC](https://community.smartbear.com/t/resolved-error-does-not-close-tag/670/2 "2012-10-09T09:26:11Z")

</div>

> Originally posted by **krisrr3** on October 09, 2012

The error was occurring because I did not exclude ‘localhost’ in the Proxy excludes, in the Preferences section.

I think the error shown was rather misleading.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [June 20, 2014, 9:12pm UTC](https://community.smartbear.com/t/resolved-error-does-not-close-tag/670/3 "2014-06-20T21:12:33Z")

</div>

> Originally posted by **zephans** on June 20, 2014

Wow! Thanks Krisrr3 for posting update with your fix. This was extremely frustrationg for me. I would get “does not close tag” error no matter which endpoint I tried. I installed latest SoapUI 5.0 Pro and even uninstalled all versions to do a “cleaner” install. No change. I even tried on my laptop and could import WSDL for new project no problem using same ethernet cord so I know it was local machine configuration. What’s worse is that my desktop used to work just fine! AAARG! ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/bdce24dfe31bef841b06e7b4b771d518a39fcefa.gif)

After \>4 hours of searching and fiddling around your comment lead me to the root cause:  
My desktop had a manual proxy configured that was no longer supported by my IT department. My laptop was configured with “Automatic” proxy selected and no manual configuration present. All I needed was a pointer toward proxy configuration.

**FIX STEPS:**

1. Click File\>Options, then click Proxy Settings
2. Change proxy settings to match SoapUI on a working system OR talk to your network admin to determine what proxy server should or should not be used to reach your desired target URL.
3. Retry importing WSDL.

**SUGGESTION:** SoapUI should detect “does not close tag” error and mention below the error “File\>Preferences\>HTTP Proxy may be configured incorrectly.” in addition to the raw and ambiguous error.

FYI Bonus TIP: Google search worked much better than Bing search for “does not close tag”.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [June 30, 2014, 8:03pm UTC](https://community.smartbear.com/t/resolved-error-does-not-close-tag/670/4 "2014-06-30T20:03:17Z")

</div>

> Originally posted by **MarcusJ** on June 30, 2014

Hi,

We do have something internally filed for better error messages when related to configuration such as proxy for instance, SOAP-1087. Thanks for sharing how to get around that error, I will add this as an example.
