synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <j...@apache.org>
Subject [jira] Closed: (SYNAPSE-251) Synapse fails to handle the fault process properly
Date Tue, 06 May 2008 08:26:01 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evanthika Amarasiri closed SYNAPSE-251.
---------------------------------------


When a SOAP message is sent and if it is being converted to a POX/REST message at Synapse
level and then if a SOAP fault occurs it is converted into a POX fault. Resolved in Version
1.2_QA_B1 . Therefore will be closing the issue

> Synapse fails to handle the fault process properly
> --------------------------------------------------
>
>                 Key: SYNAPSE-251
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-251
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: Ubuntu7.04, JDK1.5.0_14
>            Reporter: Evanthika Amarasiri
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> Following scenarios were tried out
> Scenario 1 - Sending a POX request to the server
> ==============================
> 1. Create a configuration as below
>    <sequence name="xslt_transfom_sequence" onError="fault">
>         <in>
>             <xslt key="xslt_for_request"/>
>             <send>
>                 <endpoint>
>                     <address uri="http://[host]:[port]/services/invalid_service" format="pox"/>
>                 </endpoint>
>             </send>
>         </in>
>         <out>
>             <send/>
>         </out>
>     </sequence>
> 2. Send a SOAP request  from the client and convert it into a POX message before sending
to the server.
> 3. Since the service URL does not exist it will return a SOAP fault but since a POX message
is sent to the server, the fault returned should also be POX. But actually it just sends back
an exception and not a POX fault.
> Scenario 2 - Sending a REST request to the server
> ==============================
> Similarly when a REST request is sent it just sends an error and not a REST fault
> Therefore seems that Synapse cannot process faults properly

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


Mime
View raw message