Dear All,
I tried to invoke service through the ESB using the proxy service.
BPEL -> WSO2 ESB -> Endpoint service
But ODE BPEL failed to invoke the proxy service.
Proxy service can be accessed using soapUI.
The rrrors in the logs is as follows.
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "POST /services/sayHelloProxy.sayHelloProxyHttpSoap11Endpoint HTTP/1.1[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "SOAPAction: ""[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "User-Agent: Axis2[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "Transfer-Encoding: chunked[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "Host: localhost:8280[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.header] (ODEServer-11:) >> "[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "31b[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "<?xml version='1.0' encoding='UTF-8'?>http://localhost:8280/services/sayHelloProxy.sayHelloProxyHttpSoap11Endpointhttp://www.w3.org/2005/08/addressing/anonymousuuid:9f617ac1-c115-4c9b-a49c-e9da5087b448-3[\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> " Heloo world[\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> ""
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "0"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "[\r][\n]"
13:02:13,984 1646000 DEBUG [httpclient.wire.content] (ODEServer-11:) >> "[\r][\n]"
13:02:14,031 1646047 ERROR [org.apache.ode.axis2.ExternalService] (ODEServer-11:) Error sending message (mex={PartnerRoleMex#122 [PID {http://example.com/proxy/proses}proses-30] calling org.apache.ode.bpel.epr.WSAEndpoint@14c93d.sayHello(...)}): The server localhost failed to respond
org.apache.axis2.AxisFault: The server localhost failed to respond
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:389)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:222)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:199)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.commons.httpclient.NoHttpResponseException: The server localhost failed to respond
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:550)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
... 13 more
13:02:14,062 1646078 ERROR [org.apache.ode.bpel.runtime.INVOKE] (ODEServer-13:) Failure during invoke: Error sending message (mex={PartnerRoleMex#122 [PID {http://example.com/proxy/proses}proses-30] calling org.apache.ode.bpel.epr.WSAEndpoint@14c93d.sayHello(...)}): The server localhost failed to respond
I hope someone can solve this problem.
Thanks
It seems that the ESB has
It seems that the ESB has failed to respond. Can you check if the ESB is getting the request and forwarding back the response? Just enable debug log level and check.
Rajika
Dear Rajika, Thank you for