You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2006/10/18 19:36:35 UTC
[jira] Updated: (AXIS2-1433) Change JAX-WS Message sub-component to
use OMSourcedElementImpl
[ http://issues.apache.org/jira/browse/AXIS2-1433?page=all ]
Rich Scheuerle updated AXIS2-1433:
----------------------------------
Attachment: patch.txt
Once my final test completes, I will commit this patch.
The patch includes changes to the JAX-WS Message sub-system to allow Blocks to be OMDataSources.
When the Message is transformed into an OM tree, the Block/OMDataSource is used to source OMSourcedElementImpl objects. The result is that the Blocks are not expanded and their content is written directly to the XMLStreamWriter during the transport phase.
(If intervening code or handlers touch the OMSourcedElement contents, then expansion will take place. However in most cases the unexpanded blocks result in better performance.)
I updated some of the tests (MessageTests) to contain assertions to ensure that the blocks are not expanded.
I also did some related refactoring of the Axis2Controller.
Cheers,
scheu
> Change JAX-WS Message sub-component to use OMSourcedElementImpl
> ---------------------------------------------------------------
>
> Key: AXIS2-1433
> URL: http://issues.apache.org/jira/browse/AXIS2-1433
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: jaxws
> Reporter: Rich Scheuerle
> Assigned To: Rich Scheuerle
> Attachments: patch.txt
>
>
> I am making changes to the Message sub-component to use the OMSourcedElementImpl object of Axiom. This will allow the JAX-WS sub-system to add JAXB Blocks (as an OMDataSource) to the OM tree. The result is that the JAXB object serialization will be deferred (most of the time) to the transport layer. This will prevent unnecessary expansion of the OM tree and should increase performance
> I have the sandbox code working, but other JIRA issues must be resolved first.
> a) WSCOMMONS-71 contains several fixes that are needed.
> b) AXIS2-1408 (Faults) collides with many of these changes. I will integrated AXIS2-1408 and then refashion my changes.
> Thanks,
> scheu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org