Ask a Question

Schema compliance assertion with local files

Buschfunk
Frequent Contributor

Schema compliance assertion with local files

Hello,

The current version of soapUI (Pro) offers an assertion called "Schema Compliance" which takes the URL of the WSDL to be validated against. However it would be useful to also have the possibility checking against a local WSDL in the file system.

This way it would be possible to check if the webservice implementation actually complies with the specified WSDL.

Sincerely,
Robert
5 REPLIES 5
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi Robert,

have you tried specifying a file url here, ie "file:<path to file>"

regards,

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Buschfunk
Frequent Contributor

Yes, I have tried that. The WSDL is loaded but it seems as if the XSD cannot be loaded, i.e. the schema validation fails. The WSDL contains an import statement for the XSD. When giving the URL to the WSDL like http://[....]?wsdl the schema validation is successful.
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi,

ok.. hm... is the xsd import relative or absolute?

Could you share the WSDL and the XSD so we can have a look why this is not working?

regards,

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Buschfunk
Frequent Contributor

The import is relative. I'm sorry but I cannot post the interface definition here in the forum as it contains some internals. However maybe you have some PGP address or else where I can send a modified version to?

Cheers,
Robert
SmartBear_Suppo
SmartBear Alumni (Retired)

Hi Robert,

yes - you could mail them to smartbear-sweden-support@smartbear.com and we'll answer from there..

regards!

/Ole
SmartBear Software

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: