L
L
Light7772020-08-14 07:55:52
ASP.NET
Light777, 2020-08-14 07:55:52

How to generate xsd classes in c#?

I am writing a SOAP API in .net.
In my api I use another remote service.
When generating the wsdl of this remote service, xsd classes are generated along with the wsdl, so that I can automatically create classes from these xsds.
In my service, when wsdl is generated, only wsdl itself appears without xsd, although I have the classes themselves in the code.
How can I make my service return xsd classes when it is generated? Do I need to create xsd manually and then tie it up?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
yuopi, 2020-08-14
@yuopi

It is possible to generate classes by wsdl, xsd is not needed.
https://docs.microsoft.com/ru-ru/dotnet/api/system...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question