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 2006/08/03 19:54:17 UTC

[jira] Commented: (AXIS2-971) SAAJConverterImpl.toSAAJ(OMElement, SOAPElement) requires the SOAPElement to be a SOAPEnvelope.

    [ http://issues.apache.org/jira/browse/AXIS2-971?page=comments#action_12425581 ] 
            
Rich Scheuerle commented on AXIS2-971:
--------------------------------------

Brian,

Did you try using the SAAJConverterImpl.toSAAJ(OMElement om, SOAPElement parent) method.  This will create a SOAPElement and add it to the parent SOAPElement.  The created SOAPElement will use prefixes defined in the in the parent and ancestors as necessary.

Currently the "parent" argument must have an ancestor that is a SOAPEnvelope.  This requirement is necessary because the algorithm needs to create Name objects (which are only accessible from the SOAPEnvelope).  

Please let me know if this solution is sufficient.  If you have an idea for a patch, please provide one.

Thanks,
scheu

> SAAJConverterImpl.toSAAJ(OMElement, SOAPElement) requires the SOAPElement to be a SOAPEnvelope.
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-971
>                 URL: http://issues.apache.org/jira/browse/AXIS2-971
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>
> I am attempting to convert EPRs from AXIOM to SAAJ. The current requirement to generate an entire SOAPEnvelope in order to do this is prohibitive. Can we have a new method along the lines of SAAJConverterImpl.toSAAJ(OMElement) instead?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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