Hi,

As per the documentation if  FORCE_ERROR_ON_SOAP_FAULT property is set to
true inside the inSequence , once a SOAP Fault response received  it should
redirect to a fault sequence. To test this scenario , I have created two
proxy services where one proxy receives the request and the other proxy
returns a Soap Fault to the first proxy service . It works as expected if
we define an in-line fault sequence inside the first proxy service. However
if we do not define any in-line fault sequence with the mentioned proxy
service, the SOAP Fault is NOT redirected to the (default) fault sequence.
However if we add onError=fault  to the inSequence as mentioned in [2] it
redirects the SOAP Fault to the (default) fault sequence.  I have created a
JIRA [1] for this and the tested configuration is also mentioned in the
same ticket.

[1] https://wso2.org/jira/browse/ESBJAVA-3386


[2] <inSequence onError="fault">
            <property name="FORCE_ERROR_ON_SOAP_FAULT"
                      value="true"
                      scope="default"
                      type="STRING"/>
            <send>
               <endpoint key="Axis2EP"/>
            </send>
     </inSequence>

Regards
-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to