[
https://issues.apache.org/jira/browse/AXIS2-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian J. updated AXIS2-4458:
--------------------------------
Attachment: JaxbRIDatabindingTemplate.xsl
Patched template to create just one JAXBContext per MessageReceiverInOut and
more verbose exception handling.
> JABRI: Multiple JAXBContext creation
> ------------------------------------
>
> Key: AXIS2-4458
> URL: https://issues.apache.org/jira/browse/AXIS2-4458
> Project: Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: codegen
> Affects Versions: 1.5
> Reporter: Sebastian J.
> Priority: Blocker
> Attachments: JaxbRIDatabindingTemplate.xsl
>
>
> I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for
> class generation.
> The generated classes work, but each operation/class has it's own JAXBContext
> object.
> According to [1] this isn't nessassary anymore in JAXB2.0.
> A single JAXBContext per application is the prefered way.
> So I modified the XSLT template in jaxbri-1.5.jar (which als solves
> AXIS2-4042).
> This new template generates just one JAXBContext per MessageReceiverInOut
> class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.