ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AXIOM-320) Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP
Date Thu, 27 Oct 2011 21:44:32 GMT

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

Andreas Veithen resolved AXIOM-320.
-----------------------------------

    Resolution: Later
    
> Allow StAXSOAPModelBuilder to fallback to XML infoset if the document is not SOAP
> ---------------------------------------------------------------------------------
>
>                 Key: AXIOM-320
>                 URL: https://issues.apache.org/jira/browse/AXIOM-320
>             Project: Axiom
>          Issue Type: Improvement
>            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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message