Forum Discussion

livebythecreed's avatar
livebythecreed
New Contributor
9 years ago
Solved

Can't import wsdl file

Hello everyone,

 

I am trying to import a wsdl in SOAPUI 5.1.3 which also imports some xsd files. The line that does that is:

 

<import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="http://www.w3.org/2006/03/addressing/ws-addr.xsd"/>

After clicking on "OK", the error that I get is:

 

Error loading [http://www.w3.org/2006/03/addressing/ws-addr.xsd]: java.lang.Exception: Failed to load url; http://www.w3.org/2006/03/addressing/ws-addr.xsd, 0-

 

Any ideas about what could be causing that? The wsdl's syntax is correct (checked by an online validator), and I can open the ws-addr.xsd in my browser. Any input would be greatly appreciated. Thanks!

 

UPDATE: I have successfully imported the wsdl at home, where there is no firewall, VPN, work network etc. However, if I try to do it at work, I get the error I described (we have a firewall). Does anyone know ways to make SOAPUI work with firewalls?

  • rupert_anderson's avatar
    rupert_anderson
    9 years ago

    Ok, no problem, lets hope this is all it is, common issue.

     

    I tend to use MANUAL, as you say. Then it is normally a case of setting HOST (your prxy hostname or IP), PORT e.g. 8080, user and password (often your company login details, assuming they match the proxy ones)

     

    If you are unsure of these values, I tend to check what your browser is using e.g. in network settings, if the browser can see the internet via a proxy, then these details also need to be provided to SoapUI.

     

    You might try the AUTOMATIC option, this might lookup the hostname / port for you, but you would still need the proxy user/password details.


    Cheers,

    Rup

5 Replies

  • rupert_anderson's avatar
    rupert_anderson
    Valued Contributor

    Hi,

     

    Sorry if you've already tried this, but often when people experience a problem loading wsdls at work and not at home, then it can turn out to be that you need to set SoapUI's HTTP proxy settings, rather than a firewall which normally allows http traffic.

     

    File > Preferences 

     

    Screen Shot 2015-07-16 at 20.38.00.png

    Cheers,

    Rup

     

    • livebythecreed's avatar
      livebythecreed
      New Contributor

      Thanks for the answer. I have already tried setting it to 'None'. Should I try the 'Manual' option instead? And if yes, how do I set it up?

      • rupert_anderson's avatar
        rupert_anderson
        Valued Contributor

        Ok, no problem, lets hope this is all it is, common issue.

         

        I tend to use MANUAL, as you say. Then it is normally a case of setting HOST (your prxy hostname or IP), PORT e.g. 8080, user and password (often your company login details, assuming they match the proxy ones)

         

        If you are unsure of these values, I tend to check what your browser is using e.g. in network settings, if the browser can see the internet via a proxy, then these details also need to be provided to SoapUI.

         

        You might try the AUTOMATIC option, this might lookup the hostname / port for you, but you would still need the proxy user/password details.


        Cheers,

        Rup