title: Is It Possible to Have a Cognos Custom Authentication Provider Use JAXWS?
body: <p>I am working on creating a CAM (custom authentication module/provider) for Cognos 10.</p>
  
  <p>Various encrypted information is passed into the provider from the query string.  The Namespace's authentication process is then designed to talk to a web service in order to validate the encrypted information wasn't tampered with and to make sure the user's "session" in the authenticating application hasn't expired.</p>
  
  <p>The authenticating application uses .NET and has the web service exposed for use with SOAP requests (1.1 and 1.2, I believe).  I pointed wsimport at the wsdl and generated a set of classes that works when I build a standard Java console app and pass along debug values.</p>
  
  <p>When I add this code into my Namespace class and attempt the request to the web service I am getting this error from Cognos:</p>
  
  <blockquote>
    <p>com.sun.xml.internal.ws.spi.ProviderImpl (initialization failure)</p>
  </blockquote>
  
  <p>I thought Cognos 10 was using JDK 1.6.  I am developing my CAM code in 1.6 (64bit JDK).  I should have 64bit Cognos running but I do not know if it is using a 32bit JDK.  Could a possible disparity in 32bit vs. 64bit be causing the issue?</p>
  
  <p>Any clue as to why the generated classes from wsimport (JAXWS) won't work in Cognos?  Is there a way around this?  </p>