Forum Discussion

sairam132033's avatar
sairam132033
New Contributor
8 years ago

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

Hello,

 

I am able to browse WSDL in the internet explorer.

 

But using this WSDL URL when I tried to create SOAP UI project I got an error

 

java.io.IOException: Attempted read from closed Stream

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

 

What could be a reason?

 

Thanks

SaiRam

3 Replies

  • KarelHusa's avatar
    KarelHusa
    Champion Level 3

    SaiRam,

    I got a similar message when the WSDL imported an XSD from a URL which was not accessible.

     

    In the browser you only open the WSDL file, while SoapUI loads the WSDL and also its dependencies. Try to check the WSDL imports, if there are any.

     

    Karel

     

  • jaikishpai's avatar
    jaikishpai
    Occasional Contributor

    Hi sairam132033,

    Please place all the xsd files related to the Webservice in a single folder along with the wsdl and then try importing the wsdl. This should work.

    • sairam132033's avatar
      sairam132033
      New Contributor

      I am good now. Thank you for all replies.

       

      My problem was when I browse the WSDL URL in the internet explorer, it explosed its WSLD location file to local host rather than the actual server name. I think once this will be fix, I should be able to create a SOAP UI project then.

       

      Thanks Again

       

      SaiRam

       

      Please close this thread.