-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
When the Class org.jboss.test.from.deployment.ThrottlingFeature is packaged in deployment, class not found exception is thrown for "org.apache.cxf.throttling.ThrottlingManager" class and "org.apache.cxf.impl" module dependency has to be added to user's deployment.
WebArchive archive = ShrinkWrap.create(WebArchive.class, "jaxws-cxf-throttling.war") .setManifest(new StringAsset("Manifest-Version: 1.0\n" + "Dependencies: org.apache.cxf.impl\n"))
<jaxws-config xmlns="urn:jboss:jbossws-jaxws-config:4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="urn:jboss:jbossws-jaxws-config:4.0 schema/jbossws-jaxws-config_4_0.xsd"> <endpoint-config> <config-name>org.jboss.test.ws.jaxws.cxf.throttling.HelloWorldImpl</config-name> <property> <property-name>cxf.features</property-name> <property-value>##throttlingFeature</property-value> </property> <property> <property-name>##throttlingFeature</property-name> <property-value>org.jboss.test.from.deployment.ThrottlingFeature</property-value> </property> </endpoint-config> </jaxws-config>
Look at how to improve this to enable MapToBeanConverter can load class from user's deployment and server integration modules.