Forum Discussion

JimM's avatar
JimM
New Contributor
7 years ago
Solved

What is a valid URL for my first project?

It seems that the URLs suggested for a first project vary over time.

 

I have installed the open source version of SoapUI (5.4.0) on a Windows 7 system. When I tried to create my first project, following the steps in "SoapUI 101: A Beginner's Guide to Functional Testing", page 9, I tried using both "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" and "http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL". Both caused an error message to pop up. For example,

 

Error loading WSDL

 There was something wrong with the WSDL you are trying to import

 

Error loading ["http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL"]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered: '1'

 

If I paste the CurrencyConverter URL into Internet Explorer, it displays what appears to be a valid XML document.

 

Any suggestions?

Jim

  • Hi Jim,

     

    The currency convertor WSDL loaded fine for me in SoapUI (also 5.4.0 on Windows 7 for me). The other one didn't.

     

    If you installed the Tutorials when you installed SoapUI, then you can find in your Windows user home directory, under SoapUI Tutorials.

     

    You can also find some more projects that work with public APIs from here: https://www.soapui.org/tutorials/web-service-example-projects.html. If I recall, one of the 4 was no longer publicly available.

2 Replies

  • JHunt's avatar
    JHunt
    Community Hero

    Hi Jim,

     

    The currency convertor WSDL loaded fine for me in SoapUI (also 5.4.0 on Windows 7 for me). The other one didn't.

     

    If you installed the Tutorials when you installed SoapUI, then you can find in your Windows user home directory, under SoapUI Tutorials.

     

    You can also find some more projects that work with public APIs from here: https://www.soapui.org/tutorials/web-service-example-projects.html. If I recall, one of the 4 was no longer publicly available.

  • JimM's avatar
    JimM
    New Contributor

    Thanks. I tried it again and I got the expected WSDL document. I thought maybe the request was case sensitive, but both "currencyconvertor" and "CurrencyConvertor" (which I originally tried) worked. However, when I substituted "EUR" and "USD" for the currencies and submitted the request, I got "-1" as the result, so I am still puzzled about both my successes and my failures. I will try some other requests and see what happens. Thanks again for your reply. Jim