Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4418

Allow MapToBeanConverter to load and create instance from deployment

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • jbossws-cxf-7.2.0.Final
    • 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. 

       

            rhn-engineering-ema Jim Ma
            rhn-engineering-ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: