axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3546) JAXB CustomBuilder support in JAXWS layer.
Date Tue, 04 Mar 2008 16:03:41 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575034#action_12575034
] 

Rich Scheuerle commented on AXIS2-3546:
---------------------------------------

Dims,

Yes, these two issues are related.  I will commit the fixes today.

Thanks,
Rich

> JAXB CustomBuilder support in JAXWS layer.
> ------------------------------------------
>
>                 Key: AXIS2-3546
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3546
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>            Priority: Blocker
>             Fix For: 1.4
>
>
> Problem: 
> We want to unmarshall the soap body payload as an OMSourcedElement backed by a JAXB object.
> Solution:
> The proposed solution is to create a new class, JAXBCustomBuilder.
> The JAXBCustomBuilder is registered on the StAXOMBuilder, and it will automatically demarshall
the payload into an OMSourcedElement backed by a JAXB object.
> Here is a quick summary
> 1) Receive first message.
> 2) The JAXWS unmarshalling code builds a JAXBContext and unmarshalls the payload.
> 3) The JAXWS unmarshalling code builds a JAXBCustomBuilder with the same JAXBContext.
> 4) The JAXBCustomBuilder is placed on the ServiceContext.
> 5) Receive second message
> 6) The Dispatch code associates the ServiceContext with a MessageContext.
> 6a) This event is intercepted and triggers the JAXBCustomBuilder to be registered on
the StAXOMBuilder.
> 7) When the StAX events of the payload are pulled, the JAXB object is automatically unmarshalled.
> Note that this defect requires changes that are being made as part of WSCOMMONS-303.
> Thanks,
> Rich

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message