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 "C Corvin (JIRA)" <ji...@apache.org> on 2006/10/05 18:02:19 UTC

[jira] Created: (WSCOMMONS-106) SOAP Subcode not serialized in AXIOM DOM implementation

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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-106) SOAP Subcode not serialized in AXIOM DOM implementation

Posted by "C Corvin (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/WSCOMMONS-106?page=comments#action_12440378 ] 
            
C Corvin commented on WSCOMMONS-106:
------------------------------------

Thanks - works fine with this change

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Resolved: (WSCOMMONS-106) SOAP Subcode not serialized in AXIOM DOM implementation

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/WSCOMMONS-106?page=all ]

Ruchith Udayanga Fernando resolved WSCOMMONS-106.
-------------------------------------------------

    Resolution: Fixed

Fixed - acocrding to the reporter

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org


[jira] Commented: (WSCOMMONS-106) SOAP Subcode not serialized in AXIOM DOM implementation

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org