Forum Discussion

payam's avatar
payam
Contributor
11 years ago

importing the authentication protected wsdl in v4.6.4

When trying to import an authentication-protected wsdl (some thing like http://10.11.12.13:9626/getWSDL we get an error reponse:

Error loading [http://10.11.12.13:9626/getWSDL]: org.apache.xmlbeans.XmlException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://10.11.12.13:9626/getWSDL


However, there was an authentication window popping up in earlier windows. We have to downgrade again

9 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    What was the previous version of SoapUI Pro you were using in which you received a pop up window to authenticate? Can you show a screen shot of this authentication window?




    Regards,
    Marcus
    SmartBear Support
  • This is what I can see from not a very older version (4.6.3 free)

    I can see this using soapui pro 4.6.4
  • sorry I meant I can NOT see this window in 4.6.4 pro
  • How can I do it when I'm not even able to import the wsdl?
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi again!

    You are absolutely right, my previous post is obviously not applicable in your situation, sorry for that.
    We've verified that this indeed a bug in the latest version of SoapUI and have registered an issue for it in our internal bug tracker (SOAP-1331).

    We'll let you know as soon as we have more information about this.

    --
    Regards

    Erik
    SmartBear Sweden
    • royhiggs's avatar
      royhiggs
      New Member

       I think this is broken again in 5.4.0. I'm not getting prompted for credentials. 

      • eugenezadorin's avatar
        eugenezadorin
        Occasional Visitor

        Try to inspect HTTP headers your API-server responds with.

         

        According to MDN schema - https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication - server must send WWW-Authenticate header which tells client how exactly to authorize.

         

        In my case when I've been added following header: 

         

        WWW-Authenticate: Basic realm="My super api", charset="UTF-8"

         

        And Soap UI shows me credentials popup. Tested at v5.4.0.