Hi Chathura,

I think actual repo code in *synapse_sample_5.xml *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>

On Mon, Jan 26, 2015 at 12:46 PM, Chathura Priyankara <[email protected]>
wrote:

> Hi,
> When I'm running 5th sample of ESB getting the following error:
>
>  [java] org.apache.axis2.AxisFault: Error connecting to the back end
>      [java] at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>      [java] at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
>      [java] at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
>      [java] at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>      [java] at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>      [java] at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
>      [java] at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
>      [java] at samples.userguide.StockQuoteClient.executeClient(Unknown
> Source)
>      [java] at samples.userguide.StockQuoteClient.main(Unknown Source)
>
> What can be the issue for this ?
>
> Thanks!
> Regards,
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.blogspot.com
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

Reply via email to