I have created a WS Client using the XFire generator and everything seems to have generated correctly. However, when I attempt to run the ListsClient, I receive the following stack trace:
Dec 17, 2008 3:22:06 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: ntlm authentication scheme selected
Dec 17, 2008 3:22:06 PM org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge
INFO: No credentials available for NTLM <any realm>@intranet2:80
Dec 17, 2008 3:22:06 PM org.codehaus.xfire.transport.http.HttpChannel sendViaClient
SEVERE: Server returned error code = 401 for URI : http://intranet2/sites/ISGovernance/ittopics/_vti_bin/Lists.asmx. Check server logs for details
Exception in thread “main” org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Server returned error code = 401 for URI :
Any clues?