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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to