Search code examples
soapuiwindows-authenticationntlmspnego

Importing WSDL to soapUI from HTTP server using Integrated Windows Authentication


I am trying to import a WSDL (referencing a number of XSDs) to soapUI 5.0.0 (Build Date: 20140409-1012) from an intranet HTTP server requiring Integrated Windows Authentication (IWA, also referred to as NTLM and SPNEGO).

Using web browsers and other windows applications (such as Altova XMLSpy) it works opening the WSDL.

However, when using soapUI, I get a question on user name, password and domain. When I provide these details I get an error message and the console reads:

15:59:04,474 INFO  [WsdlLoader] xxx.yyy.com:443 requires Windows authentication org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected element: TAG_END

I found this site on the subject, but I am not sure on whether it applies also to WSDL imports.

Is it supported to import in this way? How do I do it?


Solution

  • As you marked, since you are using SoapUI 5.0 you could perfectly use the steps detailed on the site you provided, it applies to WSDL imports.

    If you want to try a workaround used in the times when SoapUI doesn't supportes NLTM, check this question.