Hi,
I try to proxy via payload but unfortunately, real web service can not be
reachable. When i telnet to real web service port, i get connection refused
exception that means it is not running at the specified port.
What might be the reason? I don't see any mistake here. By following the
below configuration, i can see the request but can't get the response?
<cxf:cxfEndpoint id="paymentProxyService"
address="<a
href="http://localhost:$">http://localhost:${proxy.port}/webservices/payment"
endpointName="s:PaymentEndpoint"
serviceName="s:PaymentEndpointService"
wsdlURL="etc/wsdl/payment.wsdl" xmlns:s="http://gadget.com"
/>
<cxf:cxfEndpoint id="paymentRealService"
address="<a
href="http://localhost:$">http://localhost:${real.port}/webservices/payment"
endpointName="s:PaymentEndpoint"
serviceName="s:PaymentEndpointService"
wsdlURL="etc/wsdl/payment.wsdl" xmlns:s="http://gadget.com"
/>
<route>
<from
uri="cxf:bean:paymentProxyService?dataFormat=PAYLOAD" />
<to uri="log:input" />
<to
uri="cxf:bean:paymentRealService?dataFormat=PAYLOAD" />
<to uri="log:output" />
</route>
Best regards.
Thanks.
Ercan
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-operation-failed-invoking-statusCode-500-tp5766085p5766377.html
Sent from the Camel - Users mailing list archive at Nabble.com.