does attach WSDL support Microsoft NegoiateAuthentication


Attaching WSDL allows for user/pass for authentication with the provider of WSDL. I am getting 401 error (auth problem). Looking the WSDL it is equiped with MS NegoiateAuthencation (

does attach WSDL support Microsoft NegoiateAuthentication, what can I do to attach .NET WS WSDL with the NegoiateAuthentication.

NOTE: webMethods and SOAPUI can consume the WSDL without problem

I can get through the auth with Authenticator…

public static void withAuth(String[] args) throws Exception {
    Authenticator.setDefault(new MyAuthenticator());
    //URL url = new URL(args[0]);
    URL url = new URL("");
    InputStream ins = url.openConnection().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(ins));
    String str;
    while((str = reader.readLine()) != null)

Why CentraSite cannot get through even I provide user/password when attche WSDL.???
I also extend the JAAS config,…
{ required dubug=true;

Here is the error log.

WsdlImportFileTable: WsdlImportFileTable(0) mode = 0
ERROR: Throwable WSDLException: faultCode=OTHER_ERROR: Unable to locate document at ‘’. (Server returned HTTP response code: 401 for URL:
at com.centrasite.jaxr.webservice.WebServiceAnalyzer.getWSDLDefinition(
at com.centrasite.jaxr.webservice.WebServiceAnalyzer.(
at com.centrasite.jaxr.webservice.WebServiceAnalyzer.(
at com.centrasite.jaxr.webservice.WebServiceRegistrator.(
at com.centrasite.control.logged.action.LoggedExecutor.execute(
at com.centrasite.control.adapters.WebServiceImportAdapter$RegisterWebService.register(
at com.centrasite.control.adapters.AbstractFileImport.registerAttempt(
at com.centrasite.control.adapters.AbstractFileImport.doImport(
at com.softwareag.cis.plugin.adapter.util.CommonAdapter.executeNow(
at com.softwareag.cis.plugin.adapter.util.CommonAdapter.executeSessionRunnable(
at com.softwareag.cis.plugin.adapter.util.CommonAdapter.reactOnDataTransferEnd(
at com.centrasite.control.adapters.BaseAdapter.reactOnDataTransferEnd(
at com.softwareag.cis.server.InteractionModel.a(Unknown Source)
at com.softwareag.cis.server.InteractionModel.setDataAsXML(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXML(Unknown Source)
at com.softwareag.cis.server.XMLProcessor.processXMLAndSerialize(Unknown Source)
at com.softwareag.cis.server.Connector.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$

Here is my workaround!!

Import the wsdl in the CentraSite via File.
Step1. use microsoft disco to bring the WSDL and XSD locally
Step2. remove all reference to the host and replace with File URL (otherwise it will do the check to the host and will get stuck with Window Security NTLM or Krb )
Step3. move th modify files to the CentraSite’s host (host you install CentraSite) and attached the WSDL from there via FILE URL

Generally, this service cannot override outside window domain.
AND, CentraSite does have problem with Authentication extention, I can get through with pure java code… but not real sure where to or if CentraSite allows extra authentication to be hooked up…