So apparently this is the code that works.
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setServiceClass(SapSalesOrderSoap.class);
factory.setDataBinding(new XmlBeansDataBinding());
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.setAddress(sWebserviceUrl);
SapSalesOrderSoap stub = (SapSalesOrderSoap) factory.create();
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-XMLBean-Throwing-Exception-on-Glassfish-2-1-1-PrivilegedActionException-JAXB-can-t-handle-interf-tp4488727p4492547.html
Sent from the cxf-user mailing list archive at Nabble.com.