camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhonny <writedeshm...@live.com>
Subject How to acess data from Rest WebService
Date Tue, 08 Oct 2013 12:16:31 GMT
Hi,

i had a Rest web Service hosted some where. whose url i need to hit
(method=get), which then asked me the login id and password and after
authenticated it give the response which has data.
so this is my from/start point

so i had tried the below option, but it didn't work and throw
"org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint"due to: No component found with scheme: http


the approach i tried to create from/ start point using spring DSL is as
follow

 <from
uri="http://userName@//ResultService.ugcollege.com/ugdata/3210?password=userPass"
id="httpResultReq" />

is this right way to do ? or am doing something big mistake ? can somebody
help me on this






--
View this message in context: http://camel.465427.n5.nabble.com/How-to-acess-data-from-Rest-WebService-tp5741130.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message