Venkat Nalla created TOMEE-1942:
-----------------------------------

             Summary: JAX-WS Web Service POJO Deployment does not allow to set 
maxChildElements property
                 Key: TOMEE-1942
                 URL: https://issues.apache.org/jira/browse/TOMEE-1942
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.1
         Environment: Windows 7
            Reporter: Venkat Nalla


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>





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to