Forum Discussion

Connie_Brewer's avatar
Connie_Brewer
Occasional Contributor
16 years ago

NTLM authentication

Hi - i am getting the below exception..i cam across this thread (http://marc.info/?l=axis-user&m=115951719717283&w=2) and is this something which soapUI is going to implement?

13:47:38,203 ERROR [HttpMethodDirector] Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePass
wordCredentials
        at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:331)
        at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:319)
        at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:490)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:390)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:149)
        at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:118)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
13:47:38,219 WARN  [XmlUtils] Failed to prettyPrint xml [
407 Proxy Authentication Required

Proxy Authentication Required



Unable to complete request:


Access denied due to authentication failure.

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    hmm.. soapUI uses NTCredentials for the proxy if the username contains a domain with a \ seperator.. ie "domain\username", alternatively "\username".. could you try this?

    regards!

    /ole
    eviware.com