2

I have got below error message when I have enter the URL in WSDL location

Error loading [http://www.mobilefish.com/services/web_service/countries.php?wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Reference to undefined entity: nbs
Abhishek Asthana
  • 1,857
  • 1
  • 31
  • 51
Mahesh
  • 17
  • 1
  • 1
  • 5
  • Note: The WSDL referenced in step 2 of this tutorial has been removed. Please use one of the following WSDL URLs instead: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL http://www.webservicex.com/currencyconvertor.asmx?WSDL – ankit Feb 26 '14 at 10:36
  • possible duplicate of [How to use soap UI with web services](http://stackoverflow.com/questions/22036624/how-to-use-soap-ui-with-web-services) – Abhishek Asthana Feb 26 '14 at 15:50

2 Answers2

5

I've got the same problem.

I did try to download the wsdl and import the downloaded wsdl... it didn't solve. I also try to found the "entity nbsp" on the file with no results.

This problem is not related with your wsdl but it's a soapUI problem. I had this problem with 5.0.0 version and i installed the 4.5.1 version and it worked =)

Just a note: look out with the proxy setting problem. This version is affected by this problem.. the solution is easy and it's here

Community
  • 1
  • 1
JMarques
  • 3,044
  • 4
  • 34
  • 55
-1

So, if you are trying to access a WSDL the first thing i would recommend is try to open it in a web browser(any will do...yes even IE). Do this from the same machine from where you are going to run the test.

This will tell you if you have access to the WSDL from your test machine and if the WSDL is valid.

Once the WSDL opens, copy the URL into the soapUI's new project dialog box. This will create nodes for all service operations in the service and if you have the option selected, it will also create a sample request for each service option.

This is what a wsdl open in a browser(chrome in this case looks like)WSDL opened in browser


This is what the soapUI new project dialog box looks like. Do remember to check "Create sample requests for all operations?" option to create sample requests. You can give it any name..i called it stackoverflowsoapUI new project dialog

This is what a wsdl loaded into soapUI looks like, notice the different sub nodes?project in soapUI

If you are looking for WSDL to play with..check out the ones listed on xmethods or webservcex.

Hope this answers both this questions and the other one

Community
  • 1
  • 1
Abhishek Asthana
  • 1,857
  • 1
  • 31
  • 51
  • 4
    The question does not ask about this at all. It implies the OP already knows how to add WSDLs, but he's getting a specific exception for that WSDL. – Stjepan Bakrac Oct 25 '16 at 06:49