synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <>
Subject [jira] Created: (SYNAPSE-250) Makefault mediator does not handle POX or REST properly
Date Tue, 11 Mar 2008 06:34:46 GMT
Makefault mediator does not handle POX or REST properly

                 Key: SYNAPSE-250
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 1.1.1
         Environment: Ubuntu7.04, JDK1.5.0_14
            Reporter: Evanthika Amarasiri

Below are the scenarios which were tried out

Scenario 1 - Sending a POX request
1. Created a configuration as follows
   <sequence name="xslt_transfom_sequence" onError="fault">
            <xslt key="xslt_for_request"/>
                    <address uri="http://[host]:[port]/services/[service_name]"/>

    <sequence name="fault">
        <makefault version="soap12">
            <code xmlns:sf12="" value="sf12:Receiver"/>
            <reason value="Exception occurred when transforming the request/response"/>
        <header name="To" action="remove"/>
        <property name="RESPONSE" value="true"/>

2. The XSLT file that this configuration is accessing is an invalid XSLT.
3. Send a POX request through the client and expect a POX fault but actually it sends a SOAP

Scenario 2 - Sending a REST request
Using the same configuration given above, send a REST request. It sends a SOAP fault and not
a fault in REST

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:
For additional commands, e-mail:

View raw message