You can try the servicemix saaj-impl bundle: http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.saaj- impl/1.3.18_1/
The latest version of that contains all the "com.sun.org.apache.xerces.internal" classes that the actual SAAJ impl needs. Dan On Monday, February 27, 2012 1:47:37 AM tapmik wrote: > Hello, > > I followed the guide > > http://cxf.apache.org/docs/application-server-specific-configuration-guide.h > tml#ApplicationServerSpecificConfigurationGuide-ForWebSphere6.1.0.29%2CV7and > V8 > > and the CXF2.5.2 is working in the simple cases, but when I use the JAX-WS > handlers I got the exception: > > java.lang.ClassNotFoundException: > com.sun.org.apache.xerces.internal.dom.DocumentImpl > > This is because the IBM Java implementation doesn't contain the class > com.sun.org.apache.xerces.internal.dom.DocumentImpl. The SAAJ jars > saaj-api-1.3.4.jar and saaj-impl-1.3.12.jar are fixed to use the class > com.sun.org.apache.xerces.internal.dom.DocumentImpl. > > I even tried to use the Websphere internal implementation of the SAAJ > > org.apache.cxf.binding.soap.messageFactoryClassName=com.sun.xml.internal.mes > saging.saaj.soap.MessageFactoryImpl > org.apache.cxf.binding.soap.soapFactoryClassName=com.sun.xml.internal.messa > ging.saaj.soap.ver1_2.SOAPFactory1_2Impl > > but I got > > java.lang.ClassCastException: Cannot cast class > com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl to class > javax.xml.soap.MessageFactory > > I think using of the internal classes is not good solution.. > > Do you know how to get the CXF working with the Websphere 7? I have read > this discussion forum and multiple web pages, but not found the solution. > > BR, > > Mika > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/CXF-Websphere-7-not-working-tp5518441p55184 > 41.html Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
