當我發送到Axis2的客戶端,我得到一個錯誤
I/O異常而在WSO2發送請求到Axis2的服務器ESB
代理的請求:
<proxy name="SOAP_Body" startOnLoad="true">
<target>
<inSequence>
<switch xmlns:m0="http://services.samples"
source="//m0:getQuote/m0:request/m0:symbol">
<case regex="foo">
<log level="custom">
<property name="a" value="s"/>
</log>
<send>
<endpoint>
<address uri="http://localhost:9001/services/SimpleStockQuoteService?wsdl"/>
</endpoint>
</send>
</case>
<case regex="bar">
<log level="custom">
<property name="b" value="a"/>
</log>
<send>
<endpoint>
<address uri="http://localhost:9002/services/SimpleStockQuoteService?wsdl"/>
</endpoint>
</send>
</case>
<default>
<property name="symbol"
expression="fn:concat('Normal Stock - ', //m0:getQuote/m0:request/m0:symbol)"/>
</default>
</switch>
</inSequence>
<outSequence>
<send/>
</outSequence>
</target>
ELB在9443偏移量爲0,ESB在9444偏移1
所以我已經發出了請求,ELB 的http://localhost:8280/services/SOAP_Body,我是說我在ESB已經發送的請求直通axis2client以下錯誤
[java] 15/06/30 15:40:43 INFO httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect
當我通過SOAP UI發送針對上述終點,我得到
Wed Jul 01 10:48:06 IST 2015:ERROR:Exception in request: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8280 refused
Wed Jul 01 10:48:06 IST 2015:ERROR:An error occured [Connection to http://localhost:8280 refused], see error log for details
Wed Jul 01 10:48:06 IST 2015:INFO:Error getting response for [SimpleStockQuoteServiceSoap11Binding.getQuote:Request 1]; org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8280 refused
I have enabled clustering and other configuration as in 1
But when I send request to ESB alone without getting through ELB I get the desired output.
當我在ELB給AllowAll在axis2.xml我得到ELB服務器新的錯誤
Error - DynamicLoadbalanceEndpoint application member not available
會有什麼問題?請幫助我。
您有沒有在wso2 esb中獲得樣本57的動態端點工作?如果是,請幫助我進行配置。我已經配置文件,但我不能讓它工作。
謝謝。
添加了您詢問的所有信息,請幫我解決 –