Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-656

Invalid Fault code value for a SOAP 1.2 fault in Synapse sample 5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • Core
    • None

    Description

      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

      Attachments

        1. SYNAPSE-656.patch
          0.8 kB
          Kasun Indrasiri

        Activity

          People

            rajika Rajika Kumarasiri
            kasun.indrasiri Kasun Indrasiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: