camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas74 <nmugn...@gnubila.fr>
Subject camel cxf (wsdl first) pojo: Can't find the BindingOperationInfo
Date Fri, 04 Apr 2014 18:45:27 GMT
Hello camel guys :-)

I'm trying to invoke my CXF Web Service (contract first) from a camel route.
I would like to invoke the method "updateJobsStatus(String)"
However I get an IllegalArgumentException:

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
java.lang.IllegalArgumentException: Can't find the BindingOperationInfo with
operation name {http://XXX}updateJobsStatus. Please check the message
headers of operationName and operationNamespace.
	at
org.apache.camel.component.cxf.CxfProducer.getBindingOperationInfo(CxfProducer.java:365)[149:org.apache.camel.camel-cxf:2.12.0.redhat-610366]
	at
org.apache.camel.component.cxf.CxfProducer.prepareBindingOperation(CxfProducer.java:205)[149:org.apache.camel.camel-cxf:2.12.0.redhat-610366]
	at
org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:102)[149:org.apache.camel.camel-cxf:2.12.0.redhat-610366]
	at
org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:139)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at
org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:64)[147:org.apache.camel.camel-core:2.12.0.redhat-610366]
	at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_51]
	at java.util.TimerThread.run(Timer.java:505)[:1.7.0_51] blueprint.xml
<http://camel.465427.n5.nabble.com/file/n5749822/blueprint.xml>  
JobUpdaterPortType.JobUpdaterPortType
<http://camel.465427.n5.nabble.com/file/n5749822/JobUpdaterPortType.JobUpdaterPortType>
 
route.java <http://camel.465427.n5.nabble.com/file/n5749822/route.java>  
wsdl.wsdl <http://camel.465427.n5.nabble.com/file/n5749822/wsdl.wsdl>  

I don't know if I'm doing something wrong in my WSDL, in my blueprint.xml or
in my route...

You will find below my code:
WSDL: attached to this post
Blueprint: attached to this post
Route: attached to this post
PortType: attached to this post

I hope you can help me. This error makes me crazy !

Best,
Nicolas.




--
View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-wsdl-first-pojo-Can-t-find-the-BindingOperationInfo-tp5749822.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message