You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/12/20 22:21:44 UTC

[jira] Created: (WSCOMMONS-421) Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP

Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP
---------------------------------------------------------------------------------

                 Key: WSCOMMONS-421
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-421
             Project: WS-Commons
          Issue Type: Improvement
          Components: AXIOM
    Affects Versions: Axiom 1.2.9
            Reporter: Andreas Veithen
            Priority: Minor


Currently, StAXOMBuilder can only be used to build an XML infoset, while StAXSOAPModelBuilder can only be used to build a SOAP infoset model. However in some cases it is impossible to determine beforehand whether a document or message is SOAP or plain XML. To handle this case with the current version of Axiom, the only available strategy is to start processing the document with one of the two builders and restart the processing with the other if the document doesn't match the type of builder. The proposal is to modify StAXSOAPModelBuilder so that it (optionally) falls back to plain XML if it detects that the document element is not a SOAP envelope. This should be feasible since StAXSOAPModelBuilder extends StAXOMBuilder.

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


[jira] Updated: (WSCOMMONS-421) Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP

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

Andreas Veithen updated WSCOMMONS-421:
--------------------------------------

        Fix Version/s: Axiom 1.2.9
    Affects Version/s:     (was: Axiom 1.2.9)

> Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP
> ---------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-421
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-421
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: AXIOM
>            Reporter: Andreas Veithen
>            Priority: Minor
>             Fix For: Axiom 1.2.9
>
>
> Currently, StAXOMBuilder can only be used to build an XML infoset, while StAXSOAPModelBuilder can only be used to build a SOAP infoset model. However in some cases it is impossible to determine beforehand whether a document or message is SOAP or plain XML. To handle this case with the current version of Axiom, the only available strategy is to start processing the document with one of the two builders and restart the processing with the other if the document doesn't match the type of builder. The proposal is to modify StAXSOAPModelBuilder so that it (optionally) falls back to plain XML if it detects that the document element is not a SOAP envelope. This should be feasible since StAXSOAPModelBuilder extends StAXOMBuilder.

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


[jira] Updated: (WSCOMMONS-421) Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP

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

Andreas Veithen updated WSCOMMONS-421:
--------------------------------------

    Fix Version/s: Axiom 1.2.10
                       (was: Axiom 1.2.9)

> Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP
> ---------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-421
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-421
>             Project: WS-Commons
>          Issue Type: Improvement
>          Components: AXIOM
>            Reporter: Andreas Veithen
>            Priority: Minor
>             Fix For: Axiom 1.2.10
>
>
> Currently, StAXOMBuilder can only be used to build an XML infoset, while StAXSOAPModelBuilder can only be used to build a SOAP infoset model. However in some cases it is impossible to determine beforehand whether a document or message is SOAP or plain XML. To handle this case with the current version of Axiom, the only available strategy is to start processing the document with one of the two builders and restart the processing with the other if the document doesn't match the type of builder. The proposal is to modify StAXSOAPModelBuilder so that it (optionally) falls back to plain XML if it detects that the document element is not a SOAP envelope. This should be feasible since StAXSOAPModelBuilder extends StAXOMBuilder.

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