When I wrote the first article about how to test Web Services using soapUI, I got an overwhelming response from the testing community encouraging me, and motivating me to write more useful soapUI tutorials. In this article, I am going to write about some working sample Web Service WSDL URLs for testing with soapUI.
After the first introductory article about soapUI, I also wrote about troubleshooting for soapUI memory issue and for the kind of response you have given via comments and emails, I am thankful to you all. Thanks for your support!
Having a sample soapUI WSDL URL is of a great help when getting used to how SOAP / REST services work.
You can easily get used to how SOAP / REST requests form and get acquainted with how the web service response looks like and how the SOA/Web Service architecture works.
Working WSDL URLs for Testing with soapUI
Here is a list of working sample WSDLs for soapUI Web Services testing.
Note: All the WSDLs on this list are working at the time of writing this article and I will keep updating it as and when I come across new working WSDL files. So, I would suggest you to bookmark this article to load the latest version of this post!
#1. Global Weather Soap: This WSDL generates 2 service operations, GetCitiesByCountry (to get a list of all the cities for any country) and GetWeather (to get weather for any city/country combination).
#2. US Weather by City Zip Codes: This WSDL generates 2 interfaces using which you can current Weather and Weather Forecast for next 7 days for any US city (using its Zip Code).
GetCityForecastByZIP – Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly.
GetCityWeatherByZIP – Allows you to get your City’s Weather, which is updated hourly. U.S. Only
[U.S. Zip Codes Only – You can get US post codes from here]#3. Bank BLZ Service (Bank Sort Codes): This WSDL generates request and response for a web service using which you can fetch Bank Sort Codes (called Bank BLZ codes) for banks in Germany.
In the request, you need to pass the BLZ code for any bank in Germany and it comes back with the bank details. You can get plenty of Bank BLZ codes at blzcodes.com.
I hope you like this list of sample soapUI WSDL files.
Happy Testing!
P.S. – All the WSDLs on this list have been tested before posting here. I will be updating this list on a regular basis, so you can bookmark this URL for future references.
As of March 2022, sample url #1 and #2 seem to be broken.
Thanks, Juan for the feedback – I had a few other feedback comments as well and will verify and update the list this month.
Hi,
I used 2 nd example which is us zip code as input then corresponding weather details will come as output.here i am using soap . and the following error is coming.I am using java 8.
Exception in thread “main” com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Server was unable to process request. —> A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) Please see the server log to find more detail regarding exact cause of the failure.
Thanks for sharing this information with us it is really helpful
Hello Aman,
Getting below error for any of the wsdl,
Server was unable to process request. —> A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)
I am Searching for a WSDL URL for a Signup page. Please help me.
Hi,
I need Login page WSDL file URL. Please can anyone help me for the same?
Hi ,
I haveused this wsdl
‘http://www.webservicex.com/globalweather.asmx?wsdl’ but i see the following error when i browse to it:
I am getting this error below :Kindly please help
Server was unable to process request. —> A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)
Hi Aman,
Global Weather Soap –
http://www.webservicex.com/globalweather.asmx
is not working(404 error).
US Weather by city zip codes –
http://wsf.cdyne.com/WeatherWS/Weather.asmx
is giving
“Login failed for user ‘CDYNE\CCIAD1WSF$’.” error.
Can you please look into this.
Thanks & Regards,
Suhas Nayak
Hi Aman,
I am getting below error while i am using any of the given API method:
Error: Login failed for user ‘CDYNE\CCIAD1WSF$’.
Url:http://wsf.cdyne.com/WeatherWS/Weather.asmx?op=GetCityForecastByZIP
Hi,
The Global Weather SOAP doesn’t even seem to be loading and I am getting 404 error.
The US Weather by city zip codes WSDL loads up.
But when I invoke the service, I get the login failed error.
Not even single wsdl are working …
but how can I even use this without the SOAP request xml code? (Envelope)
Thanks, the one for bank is working :-*
I am also getting an error using WSDL Link: • http://www.webservicex.com/globalweather.asmx?wsdl
And I changed the settings:
In SoapUI, File –> Preferences –> Proxy Settings –> None, and i am still getting the same error.
I downloaded SoapUI 5.4.0, Please advise.
Hi,
I have tried all of the above mentioned WSDL Files. Most of them shows this error while opning them on google crome. {“code”:”PAGE_NOT_FOUND”,”message”:”Page not found”}.
Please help me on this.
Thanks
None of the links are working. When i try to open the wsdl in browser, I get this message
{“code”:”PAGE_NOT_FOUND”,”message”:”Page not found”}
Please help
None of these WSDL’s are working.
Error loading [http://www.webservicex.com/globalweather.asmx?wsdl]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA
My error message at any WSDL link i try
http://www.webservicex.com/globalweather.asmx?wsdl
this web service is not working. I’m trying have access but its not working.
Please have a look on it.
Thanks
I used the wsdl file for GetCitiesByCountry and it worked but for GetWeather is giving me Data Not Found Response .
when creating Test Step-Soap Request-Input param not getting captured.
Getting error ‘
The server cannot service the request because the media type is unsupported’
Error : unexpected element :CDATA
Hi,
I’ve been using ‘http://www.webservicex.com/globalweather.asmx?wsdl’ but i see the following error when i browse to it:
“The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to ‘C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files’.”
Has this service been decommissioned?
Thanks,
Kevin
Hello Kevin, I have verified this and it’s working fine. From the error that you have mentioned, seems like you do not have write access set to your directory? Can you try changing permissions on this folder and retry?
Cheers!
Hi,
I am new to SOAP and trying to learn it.
None of the URLs seems to be working for me. They load on the browser but if I import them for creating a new SOAP project they give me the following error:
Tue May 30 15:41:44 SGT 2017:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:112)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:486)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:475)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:92)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:208)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
Tue May 30 15:44:05 SGT 2017:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:112)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:486)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:475)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:92)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:208)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
Tue May 30 15:49:18 SGT 2017:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:112)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:486)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:475)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:92)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:208)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
**************************************************
File–> Preferences–> Proxy has been set to None and SOAP restarted.
Can anyone please update ? Or provide another wsdl for learning purpose
Thanks,
Megha.
Hello Megha,
Can you try disabling the proxy at Files->Preferences->Proxy Settings?
Set the proxy to none and that should hopefully work for you.
Update: Sorry, just noticed that you have already mentioned having tried setting proxy as None. In that case, please try setting it to automatic and if that doesn’t work too, I believe you are using soapUI on your work laptop (on your company network)?
If you are, you will have to use a Manual proxy.
Cheers
Aman
I used http://www.webservicex.com/globalweather.asmx?wsdl I turned off vpn
I am getting the errors below
(FOC44540) SOAP Request got error. Response Status : 500 ; Reason: Internal Server Error
(FOC44541) Faultcode : soap:Server
(FOC44542) Faultstring: System.Web.Services.Protocols.SoapException: Server was unable to
(FOC44542) Faultstring: process request. —> System.Data.SqlClient.SqlException: Procedure
(FOC44542) Faultstring: or function ‘getWeather’ expects parameter ‘@CountryName’, which was
(FOC44542) Faultstring: not supplied. at
(FOC44542) Faultstring: System.Data.SqlClient.SqlConnection.OnError(SqlException exception,
(FOC44542) Faultstring: Boolean breakConnection, Action`1 wrapCloseInAction) at
(FOC44542) Faultstring: System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
(FOC44542) Faultstring: exception, Boolean breakConnection, Action`1 wrapCloseInAction)
(FOC44542) Faultstring: at
Wayne, have you tried checking your proxy settings? I have mine set to Automatic and the same soapUI WSDL works for me.
Let me know if that works for you.
Hi All,
I’ve used one of these WSDLs in the past, but it seems they may have been decommissioned. Can anyone confirm this?
Thanks,
Jarrod
Hi Jarrod, can you please let me know which one is not working?
Thanks
Hi,
I am unable to work with the “US Weather by City Zip Codes:
WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL“. Please do help me with the requirements. Or let me l=know if the service endpoint is still working or not.
Thanks,
Subha
Hi Subha, I will have to validate these URLs again and will update the list if required. Please bear with me till then. You could use the others on the list for now if that works for you 🙂
Subha, I have validated and yes, this one seems to be broken. Please try http://www.webservicex.com/globalweather.asmx?wsdl instead for now and I will update this post with more sample WSDLs that you can use to testing using soapUI.
i am unable to work with this URL. Is it still working?
Hi to all,
sorru but the WSDL mentioned before dosen’t work gor me… SOAPUI response:
Error loading [http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END
tks a lot
g.
Hi Amandeep,
I am trying to connect to below WSDL from my local machine with SOAP UI
http://www.webservicex.com/globalweather.asmx?wsdl
But I am getting the error message as : credentials are missing.
Could you please let me know the credentials, so that I could connect to the above WSDL please?
Getting below error while using this is in dev test
vax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing ‘http://www.webservicex.com:80/globalweather.asmx?wsdl’.: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2212)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2407)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2440)
at com.itko.lisa.dynexec.axis.WSUtilities.processExternalWSDL(WSUtilities.java:942)
at com.itko.lisa.ws.nx.ui.NxWSStepEditor.processNewWSDL(NxWSStepEditor.java:475)
at com.itko.lisa.ws.nx.ui.ConnectionInfoEditor$34.run(ConnectionInfoEditor.java:1120)
Caused by: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2202)
… 5 more
If you are getting this type of error “Error loading [http://www.webservicex.com/globalweather.asmx?wsdl]: java.lang.Exception: Failed to load url;”……..then try the following
(1)
In SoapUI, File –> Preferences –> Proxy Settings –> None
(2)
If your computer is using VPN, then disable VPN.
In my case, I had to do both for the error to go away.
Thanks for the update here, Eric.
I am getting connection error , asking for domian , password and username
Hi I am trying to access the 1st wsdl (Global Weather Soap)
http://www.webservicex.com/globalweather.asmx?wsdl
It giving me error. Is it like the service is no more for the WSDL.
Hi,
I need some web service with the document. So that I can test it in my system.
We provide WSDLs while creating soapui project so i don’t know from where that url came, how i can write that one. is it different for each web application or it is common one
Using the WSDL gives the below error
Error loading [http://www.webservicex.com/globalweather.asmx?wsdl]: java.lang.Exception: Failed to load url; http://www.webservicex.com/globalweather.asmx?wsdl, 0
I am using
Smart Bear5.2.1
Windows 8 OS
Can you please help me out of this.
Thanks a ton 🙂
can i connect to wsdl url using localhost xampp.
I’m always getting soap client failed to open stream. the wsdl is in https format.
I’m new to this. could you help me out
Thanks very much
Hi Aman,
I am learning SOAP UI testing for REST API and I want to demonstrate the same for my Six months internship in university. Can you please give me some more API for testing purpose ?
Hi,
What are the sample request params to be passed inorder to receive a response for http://www.webservicex.com/globalweather.asmx?wsdl
getweather service?
I gave India / IND for country param. but getting Data Not Found Response
Hi Suma – there are some combinations which are not working – maybe some issue with the data currently.
But I did try these combination which continue to work for GetWeather operation: Delhi/India, Vancouver/Canada and Barcelona/Spain.
I hope this helps.
Hi Aman,
I cam across page and i found sample WSDL URLs for testing purposes. I dont seem to be able to import any of these , as they pop up with a java nullpointer exception.
Am I missing out on something?
P.S. Complete newbie to SoapUI.
Thanks and regards
Animesh
Hi Animesh, could you please send me the exact issue in screenshots? Maybe, put them into a word file and upload them here?
Can you give me more test cases, other than the three automatically generated by SOAP UI from the WSDL….
Hi Aman,
Can i get some URL’s for https testing.
The URL’s mentioned above are perfetly working for me but there is some issue with my https URL.
It would be helpful if you can help me with some authentic secured URL’s.
Regards,
Ankit
Sorry Ankit, I don’t have any at the moment but I will check and get back to you as soon as I can! ?
These wsdl URLs are not working. Please fix them.
Hi Dear All,
I want learn SOAP UI please suggest site or book..
Thanks
Hi
I am having the same issue as Kamal when I try loading the WSDL
Error loading [http://www.webservicex.com/globalweather.asmx?wsdl]: java.lang.Exception: Failed to load url; http://www.webservicex.com/globalweather.asmx?wsdl, 0
I tried chaging my proxy settings but not winning. Any ideas?
Are these service working?I need them testing purposes.But giving error.
Error loading [http://www.webservicex.com/globalweather.asmx?wsdl]: java.lang.Exception: Failed to load url; http://www.webservicex.com/globalweather.asmx?wsdl, 0
Yes Kamal, they are all up and running – are you still facing this issue?
Thanks a lot..Nice effort ! Very helpful !!
Hi Aman,
Can I use these WSDLs for security testing practice.
Regards,
Hardeep
Yes, you can.
Thanks.
Nice Job Aman Praji….
come across this site while browsing something on the Google.
I had a same idea in mind and being lazy implementing it. I love the concept of knowledge sharing. I have similar profile as yours some 11 yrs in software testing in all aspects of it.
I must compliment you on the job you have done with this site. I would love to share some info/articles in future.
keep in touch
Hrishi
Hi Hrishi,
Thanks for such encouraging words – just trying to do my bit giving back to the community 🙂
Sure, I would love to have people join me in the mission of Knowledge sharing and would be more than happy to publish your article here. You can inbox me using the contact form on this blog.
Cheers!
Thanks
Aman