Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1942

JAX-WS Web Service POJO Deployment does not allow to set maxChildElements property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 7.0.1
    • None
    • TomEE Core Server
    • None
    • Windows 7

    Description

      JAX-WS Web Service deployed as pojo does not set the org.apache.cxf.stax.maxChildElements value. It takes only 50000 default value of CXF. Where as ejb-deployment works fine.

      resources.xml file:

      <resources>
      <Service id="cxfLargeMsgSize" class-name="java.util.Properties">
      org.apache.cxf.stax.maxChildElements=5000000
      </Service>
      </resources>

      openejb-jar: This works
      <ejb-deployment ejb-name="RPCPerfService">
      <properties>
      cxf.jaxws.properties = cxfLargeMsgSize

      </properties>
      </ejb-deployment>

      the following does not work:

      <pojo-deployment class-name="com.mycompany.test.server.RPCPerfService">
      <properties>
      cxf.jaxws.properties = cxfLargeMsgSize
      </properties>
      </pojo-deployment>

      Attachments

        Activity

          People

            Unassigned Unassigned
            v_nalla Venkat Nalla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: