[switchyard-issues] [JBoss JIRA] (SWITCHYARD-840) Faults not getting propagated through SOAP gateway

Keith Babo (JIRA) jira-events at lists.jboss.org
Tue Jun 5 20:28:17 EDT 2012


Keith Babo created SWITCHYARD-840:
-------------------------------------

             Summary: Faults not getting propagated through SOAP gateway
                 Key: SWITCHYARD-840
                 URL: https://issues.jboss.org/browse/SWITCHYARD-840
             Project: SwitchYard
          Issue Type: Bug
          Components: component-soap
    Affects Versions: 0.5
            Reporter: Keith Babo
             Fix For: 0.5


Send a SOAP message to a service that's missing a transformer and you'll see this in the log:

{code}
20:24:03,168 ERROR [org.switchyard.internal.DefaultHandlerChain] (http-localhost-127.0.0.1-8080-1) org.switchyard.HandlerException was thrown by handler(transformation): Transformations not applied.  Required payload type of 'java:com.example.switchyard.demo1.Invoice'.  Actual payload type is '{urn:com.example.switchyard:demo1:0.0.1-SNAPSHOT}submit'.  You must define and register a Transformer to transform between these types.
{code}

But this is the SOAP response:

{code}
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Server</faultcode>
         <faultstring>org.switchyard.exception.SwitchYardException: Cannot convert from 'org.switchyard.HandlerException' to 'org.w3c.dom.Node'.  No registered Transformer available for transforming from 'java:org.switchyard.HandlerException' to 'java:org.w3c.dom.Node'.  A Transformer must be registered.</faultstring>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
{code}

There's an issue with fault processing in the SOAP gateway and maybe something more general in the fault handling logic in core as well.  Investigate and fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the switchyard-issues mailing list