Forum Discussion

Buschfunk's avatar
Buschfunk
Frequent Contributor
13 years ago

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

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Robert,

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

    regards,

    /Ole
    SmartBear Software
  • Buschfunk's avatar
    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's avatar
    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
  • Buschfunk's avatar
    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