You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2016/09/23 06:33:20 UTC
[jira] [Commented] (TOMEE-1942) JAX-WS Web Service POJO Deployment
does not allow to set maxChildElements property
[ https://issues.apache.org/jira/browse/TOMEE-1942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515573#comment-15515573 ]
Romain Manni-Bucau commented on TOMEE-1942:
-------------------------------------------
Hi Venkat,
https://git-wip-us.apache.org/repos/asf?p=tomee.git;a=blob;f=server/openejb-cxf/src/test/java/org/apache/openejb/server/cxf/MaxChildTest.java;h=d727cf381d94d8cdb86ecd30cc527728b089ec26;hb=31a3089944cccf961c666215958352049c009ff4 reproduces your config and works
any other config you could have missed or custom lib breaking default cxf xml parsing?
> 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)