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 2008/03/03 15:08:50 UTC

[jira] Work started: (AXIS2-3546) JAXB CustomBuilder support in JAXWS layer.

     [ https://issues.apache.org/jira/browse/AXIS2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-3546 started by Rich Scheuerle.

> 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
>
> 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