You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by "Godbey, David J. (HQ-LM020)[INDYNE INC]" <da...@nasa.gov> on 2012/08/28 21:10:04 UTC

Couple http client 4 with jaxws

Does anyone see a way to couple http client 4 with jaxws? Check jaxws doc here: http://metro.java.net/guide/ch05.html

In a nutshell, the doc shows that the jaxws seems to allow a simple way to:

1. Manipulate http request headers
2. Manipulate http response headers
3. Set an SSLSocketFactory

Anything we can do with http client/core that allows the authentication when jaxws sends it's package?


I am using a java.net.Authenticator currently, but it doesn't work, even though I have read Authenticator implements NTLMv2. I think the reason is the Authenticator is trying NTLM authentication, because that is what the server SAYS it supports, but in fact, I don't think the server does support NTLM anymore. It is looking for NTLMv2, that I think requires a scheme of spnego or negotiate.

Damn Authenticator is an abstract class that does not implement an interface, and the getRequestScheme is a FINAL method. 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org