Skip to content

Commit

Permalink
Merge pull request #1023 from vidrenning/xsdimport
Browse files Browse the repository at this point in the history
XmlSerializer: Remove empty <xsd:import /> tag in generated WSDL
  • Loading branch information
andersjonsson committed Feb 26, 2024
2 parents 21c35c2 + 526298d commit a3ca9fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/SoapCore/Meta/MetaBodyWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ private void AddTypes(XmlDictionaryWriter writer)
writer.WriteAttributeString("elementFormDefault", "qualified");
writer.WriteAttributeString("targetNamespace", TargetNameSpace);

writer.WriteStartElement("import", Namespaces.XMLNS_XSD);
writer.WriteEndElement();

foreach (var operation in _service.Operations)
{
bool hasWrittenOutParameters = false;
Expand Down

0 comments on commit a3ca9fd

Please sign in to comment.