NTLM authentication using CXF wsdl2java stubs

I have a webservice secured HTTPS with NTLM authentication and I generated a set of java stubs using the CXF tool wsdl2java, temporarily disabling authentication. I am now trying to use Java stubs in an applet that connects to a re-authenticated web service. My intention was to edit the Java stubs to include the authentication cookies from the browser session in the CXF client connection to the web service. The only problem is that the stub simply calls super () on the Service class and handles the entire connection itself. Does anyone know how to use Java CXF stubs generated from wsdl2java to connect to a web service protected by HTTPS and NTLM authentication?

here is the constructor stub:

public Visual_Service(URL wsdlLocation) {
    super(wsdlLocation, SERVICE);
}

      

+2


source to share


1 answer


not what i tried but this description is at the bottom of this cwiki page



+5


source







All Articles