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.

Reply via email to