cancel
Showing results for 
Search instead for 
Did you mean: 

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

New Contributor

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

 

6 REPLIES 6
Community Hero

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

Moved to the SoapUI Open Source forum.



If my answer helped please click on the 'Accept as Solution' button.
Community Leader

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

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.


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
New Contributor

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

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.

New Member

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

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!

New Contributor

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

The file has the correct URLs, there is no localhost. https://wadol.gentax.com/WLS/WebServices/MFET/

Occasional Visitor

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

JLTook11 - I signed up just to give you kudos and tell you that you're the man!

 

Alternatively, I just updated my hostfile to point to same IP but with the URL in the WSDL.

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors
Top Kudoed Posts