Hi,
It seems that segment of code ( which is mentioned in WSO2 site relate to
that sample
<https://docs.wso2.com/display/ESB481/Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message>
)
is missing from the *synapse_sample_50xml *in the wso2esb-4.8.1
Actual repo code should be changed from
<sequence name="myFaultHandler">
<makefault>
<code value="tns:Receiver"/>
<reason expression="get-property('ERROR_MESSAGE')"/>
</makefault>
<send/>
</sequence>
to (bold text segment should be added)
<sequence name="myFaultHandler"> <makefault> <code
value="tns:Receiver"
*xmlns:tns="http://www.w3.org/2003/05/soap-envelope
<http://www.w3.org/2003/05/soap-envelope>"*/> <reason
expression="get-property('ERROR_MESSAGE')"/> </makefault> * <property
name="RESPONSE" value="true"/> <header name="To"
expression="get-property('ReplyTo')"/> <send/> *</sequence>
Regards
--
Thusitha Dayaratne
Software Engineer | WSO2 Inc
Mobile : +94712756809
Blog : alokayasoya.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev