cancel
Showing results for 
Search instead for 
Did you mean: 

Error when loading protected wsdl file with authorization

Highlighted
Occasional Visitor

Error when loading protected wsdl file with authorization

Hi All,

 

I get this error logs when tried to load wsdl url, the wsdl url is the protected wsdl so the user need to insert authorization before viewing the xml code inside.

It's working in the browser but not in the SOAP UI. is there any steps i missed to test this url?

 

2018-12-21 16:44:29,835 ERROR [errorlog] 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:127)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:120)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:486)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:475)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:92)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:208)
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)

2 REPLIES 2
Community Manager

Re: Error when loading protected wsdl file with authorization

Hi Roo_21,

 

It's worth trying to play with the Authorization profiles in ReadyAPI. Please refer to this article for more information:

https://support.smartbear.com/readyapi/docs/projects/requests/auth/index.html

 

Community, any other suggestions here?

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓


Participate in the API Testing vs. UI Testing online community event to win great prizes!
Community Hero

Re: Error when loading protected wsdl file with authorization

Just an alternative if you can use.

Download the wsdl from browser locally and use it.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Join the Online Event to Win