Hi,

This error generally indicates that your message payload doesn't match the 
service model described in the wsdl.
You need ensure your soap message is correct per the wsdl.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-1-1, at 上午3:51, Ravi wrote:

> Hello,
> 
> I am trying to invoke an external webservice using service mix (Camel-cxf).
> As JBI is being removed, I wanted to develop as a blueprint. I have created
> the stubs from the given WSDL file and deployed as a wrap (using osgi wrap)
> and deployed the blueprint xml. However, I consistently get the following
> error message:
> 
> 4:48:20,284 | ERROR | basexml\tmp\soap | DefaultErrorHandler              |
> 92 - org.apache.camel.camel-core - 2.8.5 | Failed delivery for exchangeId:
> ID-E6400-3191-56720-1356982323304-0-3385. Exhausted after delivery attempt:
> 1 caught: java.lang.IllegalArgumentException: The PayLoad elements cannot
> fit with the message parts of the BindingOperation. Please check the
> BindingOperation and PayLoadMessage.
> java.lang.IllegalArgumentException: The PayLoad elements cannot fit with the
> message parts of the BindingOperation. Please check the BindingOperation and
> PayLoadMessage.
>       at
> org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:814)[150:org.apache.camel.camel-cxf:2.8.5]
>       at
> org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:511)[141:org.apache.cxf.bundle:2.4.6]
>       at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:454)[141:org.apache.cxf.bundle:2.4.6]
>       at
> org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:113)[150:org.apache.camel.camel-cxf:2.8.5]
>       at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:114)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:284)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:109)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:69)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:162)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:318)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:306)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:78)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.Pipeline.process(Pipeline.java:116)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.Pipeline.process(Pipeline.java:79)[92:org.apache.camel.camel-core:2.8.5]
>       at
> org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:139)[92:org.apache.camel.camel-core:2.8.5]
> 
> Can someone provide me some insight? The biggest problem I am finding is to
> find the documentation and related known issues at one place. Any help will
> be appreciated.
> 
> Regards,
> Ravi
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Service-Mix-as-a-webservice-consumer-and-the-bugs-tp5715358.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to