Ruwan,

 

Thanks for your prompt reply.

 

We have tried the option mentioned in the below URL, but not working.

 

http://mail-archives.apache.org/mod_mbox/synapse-commits/200804.mbox/%3C
[EMAIL PROTECTED]

 

We are using SimpleHttpserver as receiver instead of HTTPCORENIO based.
We have changed to SimpleHttpserver based, because the

requirement is to deploy on webcontainer and to avoid http response code
202. 

 

The below is the config in axis2.xml.

 

<transportReceiver name="http"
class="org.apache.axis2.transport.http.SimpleHTTPServer">

<parameter name="port">8080</parameter>

</transportReceiver>

 

I think, the above fix will work only for NIO based request.

 

________________________________

From: Ruwan Linton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 21, 2008 8:36 PM
To: Venkatesan, Kumaran
Cc: [email protected]
Subject: Re: Synpase not sending 500 error code

 

Hi Venkatesan,

You could get the latest synapse QA build from [1].

I did this fix while fixing the makefault mediator issue.

Thanks,
Ruwan

[1] -
http://people.apache.org/~asankha/builds/synapse/1.2-QA-Build2/synapse-1
.2-SNAPSHOT-bin.zip

On Wed, May 21, 2008 at 5:42 PM, Venkatesan, Kumaran
<[EMAIL PROTECTED]> wrote:

Can you help me, how to download and build.

 

Could you remember, what fix you did for the below.

 

Thanks.

 

________________________________

From: Ruwan Linton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 21, 2008 7:49 PM
To: Venkatesan, Kumaran
Subject: Re: Synpase not sending 500 error code

 

Hi Venkatesan,

What is the version of Synapse that you are using? I have fixed this
issue some time back and should be available with the 1.2 QA builds. 

Could you please try one of those if you are not trying those builds, or
if you tried this on the QA builds and problem exists you can go ahead
and file a JIRA for this. I would be happy to fix it :-)

Thanks,
Ruwan

On Wed, May 21, 2008 at 5:02 PM, Venkatesan, Kumaran
<[EMAIL PROTECTED]> wrote:

Synapse not sending the http status code as 500 for the soap fault
message received from the back end service as below. 

2008-05-21 18:00:56,237 [-] [WebContainer : 0] DEBUG content >>
"</SOAP-ENV:Envelope>"

2008-05-21 18:00:56,237 [-] [WebContainer : 0] DEBUG
EntityEnclosingMethod Request body sent

2008-05-21 18:00:57,010 [-] [WebContainer : 0] DEBUG header << "HTTP/1.1
500 Internal Server Error[\r][\n]"

 

By default synapse sends http response code 200 for all requests even
for fault messages.

Synapse.xml

<definitions xmlns="http://ws.apache.org/ns/synapse";>

<sequence name="errorHandler">

<class name="com.scb.common.mediators.ProxyFaultMediator"/> 

 <property name="RESPONSE" value="true" /> -->

 <send/>

</sequence>   

<sequence name="main" onError="errorHandler">

<in>

 <class name="com.scb.common.mediators.UserValidationMediator"/>

 <class name="com.scb.common.mediators.ServiceProxyMediator"/>

 <drop/>

</in>

<out>

 <send/>

</out>

</sequence>

</definitions>

Pls any solution for this issue.

This email and any attachments are confidential and may also be
privileged. If you are not the addressee, do not disclose, copy,
circulate or in any other way use or rely on the information contained
in this email or any attachments. If received in error, notify the
sender immediately and delete this email and any attachments from your
system. Emails cannot be guaranteed to be secure or error free as the
message and any attachments could be intercepted, corrupted, lost,
delayed, incomplete or amended. Standard Chartered PLC and its
subsidiaries do not accept liability for damage caused by this email or
any attachments and may monitor email traffic.



Standard Chartered PLC is incorporated in England with limited liability
under company number 966425 and has its registered office at 1
Aldermanbury Square, London, EC2V 7SB.



Standard Chartered Bank ("SCB") is incorporated in England with limited
liability by Royal Charter 1853, under reference ZC18. The Principal
Office of SCB is situated in England at 1 Aldermanbury Square, London
EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the
Financial Services Authority under FSA register number 114276.



If you are receiving this email from SCB outside the UK, please click
http://www.standardchartered.com/global/email_disclaimer.html to refer
to the information on other jurisdictions.




-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform" 

This email and any attachments are confidential and may also be
privileged. If you are not the addressee, do not disclose, copy,
circulate or in any other way use or rely on the information contained
in this email or any attachments. If received in error, notify the
sender immediately and delete this email and any attachments from your
system. Emails cannot be guaranteed to be secure or error free as the
message and any attachments could be intercepted, corrupted, lost,
delayed, incomplete or amended. Standard Chartered PLC and its
subsidiaries do not accept liability for damage caused by this email or
any attachments and may monitor email traffic.



Standard Chartered PLC is incorporated in England with limited liability
under company number 966425 and has its registered office at 1
Aldermanbury Square, London, EC2V 7SB.



Standard Chartered Bank ("SCB") is incorporated in England with limited
liability by Royal Charter 1853, under reference ZC18. The Principal
Office of SCB is situated in England at 1 Aldermanbury Square, London
EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the
Financial Services Authority under FSA register number 114276.



If you are receiving this email from SCB outside the UK, please click
http://www.standardchartered.com/global/email_disclaimer.html to refer
to the information on other jurisdictions.




-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform" 



This email and any attachments are confidential and may also be privileged.  If 
you are not the addressee, do not disclose, copy, circulate or in any other way 
use or rely on the information contained in this email or any attachments.  If 
received in error, notify the sender immediately and delete this email and any 
attachments from your system.  Emails cannot be guaranteed to be secure or 
error free as the message and any attachments could be intercepted, corrupted, 
lost, delayed, incomplete or amended.  Standard Chartered PLC and its 
subsidiaries do not accept liability for damage caused by this email or any 
attachments and may monitor email traffic.

 

Standard Chartered PLC is incorporated in England with limited liability under 
company number 966425 and has its registered office at 1 Aldermanbury Square, 
London, EC2V 7SB.

 

Standard Chartered Bank ("SCB") is incorporated in England with limited 
liability by Royal Charter 1853, under reference ZC18.  The Principal Office of 
SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the 
United Kingdom, SCB is authorised and regulated by the Financial Services 
Authority under FSA register number 114276.

 

If you are receiving this email from SCB outside the UK, please click 
http://www.standardchartered.com/global/email_disclaimer.html to refer to the 
information on other jurisdictions.

Reply via email to