Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/SoapCore/SoapEndpointMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1124,14 +1124,14 @@ private async Task ProcessMetaFromFile(HttpContext httpContext, bool showDocumen
meta.CurrentWebService = mapping.UrlOverride;
}

meta.WSDLFolder = mapping.WSDLFolder;
meta.WSDLFolder = mapping.WSDLFolder ?? "";
meta.XsdFolder = mapping.SchemaFolder;
meta.ServerUrl = GetServerUrl(options, httpContext);

string wsdlfile = mapping.WsdlFile;

string path = options.AppPath;
string wsdl = await meta.ReadLocalFileAsync(path + Path.AltDirectorySeparatorChar + meta.WSDLFolder + Path.AltDirectorySeparatorChar + wsdlfile);
string path = options.AppPath ? "";
Comment thread
andersjonsson marked this conversation as resolved.
Outdated
string wsdl = await meta.ReadLocalFileAsync(Path.Combine(path, meta.WSDLFolder, wsdlfile));
string modifiedWsdl = meta.ModifyWSDLAddRightSchemaPath(wsdl);

if (showDocumentation)
Expand Down