Web service throwing java.io.IOException: Authentication failure-Collection of common programming errors

I am trying to consume a SOAP based web service. I have written consumer using CXF 2.5.7 API. Web service has a NTML authentication implemented. I am passing userid and password when invoking it. Code is working fine and I am able to see the response. Same code is also working on one of my college machine but it is throwing error on other colleague’s machine. It throws java.io.IOException: Authentication failure exception. Though we all are able to access WSDL on explorer. I am not sure where is the issue. Can someone guide me.

Could network settings be the issue? If yes what settings?

I have also exported code to a runnable jar file. Jar is executing on my machine but throwing same exception on his machine.

Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
    at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:149)
    at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:98)
    at javax.xml.ws.Service.(Unknown Source)
    at com.microsoft.schemas.sqlserver.reporting.reportingservices.ReportExecutionService.(ReportExecutionService.java:50)
    at com.microsoft.schemas.sqlserver.reporting.reportingservices.execution.TestPerformance.getData(TestPerformance.java:106)
    at com.microsoft.schemas.sqlserver.reporting.reportingservices.execution.TestPerformance.main(TestPerformance.java:190)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
    at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:100)
    at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:199)
    at org.apache.cxf.jaxws.ServiceImpl.(ServiceImpl.java:147)
    ... 5 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://IP_ADDRESS/ReportServer/ReportExecution2005.asmx?wsdl'.: java.io.IOException: Authentication failure
    at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2390)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2422)
    at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:262)
    at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:205)
    at org.apache.cxf.wsdl11.WSDLServiceFactory.(WSDLServiceFactory.java:98)
    ... 7 more
Caused by: java.io.IOException: Authentication failure
    at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at jcifs.http.NtlmHttpURLConnection.getInputStream(NtlmHttpURLConnection.java:242)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)
    ... 12 more
Caused by: java.io.IOException: Authentication failure
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
    at jcifs.http.NtlmHttpURLConnection.parseResponseCode(NtlmHttpURLConnection.java:424)
    at jcifs.http.NtlmHttpURLConnection.doHandshake(NtlmHttpURLConnection.java:436)
    at jcifs.http.NtlmHttpURLConnection.handshake(NtlmHttpURLConnection.java:103)
    at jcifs.http.NtlmHttpURLConnection.getInputStream(NtlmHttpURLConnection.java:240)
    ... 20 more

Thanks