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/02/25 19:02:51 UTC

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

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


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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle updated AXIS2-3546:
----------------------------------

    Fix Version/s: 1.4

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle updated AXIS2-3546:
----------------------------------

    Priority: Blocker  (was: Major)

This is needed for 1.4

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3546.
-----------------------------------

    Resolution: Fixed

Fixed in revision 633573

> 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