Hello, I am trying to connect to an Exchange Web Service to retrieve e-mails and process them, using Apache Camel CXF.
Here's my (very coarse) code so far: from( "cxf://https://mymailserver.com/ews?" + "wsdlURL=https://mymailsever.com/ews/Services.wsdl&" + "serviceClass=com.mycompany.MyEndPoint&" + "serviceName=GetInboxRules").process(new MyWSProcessor()).to("log:foo"); When I run it, I get an "401" error from the server, which means that I need to authenticate. How do I do that? Should I pass "loginname" and "password" parameters in the cxf string? Furthermore, do I need a serviceClass? If so, can anyone provide a simple example of a service class? Last but not least, does anyone have sample code which shows how to process the data returned by any method (eg, GetInboxRules here) in MS Exchange's WSDL? Many thanks. Philroc -- View this message in context: http://camel.465427.n5.nabble.com/Connecting-to-MS-Exchanger-Service-using-CXF-tp5723701.html Sent from the Camel - Users mailing list archive at Nabble.com.