[ http://issues.apache.org/jira/browse/WSCOMMONS-106?page=comments#action_12440209 ] Ruchith Udayanga Fernando commented on WSCOMMONS-106: -----------------------------------------------------
The OM structure should simply serialize in the case of SOAP 12 and we don't have to override ElementImpl's internalSerialize() in org.apache.axiom.soap.impl.dom.SOAPFaultCodeImpl. Therefore I removed the internalSerialize() overriding form org.apache.axiom.soap.impl.dom.SOAPFaultCodeImpl in svn revision : 453309 Please verify with the latest SVN. Thanks, Ruchith > SOAP Subcode not serialized in AXIOM DOM implementation > ------------------------------------------------------- > > Key: WSCOMMONS-106 > URL: http://issues.apache.org/jira/browse/WSCOMMONS-106 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Environment: Windows XP, JRE 1.4.2, AXIOM 1.1.1 > Reporter: C Corvin > Priority: Minor > > For SOAP1.2 envelope serializations the subcode is not serialized. This > appears to be due to the code in > org.apache.axiom.soap.impl.dom.SOAPFaultCodeImpl - internalSerialize(). At > line 113, the code is as follows:- > OMSerializerUtil.serializeNormal(this, writer, cache); > This only appears to serialize one single child node and not any siblings. I > tried using:- > super.internalSerialize(writer, cache); > This calls the ElementImpl code, and serializes the node correctly. I also > notice a similar call is made when cache=false. As I'm not very familiar > with the serialization process, I'm not sure whether this patch I used is > correct. In any case, I appreciate the work being done on all of this. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
