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
Highlighted
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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
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:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Filtering data retrieved from a DataSource

See replies!

Get data from Petstore and add it to Excel sheets

Participate!