I am new to servicemix. I've created a http-provider su to talk to a sharepoint server. The sharepoint server uses basic auth. Is there something wrong with the xbean definition below? The basic auth doesn't seem to work. Please help.
xbean.xml: <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:mys="http://servicemix.apache.org/mys"> <http:endpoint service="mys:MyService" endpoint="soap" role="provider" locationURI="http://localhost:5555/MyService/usergroup.asmx" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true" soapAction="http://schemas.microsoft.com/sharepoint/soap/directory/GetGroupInfo"> <http:basicAuthentication> <http:basicAuthCredentials username="username" password="password" /> </http:basicAuthentication> </http:endpoint> </beans> Exception in servicemix.log: 16:04:51,911 | ERROR | pool-flow.seda.servicemix-http-thread-4 | HttpMethodDirector | .httpclient.HttpMethodDirector 235 | Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:331) Response in TCPMon: 401 UNAUTHORIZEDHTTP/1.1 401 Unauthorized Date: Wed, 26 Aug 2009 06:23:03 GMT Server: Microsoft-IIS/6.0 WWW-Authenticate: NTLM WWW-Authenticate: Basic realm="localhost" X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12.0.0.6039 X-AspNet-Version: 2.0.50727 Cache-Control: private, max-age=0 Content-Length: 16 -- View this message in context: http://www.nabble.com/basic-authentication-of-http-provider-tp25147640p25147640.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
