[ERROR] Server returned HTTP response code: 401 for URL: http://myMachine/rep
rtExecution2005.asmx?wsdl" needs authorization, please provide authorization fil
e with read access at C:\Users\userid\.metro\auth or use -Xauthfile to give t
he authorization file and on each line provide authorization information using t
his format : http[s]://user:password@host:port//<url-path>
I created a directory C:\Temp
Under this i run the command for wsimport and at this location i have a file named authFile.txt which has the above content as mentioned.
I am providing the userid and passoword and other details as requested in the auth file but still it is giving auth error.
Is there a different location where i need to keep the authfile or any mistake I am doing.