Hi, Regarding the documentation link [1] last two sections, it is mentioned that the below error message is returned to the original client.
<soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/>> <faultcode>soapenv:Client</faultcode> <faultstring>Connection refused or failed for : bogus:9000 </faultstring > <detail /> </soapenv:Fault> [1] - https://docs.wso2.com/display/ESB481/Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message But it is not there in XML configuration file or any client/server logs. Where we can set this in configuration? On Mon, Jan 26, 2015 at 2:15 PM, Suhan Dharmasuriya <[email protected]> wrote: > Adding documentation team regarding the mismatch. > > [1] https://docs.wso2.com/display/*ESB470* > /Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message > [2] https://docs.wso2.com/display/*ESB480* > /Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message > [3] https://docs.wso2.com/display/*ESB481* > /Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message > [4] https://docs.wso2.com/display/*ESB490* > /Sample+5%3A+Creating+SOAP+Fault+Messages+and+Changing+the+Direction+of+a+Message > > Thanks, > Suhan > > On Mon, Jan 26, 2015 at 1:53 PM, Chathura Priyankara <[email protected]> > wrote: > >> Hi, >> >> As Thusitha said I think there is a mismatch between actual >> synapse_sample_5.xml in the samples repository and what is mentioned in the >> documentation*. *The actual one is missing the property mediator as >> pointed out, even after adding that I'm getting the same issue that >> mentioned above mail. So what I'm doing wrong here ? >> >> Thanks! >> Regards, >> >> On Mon, Jan 26, 2015 at 1:35 PM, Thusitha Thilina Dayaratne < >> [email protected]> wrote: >> >>> 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 >>> >> >> >> >> -- >> 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 >> >> > > > -- > Suhan Dharmasuriya > Software Engineer - Test Automation > > *WSO2, Inc. * > > lean . enterprise . middleware > Tel: +94 112 145345 > Mob: +94 779 869138 > Blog: http://suhan-opensource.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "WSO2 Documentation" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/a/wso2.com/d/optout. > -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: [email protected] Mob : +94 77 386 7048
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
