Hi I am creating appian smart service for consuming a HTTPS web servi

Hi

I am creating appian smart service for consuming a HTTPS web service that has two way SSL (client & server certificate) authentication.
I am using apache cxf v 2.7.1 for the web service client and the code works in standalone mode in java project.

I created appian plugin project and created a smart service plugin jar file with the necessary apache cxf jar files bundled under META-INF/lib folder and deployed the plugin into appian.
When i test this smart service, I am getting the below error:
org.apache.cxf.bus.extension.ExtensionException: Could not create object of extension class org.apache.cxf.wsdl11.WSDLManagerImpl.
          at org.apache.cxf.bus.extension.Extension.load(Extension.java:222)
          at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:199)
          at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:305)
          at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:9...

OriginalPostID-112122

OriginalPostID-112122

  Discussion posts and replies are publicly visible

Parents
  • ...9)
              at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92)
              at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:199)
              at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147)
              at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:98)
              at javax.xml.ws.Service.<init>(Service.java:35)
    .......
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassCastException: com.ibm.wsdl.factory.WSDLFactoryImpl cannot be cast to javax.wsdl.factory.WSDLFactory
              at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
              at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
              at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:96)
              ... 81 more
    Appreciate your help in resolving this issue.

    Thanks
    Jhothi
Reply
  • ...9)
              at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92)
              at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:199)
              at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:147)
              at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:98)
              at javax.xml.ws.Service.<init>(Service.java:35)
    .......
    Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: java.lang.ClassCastException: com.ibm.wsdl.factory.WSDLFactoryImpl cannot be cast to javax.wsdl.factory.WSDLFactory
              at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
              at javax.wsdl.factory.WSDLFactory.newInstance(Unknown Source)
              at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:96)
              ... 81 more
    Appreciate your help in resolving this issue.

    Thanks
    Jhothi
Children
No Data