Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3944664
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:55:39+00:00 2026-05-20T00:55:39+00:00

Seriously I’m confused. I have an .XSD that is made from a class so

  • 0

Seriously I’m confused. I have an .XSD that is made from a class so that I can pass to a webservice. It got it over to the webservice as an XMLSchema object and now I need to make it into a class so that I can make objects out of it on the webservice side. I know that XSD.exe is the answer but I’ll be darned if I can puzzle out exactly how to implement this thing. I need it to do this conversion at run time so I need to put the code for it into my project and all the references I’ve seen to using XSD.exe talk about calling it from the command line. My .XSD is below.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="Field">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Name" type="xs:string" />
        <xs:element name="Type" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

In my project this is living in an XMLSchema object. How do I turn it into a class?

-Thank You so much for any help you can give.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T00:55:39+00:00Added an answer on May 20, 2026 at 12:55 am

    If you’re doing webservices in .NET, you do not need to resort to fiddling with XSD.

    There is a wsdl.exe tool if you use the 1st gen webservices stack from .NET, aka .ASMX webservices. There is the svcutil.exe tool that you would use if you are relying on WCF.

    Those things generate client-side proxy code, which provide classes that allow webservices clients to invoke web services. Implicitly they rely on XSD, but you do not need to use the xsd.exe tool directly, nor do you need to deal directly with .xsd files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a small problem (and it's probably seriously nothing). I have a small
I'm seriously confused about the concept of the 'Model' in MVC. Most frameworks that
I have a project that I have recently started working on seriously but had
I'm seriously stuck here with something obvious. I have an application that communicates with
I have been seriously disappointed with WPF validation system. Anyway! How can I validate
i am seriously struggling to get my head around regex. I have a sring
I'm working on catching a seriously insidious bug that's happening in my code. The
I'm new to python, and seriously need help! I have a number of errors
So basically, I've run into this problem enough times that it is seriously frustrating
I'm building an application that is seriously slower than it should be (a process

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.