Forum Discussion

elsaadj's avatar
elsaadj
New Contributor
7 years ago

Error loading java.io.IOException: ... Attempted read from closed stream

 

SoupUI 5.2.0


Error loading [https://wlstapapp4.wadoldc.com:8755/TAS/WebServices/MFET/?wsdl]: java.io.IOException: Attempted read from closed stream

 

We get this error when trying to load WSDL file, can't figure out what is causing this error. Any help will be appreciated

 

  • Hi elsaadj

     

    I think you need to get your WSDL check with the developer, there might be a issue with WSDL file, it you are trying learning SOAPui then please go for another WSDL file.

    • elsaadj's avatar
      elsaadj
      New Contributor

      The WSDL file is ok, it works with C# client. Also you can view it in the browser. We use SoapUI for other WSDL and it works fine.

      So, we know how to use SoapUI and we know the WSDL file is good. It is just we can't figure out the SoapUI settings that will get ready of this error. Looking for help figuring that out.

      • JLTook11's avatar
        JLTook11
        New Member

        Guesing that you have the same issue I did -- the WSDL is referencing localhost as the service url.

         

        • open the WSDL in a browser and save to a file
        • edit the WSDL -- replace localhost with the server url
        • reference this local file via browse to create the project in SoapUI 

        ....Bazinga!