Hi

What versions of SMX and Camel are you using?


On Tue, Mar 30, 2010 at 9:28 PM, jav4what <[email protected]> wrote:
>
> Perhaps I'm just too new to everything here, but I haven't found a working
> example of anything to help me out with this issue.
>
> I have a web service deployed at, say,
> http://myip:8080/WebService/services/WSImpl
>
> I want to expose the service through ServiceMix using Camel.
>
> I initially saw a sample that said something as simple as this would work:
> from("jetty:http://0.0.0.0:8081/MyNewService";).to("http://myip:8080/WebService/services/WSImpl";);
>
> With that route configured in a Camel service unit, I keep getting these
> errors:
>
> NoTypeConversionAvailableException: No type converter available to convert
> from type: class org.apache.camel.impl.DefaultMessage to the required type:
> org.apache.commons.httpclient.methods.RequestEntity
>
> I've searched far and wide for a way to convert the body using
> .convertBodyTo(...) between the from and to methods, but I haven't found
> anything that works (it seems that all my efforts just result in a failed
> conversion, so a http request is being sent with no soap body)
> --
> View this message in context: 
> http://old.nabble.com/Proxying-a-very-simple-web-service-tp28087296p28087296.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to