Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only append schemaLocation when XsdFolder defined #882

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

haywoodIII
Copy link

Adding XSD's are optional, but the current behavior of the "Using with external WSDL / XSD schemas" feature will always append a schemaLocation to "importOrIncludeNode(s)," even when XSD's are explicitly omitted. The value produced for the schemaLocation attribute is then invalid and looks something like http://localhost:5000/Service.asmx?xsd&name= which is invalid.

This change proposes only appending schemaLocation when we know at least the schemaLocation directory has been defined by the client.

Otherwise, schemaLocations will be appended that do not actually exist.
@kotovaleksandr kotovaleksandr merged commit 4badf98 into DigDes:develop Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants