camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhu_online1 <madhu741...@gmail.com>
Subject Re: Issues invoking external URL with Http Basic Auth
Date Mon, 30 Jun 2014 19:15:34 GMT
Finally got this to work by changing the way the REST web service was invoked
including the exposed URL itself:-

		
.setHeader(Exchange.HTTP_URI,simple("http://rq3l2hps1:9081/V5/ECM/Rest/content/filenet/ClaimsTargetOS/TempClaimCenterDocument/${in.header.docUID}/Count"))
			.toF("http://url?authMethod=Basic&authUsername=%s&authPassword=%s",
username, password)			


this took care of my authentication issues I was seeing as well as the
placeholder substitution issues. It's unfortunate that a query string cannot
be passed without running into the Auth issues I was seeing above.






--
View this message in context: http://camel.465427.n5.nabble.com/Issues-invoking-external-URL-with-Http-Basic-Auth-tp5753061p5753077.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message