Hi
I am tring to invoke a webserive method from soapui
1) WSDL first approach , generated all the files using maven goal is
wsdl2java
2) In the route i have below code
ROUTER_ENDPOINT_URI = "cxf://" + ROUTER_ADDRESS + "?" + SERVICE_CLASS + "&"
+ WSDL_LOCATION + "&" + SERVICE_NAME + "&"
+ SOAP_OVER_HTTP_ROUTER + "&dataFormat=POJO";
SERVICE_ENDPOINT_URI = "cxf://" + SERVICE_ADDRESS + "?" + SERVICE_CLASS +
"&" + WSDL_LOCATION + "&" + SERVICE_NAME + "&" + SOAP_OVER_HTTP
+ "&dataFormat=POJO";
from(ROUTER_ENDPOINT_URI) // this is listening at 9004
.processRef("testProcessor")
.to(SERVICE_ENDPOINT_URI) // this one port is 9000
.stop()
.end();
once i run mvn camel:run -> 9004 port is listening, but 9000 port its not
listening
as a result i can see the wsdl xml in browser for 9004 but not for 9000.
When i sent a message through soapui to invoke a method, i am getting below
error.
<faultcode>soap:Server</faultcode>
<faultstring>Could not send Message.</faultstring>
In the logs i am getting the error, attached is log
http://camel.465427.n5.nabble.com/file/n4761986/file.txt file.txt
Please can anyone let me know i am i doing anything wrong.
Same one i am trying with cxf:bean:endpoint , i got the same error.
Thanks,
Santosh
I am using cxf:bean:[endpoint]
--
View this message in context:
http://camel.465427.n5.nabble.com/cxf-bean-producer-consumer-tp4761986p4761986.html
Sent from the Camel Development mailing list archive at Nabble.com.