DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#DevOps
#Businessautomation
#DevOpsAutomation
 View Only
  • 1.  Maximo / Websphere - Authenticating CFX Web Services

    Posted 01/06/16 06:05 AM

    Hello,

    I am trying to send information from Maximo to Primavera. The primavera Environment has its Web Services set up and I have been given the Java API's in order to consume these Web Services.

    I have written a Test Application in Java and it can connect to the web services and send and pull data to and from them.

    I try and do the same thing in Maximo and I get class cast exceptions. In order to use the primavera Web Services additional libraries need to be included in the Maximo Class Path and I think this is what is causing the problem as Websphere has conflicting libraries for its Web Services (albeit a different version).

    The Error I am receiving is

    Java.lang.classCastException org.apache.xalan.processor.TransformerFactoryImpl incompatible with javax.xml.transformer.Factory

    As potential fixes I have set the class loader to load the parent classes last – hoping that this would load my Transformer Engine Class first and I have disabled the IBM JAX-WS implementation but it made no difference.

    Any help would be greatly appreciated.

    Kind Regards,

    Chris



  • 2.  RE: Maximo / Websphere - Authenticating CFX Web Services

    Posted 01/19/16 10:30 AM

    Hello Chris,

      I'm dont know Maximo but yes WebSphere.

      You say that you have added some libraries in the Maximo Classpath. In that situations I usually put requiered libraries in a shared Library (it defines in WebSphere) and the I attach this shared library to the application, node, server as I need.

     Do you know your websphere version?

    Regards