You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2009/03/05 19:35:56 UTC

[jira] Commented: (SYNAPSE-500) Error in Serializing the fault mediator fault code with a QName having default prefix

    [ https://issues.apache.org/jira/browse/SYNAPSE-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679289#action_12679289 ] 

Ruwan Linton commented on SYNAPSE-500:
--------------------------------------

Applied the patch on the trunk, thanks Nandana for the contribution

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>         Attachments: SYNAPSE-500.patch
>
>
> 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