Forum Discussion

ssloopy's avatar
ssloopy
New Contributor
14 years ago

dns

Hello,
I am new to SoapUI.
I am trying to set up my first project. When I click ok, after copying my wsdl location in the "New soapUI Project" window, I get an "Error loading WSDL" message, but it is not using the location I just pasted into the textbox ( I paste this "http://test.example.com:9000/WCFTestService/Service.svc?wsdl" into the 'Initial WSDL/WADL' textbox, then the error says "Error loading [http://test.w2k.example.com:9000/WCFTestService/Service.svc?xsd=xsd0]: java.io.IOException: Attempted read from closed stream".
It appears it is not using the DNS configuration that I set up on my windows machine.
If I use nslookup from the command prompt, I get the correct machine name using the IP, but when I try to use soapui, it returns the incorrect machine name. I'm confused about how that is possible.
Does anyone know what I could be doing wrong?
Any help or pointers are greatly appreciated.
Looking forward to seeing it work once.
Thank you.
S

3 Replies

  • ssloopy's avatar
    ssloopy
    New Contributor
    This issue was caused by the server with the web service having a machine name that was not listed in the DNS. We changed the machine name to match the name returned by the reverse DNS and everything worked.
    I hope this helps someone some day.
    S
  • Just for other people facing a similar issue. I was running soapui on the same machine and had issues importing the WSDL by using the URL.
    The workaround for me was to load the WSDL locally (the address to the WebService then has to be specified later). The XSD has to be
    in the same folder as the WSDL. Hope this helps someone who faces similar issues.
  • It might be caused because the IIS doesn't have permission to access C:\Windows\Temp, try giving full permission to IIS to access temp folder, hope this might help you.
    Happy Coding