synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-500) Error in Serializing the fault mediator fault code with a QName having default prefix
Date Sat, 10 Jan 2009 17:17:59 GMT
Error in Serializing the fault mediator fault code with a QName having default prefix 
--------------------------------------------------------------------------------------

                 Key: SYNAPSE-500
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-500
             Project: Synapse
          Issue Type: Bug
          Components: Core
            Reporter: Nandana Mihindukulasooriya


When I set the FaultCode vaule as given below,

faultMediator.setFaultCodeValue(new QName("http://www.w3.org/2003/05/soap-envelope","Reciver"));

it is serialized as  

<syn:makefault>
<syn:code xmlns:axis2ns2="http://www.w3.org/2003/05/soap-envelope" value=":Receiver" />

</syn:makefault>

The problem is when the QName is having the default prefix which is "". When I set the fault
code with a QName with some other prefix 

faultMediator.setFaultCodeValue(new QName("http://www.w3.org/2003/05/soap-envelope","Reciver","myPrefix"));

it is serialized correctly. 

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


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


Mime
View raw message