How to use command-line tools for XSD, WSDL generation C # classes

Source: Internet
Author: User
Tags wsdl

1.xsd generating C # class commands

Example: XSD <xsd file path >/c/o:< generate CS file directory > < other parameters >

Parameter description:

/c is generated as CS file,/D generates a dataset (only one type of generated file, either use/C, or/d, and required)

/o Generate file directory (non-file path)

< other parameters > If you have introduced additional XSD in the XSD, you need to add all the file paths of the associated XSD that are introduced , each file path separated by a space

2.WSDL generating C # class commands

Example: WSDL <wsdl file path > /si /o:< Generate cs file path > < other parameters >

Parameter description

/SI generates an interface for a service that generates an interface for each binding in the WSDL document

/o path to the generated file

< other parameters > If you have introduced additional XSD files in the WSDL, you need to add all the associated XSD file paths that are introduced, each file path separated by a space

How to use command-line tools for XSD, WSDL generation C # classes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.