Hi I have created a web service client using apache CXF 2.4.6 and dep

Hi

I have created a web service client using apache CXF 2.4.6 and deployed it as EAR in the Jboss EAP server ( 6.0) hosting appian product. The ear worked fine. Then I converted the same code to appian smart Service ( class extending AppianSmartService) and when I test this smart service, I am getting an exception:

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


I compared the version of wsdl4j bundled in apache cxf2.4.6 and the one in appian Jboss server, both are same (wsdl4j-1.6.2.jar), and not sure why a ClassCastException is raised since com.ibm.wsdl.factory.WSDLFactoryImpl is subclass of javax.wsdl.factory.WSDLFactory.

So my doubt is since the classes are instantiated through reflection, may be appian is expecting a different implementation of java...

OriginalPostID-115083

OriginalPostID-115083

  Discussion posts and replies are publicly visible