You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2010/06/01 15:01:46 UTC

[jira] Commented: (SYNAPSE-656) Invalid Fault code value for a SOAP 1.2 fault in Synapse sample 5

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

Supun Kamburugamuva commented on SYNAPSE-656:
---------------------------------------------

Hi Kasun,

I can see there is a namespace change in the fault for the sample. Is it the correct behavior?

Thanks,
Supun..

> Invalid Fault code value for a SOAP 1.2 fault in Synapse sample 5
> -----------------------------------------------------------------
>
>                 Key: SYNAPSE-656
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-656
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Kasun Indrasiri
>            Priority: Minor
>         Attachments: SYNAPSE-656.patch
>
>
> When we start synapse with sample-5 configuration, it throws following synapse exception.
> 2010-05-31 14:21:09,962 [-] [main] ERROR SynapseConfigurationBuilder Could not initialize Synapse : Invalid Fault code value for a SOAP 1.2 fault : {http://schemas.xmlsoap.org/soap/envelope/}Server
> org.apache.synapse.SynapseException: Invalid Fault code value for a SOAP 1.2 fault : {http://schemas.xmlsoap.org/soap/envelope/}Server
> 	at org.apache.synapse.mediators.transform.FaultMediator.handleException(FaultMediator.java:519)
> 	at org.apache.synapse.mediators.transform.FaultMediator.setFaultCodeValue(FaultMediator.java:446)
> 	at org.apache.synapse.config.xml.FaultMediatorFactory.createMediator(FaultMediatorFactory.java:120)
> 	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:180)
> 	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:39)
> 	at org.apache.synapse.config.xml.SequenceMediatorFactory.createMediator(SequenceMediatorFactory.java:79)
> 	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:180)
> 	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.java:152)
> 	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:80)
> 	at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160)
> 	at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46)
> 	at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:87)
> 	at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:381)
> 	at org.apache.synapse.ServerManager.start(ServerManager.java:179)
> 	at org.apache.synapse.SynapseServer.main(SynapseServer.java:65)
> 2010-05-31 14:21:09,964 [-] [main] ERROR SynapseServer Error starting Apache Synapse, trying a clean shutdown...
> org.apache.synapse.SynapseException: Could not initialize Synapse : Invalid Fault code value for a SOAP 1.2 fault : {http://schemas.xmlsoap.org/soap/envelope/}Server
> 	at org.apache.synapse.config.SynapseConfigurationBuilder.handleException(SynapseConfigurationBuilder.java:151)
> 	at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:90)
> 	at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:381)
> 	at org.apache.synapse.ServerManager.start(ServerManager.java:179)
> 	at org.apache.synapse.SynapseServer.main(SynapseServer.java:65)
> Caused by: org.apache.synapse.SynapseException: Invalid Fault code value for a SOAP 1.2 fault : {http://schemas.xmlsoap.org/soap/envelope/}Server
> 	at org.apache.synapse.mediators.transform.FaultMediator.handleException(FaultMediator.java:519)
> 	at org.apache.synapse.mediators.transform.FaultMediator.setFaultCodeValue(FaultMediator.java:446)
> 	at org.apache.synapse.config.xml.FaultMediatorFactory.createMediator(FaultMediatorFactory.java:120)
> 	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:180)
> 	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:39)
> 	at org.apache.synapse.config.xml.SequenceMediatorFactory.createMediator(SequenceMediatorFactory.java:79)
> 	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:180)
> 	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineSequence(SynapseXMLConfigurationFactory.java:152)
> 	at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.getConfiguration(SynapseXMLConfigurationFactory.java:80)
> 	at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.getConfiguration(ConfigurationFactoryAndSerializerFinder.java:160)
> 	at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:46)
> 	at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:87)
> 	... 3 more
> 2010-05-31 14:21:09,966 [-] [main]  INFO JmxAdapter JMXConnectorServer stopping on service:jmx:rmi:///jndi/rmi://kasun-laptop:1099/synapse
> 2010-05-31 14:21:09,969 [-] [main]  INFO RMIRegistryController Removing the RMI registry bound to port : 1099

-- 
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