Error in loading wsdl file
Hi,
I am facing the problem while loading the wsdl in soapui 5.1.3 version. As soon as I am loading it, it asks for NT authentications and I provide it credentials but it fails to load the wsdl. Pls. find the attached error logs and screenshot. Pls. help me on this.
Tue Jul 28 06:59:47 EDT 2015:ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:109)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:488)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:477)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:94)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:209)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
SoapUI Error Log:
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Getting wsdl component from [http://ebc-xxxxxx.webfarm-dev.ms.com/xxxxxx/GNL.svc?wsdl]
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Attempt 1 to execute request
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Sending request: GET /xxxxxx/GNL.svc?wsdl HTTP/1.1
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Receiving response: HTTP/1.1 401 Request for /xxxxxx/GNL.svc (mime type: application/octet-stream) requires authenticated user
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Connection can be kept alive indefinitely
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Target requested authentication
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Authorization challenge processed
Tue Jul 28 07:40:27 EDT 2015:DEBUG:Authentication scope: NEGOTIATE <any realm>@ebc-xxxxxx.webfarm-dev.ms.com:80
Tue Jul 28 07:40:27 EDT 2015:INFO:ebc-xxxxxx.webfarm-dev.ms.com:80 requires Windows authentication
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Found credentials
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Attempt 2 to execute request
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Sending request: GET /xxxxxx/GNL.svc?wsdl HTTP/1.1
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Receiving response: HTTP/1.1 401 Request for /xxxxxx/GNL.svc (mime type: application/octet-stream) requires authenticated user
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Connection can be kept alive indefinitely
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Target requested authentication
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Authorization challenge processed
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Authentication scope: NEGOTIATE <any realm>@ebc-xxxxxx.webfarm-dev.ms.com:80
Tue Jul 28 07:41:06 EDT 2015:DEBUG:Authentication failed
Tue Jul 28 07:41:06 EDT 2015:ERROR:Failed to load url [http://ebc-xxxxxx.webfarm-dev.ms.com/xxxxxx/GNL.svc?wsdl]
Tue Jul 28 07:41:06 EDT 2015:ERROR:An error occurred [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
Tue Jul 28 07:41:37 EDT 2015:DEBUG:Connection closed
Thanks,
jitendra
Problem is resolved by using kerborised authentications and white listing the service end point against the usename.